role_client

package
v1.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetRolesDescriptor

type BatchGetRolesDescriptor struct{}

func GetBatchGetRolesDescriptor

func GetBatchGetRolesDescriptor() *BatchGetRolesDescriptor

func (*BatchGetRolesDescriptor) GetApiDescriptor

func (d *BatchGetRolesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*BatchGetRolesDescriptor) GetApiName

func (d *BatchGetRolesDescriptor) GetApiName() string

func (*BatchGetRolesDescriptor) GetClientMsgReflectHandle

func (d *BatchGetRolesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*BatchGetRolesDescriptor) GetFullMethodName

func (d *BatchGetRolesDescriptor) GetFullMethodName() string

func (*BatchGetRolesDescriptor) GetMethodName

func (d *BatchGetRolesDescriptor) GetMethodName() string

func (*BatchGetRolesDescriptor) GetProtoPkgName

func (d *BatchGetRolesDescriptor) GetProtoPkgName() string

func (*BatchGetRolesDescriptor) GetResourceDescriptor

func (d *BatchGetRolesDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*BatchGetRolesDescriptor) GetServerMsgReflectHandle

func (d *BatchGetRolesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*BatchGetRolesDescriptor) GetServiceDomain

func (d *BatchGetRolesDescriptor) GetServiceDomain() string

func (*BatchGetRolesDescriptor) GetServiceVersion

func (d *BatchGetRolesDescriptor) GetServiceVersion() string

func (*BatchGetRolesDescriptor) GetVerb

func (d *BatchGetRolesDescriptor) GetVerb() string

func (*BatchGetRolesDescriptor) HasResource

func (d *BatchGetRolesDescriptor) HasResource() bool

func (*BatchGetRolesDescriptor) IsClientStream

func (d *BatchGetRolesDescriptor) IsClientStream() bool

func (*BatchGetRolesDescriptor) IsCollection

func (d *BatchGetRolesDescriptor) IsCollection() bool

func (*BatchGetRolesDescriptor) IsPlural

func (d *BatchGetRolesDescriptor) IsPlural() bool

func (*BatchGetRolesDescriptor) IsServerStream

func (d *BatchGetRolesDescriptor) IsServerStream() bool

func (*BatchGetRolesDescriptor) IsUnary

func (d *BatchGetRolesDescriptor) IsUnary() bool

func (*BatchGetRolesDescriptor) NewEmptyClientMsg

func (d *BatchGetRolesDescriptor) NewEmptyClientMsg() proto.Message

func (*BatchGetRolesDescriptor) NewEmptyServerMsg

func (d *BatchGetRolesDescriptor) NewEmptyServerMsg() proto.Message

func (*BatchGetRolesDescriptor) RequestHasResourceBody

func (d *BatchGetRolesDescriptor) RequestHasResourceBody() bool

type BatchGetRolesDescriptorClientMsgHandle

type BatchGetRolesDescriptorClientMsgHandle struct{}

func (*BatchGetRolesDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetRolesDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetRolesDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetRolesDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetRolesDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetRolesDescriptorServerMsgHandle

type BatchGetRolesDescriptorServerMsgHandle struct{}

func (*BatchGetRolesDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetRolesDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetRolesDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetRolesDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetRolesDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetRolesRequest

type BatchGetRolesRequest struct {

	// Names of Roles
	Names []*role.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty" firestore:"names"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *role.Role_FieldMask `` /* 136-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the BatchGetRoles method.

func (*BatchGetRolesRequest) Descriptor

func (*BatchGetRolesRequest) Descriptor() ([]byte, []int)

Deprecated, Use BatchGetRolesRequest.ProtoReflect.Descriptor instead.

func (*BatchGetRolesRequest) GetFieldMask

func (m *BatchGetRolesRequest) GetFieldMask() *role.Role_FieldMask

func (*BatchGetRolesRequest) GetNames

func (m *BatchGetRolesRequest) GetNames() []*role.Name

func (*BatchGetRolesRequest) GetView

func (m *BatchGetRolesRequest) GetView() view.View

func (*BatchGetRolesRequest) GotenMessage

func (*BatchGetRolesRequest) GotenMessage()

func (*BatchGetRolesRequest) GotenValidate

func (obj *BatchGetRolesRequest) GotenValidate() error

func (*BatchGetRolesRequest) Marshal

func (m *BatchGetRolesRequest) Marshal() ([]byte, error)

func (*BatchGetRolesRequest) MarshalJSON

func (m *BatchGetRolesRequest) MarshalJSON() ([]byte, error)

func (*BatchGetRolesRequest) ProtoMessage

func (*BatchGetRolesRequest) ProtoMessage()

func (*BatchGetRolesRequest) ProtoReflect

func (m *BatchGetRolesRequest) ProtoReflect() preflect.Message

func (*BatchGetRolesRequest) Reset

func (m *BatchGetRolesRequest) Reset()

func (*BatchGetRolesRequest) SetFieldMask

func (m *BatchGetRolesRequest) SetFieldMask(fv *role.Role_FieldMask)

func (*BatchGetRolesRequest) SetNames

func (m *BatchGetRolesRequest) SetNames(fv []*role.Name)

func (*BatchGetRolesRequest) SetView

func (m *BatchGetRolesRequest) SetView(fv view.View)

func (*BatchGetRolesRequest) String

func (m *BatchGetRolesRequest) String() string

func (*BatchGetRolesRequest) Unmarshal

func (m *BatchGetRolesRequest) Unmarshal(b []byte) error

func (*BatchGetRolesRequest) UnmarshalJSON

func (m *BatchGetRolesRequest) UnmarshalJSON(data []byte) error

type BatchGetRolesResponse

type BatchGetRolesResponse struct {

	// found Roles
	Roles []*role.Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty" firestore:"roles"`
	// list of not found Roles
	Missing []*role.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty" firestore:"missing"`
	// contains filtered or unexported fields
}

A response message of the BatchGetRoles method.

func (*BatchGetRolesResponse) Descriptor

func (*BatchGetRolesResponse) Descriptor() ([]byte, []int)

Deprecated, Use BatchGetRolesResponse.ProtoReflect.Descriptor instead.

func (*BatchGetRolesResponse) GetMissing

func (m *BatchGetRolesResponse) GetMissing() []*role.Name

func (*BatchGetRolesResponse) GetRoles

func (m *BatchGetRolesResponse) GetRoles() []*role.Role

func (*BatchGetRolesResponse) GotenMessage

func (*BatchGetRolesResponse) GotenMessage()

func (*BatchGetRolesResponse) GotenValidate

func (obj *BatchGetRolesResponse) GotenValidate() error

func (*BatchGetRolesResponse) Marshal

func (m *BatchGetRolesResponse) Marshal() ([]byte, error)

func (*BatchGetRolesResponse) MarshalJSON

func (m *BatchGetRolesResponse) MarshalJSON() ([]byte, error)

func (*BatchGetRolesResponse) ProtoMessage

func (*BatchGetRolesResponse) ProtoMessage()

func (*BatchGetRolesResponse) ProtoReflect

func (m *BatchGetRolesResponse) ProtoReflect() preflect.Message

func (*BatchGetRolesResponse) Reset

func (m *BatchGetRolesResponse) Reset()

func (*BatchGetRolesResponse) SetMissing

func (m *BatchGetRolesResponse) SetMissing(fv []*role.Name)

func (*BatchGetRolesResponse) SetRoles

func (m *BatchGetRolesResponse) SetRoles(fv []*role.Role)

func (*BatchGetRolesResponse) String

func (m *BatchGetRolesResponse) String() string

func (*BatchGetRolesResponse) Unmarshal

func (m *BatchGetRolesResponse) Unmarshal(b []byte) error

func (*BatchGetRolesResponse) UnmarshalJSON

func (m *BatchGetRolesResponse) UnmarshalJSON(data []byte) error

type CreateRoleDescriptor

type CreateRoleDescriptor struct{}

func GetCreateRoleDescriptor

func GetCreateRoleDescriptor() *CreateRoleDescriptor

func (*CreateRoleDescriptor) GetApiDescriptor

func (d *CreateRoleDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*CreateRoleDescriptor) GetApiName

func (d *CreateRoleDescriptor) GetApiName() string

func (*CreateRoleDescriptor) GetClientMsgReflectHandle

func (d *CreateRoleDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*CreateRoleDescriptor) GetFullMethodName

func (d *CreateRoleDescriptor) GetFullMethodName() string

func (*CreateRoleDescriptor) GetMethodName

func (d *CreateRoleDescriptor) GetMethodName() string

func (*CreateRoleDescriptor) GetProtoPkgName

func (d *CreateRoleDescriptor) GetProtoPkgName() string

func (*CreateRoleDescriptor) GetResourceDescriptor

func (d *CreateRoleDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*CreateRoleDescriptor) GetServerMsgReflectHandle

func (d *CreateRoleDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*CreateRoleDescriptor) GetServiceDomain

func (d *CreateRoleDescriptor) GetServiceDomain() string

func (*CreateRoleDescriptor) GetServiceVersion

func (d *CreateRoleDescriptor) GetServiceVersion() string

func (*CreateRoleDescriptor) GetVerb

func (d *CreateRoleDescriptor) GetVerb() string

func (*CreateRoleDescriptor) HasResource

func (d *CreateRoleDescriptor) HasResource() bool

func (*CreateRoleDescriptor) IsClientStream

func (d *CreateRoleDescriptor) IsClientStream() bool

func (*CreateRoleDescriptor) IsCollection

func (d *CreateRoleDescriptor) IsCollection() bool

func (*CreateRoleDescriptor) IsPlural

func (d *CreateRoleDescriptor) IsPlural() bool

func (*CreateRoleDescriptor) IsServerStream

func (d *CreateRoleDescriptor) IsServerStream() bool

func (*CreateRoleDescriptor) IsUnary

func (d *CreateRoleDescriptor) IsUnary() bool

func (*CreateRoleDescriptor) NewEmptyClientMsg

func (d *CreateRoleDescriptor) NewEmptyClientMsg() proto.Message

func (*CreateRoleDescriptor) NewEmptyServerMsg

func (d *CreateRoleDescriptor) NewEmptyServerMsg() proto.Message

func (*CreateRoleDescriptor) RequestHasResourceBody

func (d *CreateRoleDescriptor) RequestHasResourceBody() bool

type CreateRoleDescriptorClientMsgHandle

type CreateRoleDescriptorClientMsgHandle struct{}

func (*CreateRoleDescriptorClientMsgHandle) ExtractCollectionName

func (h *CreateRoleDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*CreateRoleDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateRoleDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateRoleDescriptorClientMsgHandle) ExtractResourceName

func (*CreateRoleDescriptorClientMsgHandle) ExtractResourceNames

type CreateRoleDescriptorServerMsgHandle

type CreateRoleDescriptorServerMsgHandle struct{}

func (*CreateRoleDescriptorServerMsgHandle) ExtractCollectionName

func (h *CreateRoleDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*CreateRoleDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateRoleDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateRoleDescriptorServerMsgHandle) ExtractResourceName

func (*CreateRoleDescriptorServerMsgHandle) ExtractResourceNames

type CreateRoleRequest

type CreateRoleRequest struct {

	// Parent name of ntt.iam.v1.Role
	Parent *role.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Role resource body
	Role *role.Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty" firestore:"role"`
	// contains filtered or unexported fields
}

A request message of the CreateRole method.

func (*CreateRoleRequest) Descriptor

func (*CreateRoleRequest) Descriptor() ([]byte, []int)

Deprecated, Use CreateRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleRequest) GetParent

func (m *CreateRoleRequest) GetParent() *role.ParentName

func (*CreateRoleRequest) GetRole

func (m *CreateRoleRequest) GetRole() *role.Role

func (*CreateRoleRequest) GotenMessage

func (*CreateRoleRequest) GotenMessage()

func (*CreateRoleRequest) GotenValidate

func (obj *CreateRoleRequest) GotenValidate() error

func (*CreateRoleRequest) Marshal

func (m *CreateRoleRequest) Marshal() ([]byte, error)

func (*CreateRoleRequest) MarshalJSON

func (m *CreateRoleRequest) MarshalJSON() ([]byte, error)

func (*CreateRoleRequest) ProtoMessage

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) ProtoReflect

func (m *CreateRoleRequest) ProtoReflect() preflect.Message

func (*CreateRoleRequest) Reset

func (m *CreateRoleRequest) Reset()

func (*CreateRoleRequest) SetParent

func (m *CreateRoleRequest) SetParent(fv *role.ParentName)

func (*CreateRoleRequest) SetRole

func (m *CreateRoleRequest) SetRole(fv *role.Role)

func (*CreateRoleRequest) String

func (m *CreateRoleRequest) String() string

func (*CreateRoleRequest) Unmarshal

func (m *CreateRoleRequest) Unmarshal(b []byte) error

func (*CreateRoleRequest) UnmarshalJSON

func (m *CreateRoleRequest) UnmarshalJSON(data []byte) error

type DeleteRoleDescriptor

type DeleteRoleDescriptor struct{}

func GetDeleteRoleDescriptor

func GetDeleteRoleDescriptor() *DeleteRoleDescriptor

func (*DeleteRoleDescriptor) GetApiDescriptor

func (d *DeleteRoleDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*DeleteRoleDescriptor) GetApiName

func (d *DeleteRoleDescriptor) GetApiName() string

func (*DeleteRoleDescriptor) GetClientMsgReflectHandle

func (d *DeleteRoleDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*DeleteRoleDescriptor) GetFullMethodName

func (d *DeleteRoleDescriptor) GetFullMethodName() string

func (*DeleteRoleDescriptor) GetMethodName

func (d *DeleteRoleDescriptor) GetMethodName() string

func (*DeleteRoleDescriptor) GetProtoPkgName

func (d *DeleteRoleDescriptor) GetProtoPkgName() string

func (*DeleteRoleDescriptor) GetResourceDescriptor

func (d *DeleteRoleDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*DeleteRoleDescriptor) GetServerMsgReflectHandle

func (d *DeleteRoleDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*DeleteRoleDescriptor) GetServiceDomain

func (d *DeleteRoleDescriptor) GetServiceDomain() string

func (*DeleteRoleDescriptor) GetServiceVersion

func (d *DeleteRoleDescriptor) GetServiceVersion() string

func (*DeleteRoleDescriptor) GetVerb

func (d *DeleteRoleDescriptor) GetVerb() string

func (*DeleteRoleDescriptor) HasResource

func (d *DeleteRoleDescriptor) HasResource() bool

func (*DeleteRoleDescriptor) IsClientStream

func (d *DeleteRoleDescriptor) IsClientStream() bool

func (*DeleteRoleDescriptor) IsCollection

func (d *DeleteRoleDescriptor) IsCollection() bool

func (*DeleteRoleDescriptor) IsPlural

func (d *DeleteRoleDescriptor) IsPlural() bool

func (*DeleteRoleDescriptor) IsServerStream

func (d *DeleteRoleDescriptor) IsServerStream() bool

func (*DeleteRoleDescriptor) IsUnary

func (d *DeleteRoleDescriptor) IsUnary() bool

func (*DeleteRoleDescriptor) NewEmptyClientMsg

func (d *DeleteRoleDescriptor) NewEmptyClientMsg() proto.Message

func (*DeleteRoleDescriptor) NewEmptyServerMsg

func (d *DeleteRoleDescriptor) NewEmptyServerMsg() proto.Message

func (*DeleteRoleDescriptor) RequestHasResourceBody

func (d *DeleteRoleDescriptor) RequestHasResourceBody() bool

type DeleteRoleDescriptorClientMsgHandle

type DeleteRoleDescriptorClientMsgHandle struct{}

func (*DeleteRoleDescriptorClientMsgHandle) ExtractCollectionName

func (h *DeleteRoleDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*DeleteRoleDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteRoleDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteRoleDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteRoleDescriptorClientMsgHandle) ExtractResourceNames

type DeleteRoleDescriptorServerMsgHandle

type DeleteRoleDescriptorServerMsgHandle struct{}

func (*DeleteRoleDescriptorServerMsgHandle) ExtractCollectionName

func (h *DeleteRoleDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*DeleteRoleDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteRoleDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteRoleDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteRoleDescriptorServerMsgHandle) ExtractResourceNames

type DeleteRoleRequest

type DeleteRoleRequest struct {

	// Name of ntt.iam.v1.Role
	Name *role.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

A request message of the DeleteRole method.

func (*DeleteRoleRequest) Descriptor

func (*DeleteRoleRequest) Descriptor() ([]byte, []int)

Deprecated, Use DeleteRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleRequest) GetName

func (m *DeleteRoleRequest) GetName() *role.Name

func (*DeleteRoleRequest) GotenMessage

func (*DeleteRoleRequest) GotenMessage()

func (*DeleteRoleRequest) GotenValidate

func (obj *DeleteRoleRequest) GotenValidate() error

func (*DeleteRoleRequest) Marshal

func (m *DeleteRoleRequest) Marshal() ([]byte, error)

func (*DeleteRoleRequest) MarshalJSON

func (m *DeleteRoleRequest) MarshalJSON() ([]byte, error)

func (*DeleteRoleRequest) ProtoMessage

func (*DeleteRoleRequest) ProtoMessage()

func (*DeleteRoleRequest) ProtoReflect

func (m *DeleteRoleRequest) ProtoReflect() preflect.Message

func (*DeleteRoleRequest) Reset

func (m *DeleteRoleRequest) Reset()

func (*DeleteRoleRequest) SetName

func (m *DeleteRoleRequest) SetName(fv *role.Name)

func (*DeleteRoleRequest) String

func (m *DeleteRoleRequest) String() string

func (*DeleteRoleRequest) Unmarshal

func (m *DeleteRoleRequest) Unmarshal(b []byte) error

func (*DeleteRoleRequest) UnmarshalJSON

func (m *DeleteRoleRequest) UnmarshalJSON(data []byte) error

type GetRoleDescriptor

type GetRoleDescriptor struct{}

func GetGetRoleDescriptor

func GetGetRoleDescriptor() *GetRoleDescriptor

func (*GetRoleDescriptor) GetApiDescriptor

func (d *GetRoleDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*GetRoleDescriptor) GetApiName

func (d *GetRoleDescriptor) GetApiName() string

func (*GetRoleDescriptor) GetClientMsgReflectHandle

func (d *GetRoleDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetRoleDescriptor) GetFullMethodName

func (d *GetRoleDescriptor) GetFullMethodName() string

func (*GetRoleDescriptor) GetMethodName

func (d *GetRoleDescriptor) GetMethodName() string

func (*GetRoleDescriptor) GetProtoPkgName

func (d *GetRoleDescriptor) GetProtoPkgName() string

func (*GetRoleDescriptor) GetResourceDescriptor

func (d *GetRoleDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*GetRoleDescriptor) GetServerMsgReflectHandle

func (d *GetRoleDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetRoleDescriptor) GetServiceDomain

func (d *GetRoleDescriptor) GetServiceDomain() string

func (*GetRoleDescriptor) GetServiceVersion

func (d *GetRoleDescriptor) GetServiceVersion() string

func (*GetRoleDescriptor) GetVerb

func (d *GetRoleDescriptor) GetVerb() string

func (*GetRoleDescriptor) HasResource

func (d *GetRoleDescriptor) HasResource() bool

func (*GetRoleDescriptor) IsClientStream

func (d *GetRoleDescriptor) IsClientStream() bool

func (*GetRoleDescriptor) IsCollection

func (d *GetRoleDescriptor) IsCollection() bool

func (*GetRoleDescriptor) IsPlural

func (d *GetRoleDescriptor) IsPlural() bool

func (*GetRoleDescriptor) IsServerStream

func (d *GetRoleDescriptor) IsServerStream() bool

func (*GetRoleDescriptor) IsUnary

func (d *GetRoleDescriptor) IsUnary() bool

func (*GetRoleDescriptor) NewEmptyClientMsg

func (d *GetRoleDescriptor) NewEmptyClientMsg() proto.Message

func (*GetRoleDescriptor) NewEmptyServerMsg

func (d *GetRoleDescriptor) NewEmptyServerMsg() proto.Message

func (*GetRoleDescriptor) RequestHasResourceBody

func (d *GetRoleDescriptor) RequestHasResourceBody() bool

type GetRoleDescriptorClientMsgHandle

type GetRoleDescriptorClientMsgHandle struct{}

func (*GetRoleDescriptorClientMsgHandle) ExtractCollectionName

func (h *GetRoleDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*GetRoleDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetRoleDescriptorClientMsgHandle) ExtractResourceBody

func (*GetRoleDescriptorClientMsgHandle) ExtractResourceName

func (h *GetRoleDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name

func (*GetRoleDescriptorClientMsgHandle) ExtractResourceNames

type GetRoleDescriptorServerMsgHandle

type GetRoleDescriptorServerMsgHandle struct{}

func (*GetRoleDescriptorServerMsgHandle) ExtractCollectionName

func (h *GetRoleDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*GetRoleDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetRoleDescriptorServerMsgHandle) ExtractResourceBody

func (*GetRoleDescriptorServerMsgHandle) ExtractResourceName

func (h *GetRoleDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name

func (*GetRoleDescriptorServerMsgHandle) ExtractResourceNames

type GetRoleRequest

type GetRoleRequest struct {

	// Name of ntt.iam.v1.Role
	Name *role.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *role.Role_FieldMask `` /* 136-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the GetRole method.

func (*GetRoleRequest) Descriptor

func (*GetRoleRequest) Descriptor() ([]byte, []int)

Deprecated, Use GetRoleRequest.ProtoReflect.Descriptor instead.

func (*GetRoleRequest) GetFieldMask

func (m *GetRoleRequest) GetFieldMask() *role.Role_FieldMask

func (*GetRoleRequest) GetName

func (m *GetRoleRequest) GetName() *role.Name

func (*GetRoleRequest) GetView

func (m *GetRoleRequest) GetView() view.View

func (*GetRoleRequest) GotenMessage

func (*GetRoleRequest) GotenMessage()

func (*GetRoleRequest) GotenValidate

func (obj *GetRoleRequest) GotenValidate() error

func (*GetRoleRequest) Marshal

func (m *GetRoleRequest) Marshal() ([]byte, error)

func (*GetRoleRequest) MarshalJSON

func (m *GetRoleRequest) MarshalJSON() ([]byte, error)

func (*GetRoleRequest) ProtoMessage

func (*GetRoleRequest) ProtoMessage()

func (*GetRoleRequest) ProtoReflect

func (m *GetRoleRequest) ProtoReflect() preflect.Message

func (*GetRoleRequest) Reset

func (m *GetRoleRequest) Reset()

func (*GetRoleRequest) SetFieldMask

func (m *GetRoleRequest) SetFieldMask(fv *role.Role_FieldMask)

func (*GetRoleRequest) SetName

func (m *GetRoleRequest) SetName(fv *role.Name)

func (*GetRoleRequest) SetView

func (m *GetRoleRequest) SetView(fv view.View)

func (*GetRoleRequest) String

func (m *GetRoleRequest) String() string

func (*GetRoleRequest) Unmarshal

func (m *GetRoleRequest) Unmarshal(b []byte) error

func (*GetRoleRequest) UnmarshalJSON

func (m *GetRoleRequest) UnmarshalJSON(data []byte) error

type ListRolesDescriptor

type ListRolesDescriptor struct{}

func GetListRolesDescriptor

func GetListRolesDescriptor() *ListRolesDescriptor

func (*ListRolesDescriptor) GetApiDescriptor

func (d *ListRolesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*ListRolesDescriptor) GetApiName

func (d *ListRolesDescriptor) GetApiName() string

func (*ListRolesDescriptor) GetClientMsgReflectHandle

func (d *ListRolesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListRolesDescriptor) GetFullMethodName

func (d *ListRolesDescriptor) GetFullMethodName() string

func (*ListRolesDescriptor) GetMethodName

func (d *ListRolesDescriptor) GetMethodName() string

func (*ListRolesDescriptor) GetProtoPkgName

func (d *ListRolesDescriptor) GetProtoPkgName() string

func (*ListRolesDescriptor) GetResourceDescriptor

func (d *ListRolesDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*ListRolesDescriptor) GetServerMsgReflectHandle

func (d *ListRolesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListRolesDescriptor) GetServiceDomain

func (d *ListRolesDescriptor) GetServiceDomain() string

func (*ListRolesDescriptor) GetServiceVersion

func (d *ListRolesDescriptor) GetServiceVersion() string

func (*ListRolesDescriptor) GetVerb

func (d *ListRolesDescriptor) GetVerb() string

func (*ListRolesDescriptor) HasResource

func (d *ListRolesDescriptor) HasResource() bool

func (*ListRolesDescriptor) IsClientStream

func (d *ListRolesDescriptor) IsClientStream() bool

func (*ListRolesDescriptor) IsCollection

func (d *ListRolesDescriptor) IsCollection() bool

func (*ListRolesDescriptor) IsPlural

func (d *ListRolesDescriptor) IsPlural() bool

func (*ListRolesDescriptor) IsServerStream

func (d *ListRolesDescriptor) IsServerStream() bool

func (*ListRolesDescriptor) IsUnary

func (d *ListRolesDescriptor) IsUnary() bool

func (*ListRolesDescriptor) NewEmptyClientMsg

func (d *ListRolesDescriptor) NewEmptyClientMsg() proto.Message

func (*ListRolesDescriptor) NewEmptyServerMsg

func (d *ListRolesDescriptor) NewEmptyServerMsg() proto.Message

func (*ListRolesDescriptor) RequestHasResourceBody

func (d *ListRolesDescriptor) RequestHasResourceBody() bool

type ListRolesDescriptorClientMsgHandle

type ListRolesDescriptorClientMsgHandle struct{}

func (*ListRolesDescriptorClientMsgHandle) ExtractCollectionName

func (h *ListRolesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*ListRolesDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListRolesDescriptorClientMsgHandle) ExtractResourceBody

func (*ListRolesDescriptorClientMsgHandle) ExtractResourceName

func (*ListRolesDescriptorClientMsgHandle) ExtractResourceNames

type ListRolesDescriptorServerMsgHandle

type ListRolesDescriptorServerMsgHandle struct{}

func (*ListRolesDescriptorServerMsgHandle) ExtractCollectionName

func (h *ListRolesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*ListRolesDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListRolesDescriptorServerMsgHandle) ExtractResourceBody

func (*ListRolesDescriptorServerMsgHandle) ExtractResourceName

func (*ListRolesDescriptorServerMsgHandle) ExtractResourceNames

type ListRolesRequest

type ListRolesRequest struct {

	// Parent name of ntt.iam.v1.Role
	Parent *role.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Roles than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// ListRolesResponse.next_page_token.
	PageToken *role.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination list
	// of field path with order directive, either 'asc' or 'desc'. If direction is
	// not provided, 'asc' is assumed. e.g. "state.nested_field asc,
	// state.something.else desc, theme"
	OrderBy *role.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *role.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *role.Role_FieldMask `` /* 136-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Indicates if list response should contain total count and offset (fields
	// current_offset and total_results_count).
	IncludePagingInfo bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

A request message of the ListRoles method.

func (*ListRolesRequest) Descriptor

func (*ListRolesRequest) Descriptor() ([]byte, []int)

Deprecated, Use ListRolesRequest.ProtoReflect.Descriptor instead.

func (*ListRolesRequest) GetFieldMask

func (m *ListRolesRequest) GetFieldMask() *role.Role_FieldMask

func (*ListRolesRequest) GetFilter

func (m *ListRolesRequest) GetFilter() *role.Filter

func (*ListRolesRequest) GetIncludePagingInfo

func (m *ListRolesRequest) GetIncludePagingInfo() bool

func (*ListRolesRequest) GetOrderBy

func (m *ListRolesRequest) GetOrderBy() *role.OrderBy

func (*ListRolesRequest) GetPageSize

func (m *ListRolesRequest) GetPageSize() int32

func (*ListRolesRequest) GetPageToken

func (m *ListRolesRequest) GetPageToken() *role.PagerCursor

func (*ListRolesRequest) GetParent

func (m *ListRolesRequest) GetParent() *role.ParentName

func (*ListRolesRequest) GetView

func (m *ListRolesRequest) GetView() view.View

func (*ListRolesRequest) GotenMessage

func (*ListRolesRequest) GotenMessage()

func (*ListRolesRequest) GotenValidate

func (obj *ListRolesRequest) GotenValidate() error

func (*ListRolesRequest) Marshal

func (m *ListRolesRequest) Marshal() ([]byte, error)

func (*ListRolesRequest) MarshalJSON

func (m *ListRolesRequest) MarshalJSON() ([]byte, error)

func (*ListRolesRequest) ProtoMessage

func (*ListRolesRequest) ProtoMessage()

func (*ListRolesRequest) ProtoReflect

func (m *ListRolesRequest) ProtoReflect() preflect.Message

func (*ListRolesRequest) Reset

func (m *ListRolesRequest) Reset()

func (*ListRolesRequest) SetFieldMask

func (m *ListRolesRequest) SetFieldMask(fv *role.Role_FieldMask)

func (*ListRolesRequest) SetFilter

func (m *ListRolesRequest) SetFilter(fv *role.Filter)

func (*ListRolesRequest) SetIncludePagingInfo

func (m *ListRolesRequest) SetIncludePagingInfo(fv bool)

func (*ListRolesRequest) SetOrderBy

func (m *ListRolesRequest) SetOrderBy(fv *role.OrderBy)

func (*ListRolesRequest) SetPageSize

func (m *ListRolesRequest) SetPageSize(fv int32)

func (*ListRolesRequest) SetPageToken

func (m *ListRolesRequest) SetPageToken(fv *role.PagerCursor)

func (*ListRolesRequest) SetParent

func (m *ListRolesRequest) SetParent(fv *role.ParentName)

func (*ListRolesRequest) SetView

func (m *ListRolesRequest) SetView(fv view.View)

func (*ListRolesRequest) String

func (m *ListRolesRequest) String() string

func (*ListRolesRequest) Unmarshal

func (m *ListRolesRequest) Unmarshal(b []byte) error

func (*ListRolesRequest) UnmarshalJSON

func (m *ListRolesRequest) UnmarshalJSON(data []byte) error

type ListRolesResponse

type ListRolesResponse struct {

	// The list of Roles
	Roles []*role.Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty" firestore:"roles"`
	// A token to retrieve previous page of results.
	//
	// Pass this value in the ListRolesRequest.page_token.
	PrevPageToken *role.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results.
	//
	// Pass this value in the ListRolesRequest.page_token.
	NextPageToken *role.PagerCursor `` /* 151-byte string literal not displayed */
	// Current offset from the first page or 0 if no page tokens were given,
	// paging info was not requested or there was an error while trying to get
	// it). Page index can be computed from offset and limit provided in a
	// request.
	CurrentOffset int32 `` /* 127-byte string literal not displayed */
	// Number of total Roles across all pages or 0, if there are no items, paging
	// info was not requested or there was an error while trying to get it.
	TotalResultsCount int32 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

A response message of the ListRoles method.

func (*ListRolesResponse) Descriptor

func (*ListRolesResponse) Descriptor() ([]byte, []int)

Deprecated, Use ListRolesResponse.ProtoReflect.Descriptor instead.

func (*ListRolesResponse) GetCurrentOffset

func (m *ListRolesResponse) GetCurrentOffset() int32

func (*ListRolesResponse) GetNextPageToken

func (m *ListRolesResponse) GetNextPageToken() *role.PagerCursor

func (*ListRolesResponse) GetPrevPageToken

func (m *ListRolesResponse) GetPrevPageToken() *role.PagerCursor

func (*ListRolesResponse) GetRoles

func (m *ListRolesResponse) GetRoles() []*role.Role

func (*ListRolesResponse) GetTotalResultsCount

func (m *ListRolesResponse) GetTotalResultsCount() int32

func (*ListRolesResponse) GotenMessage

func (*ListRolesResponse) GotenMessage()

func (*ListRolesResponse) GotenValidate

func (obj *ListRolesResponse) GotenValidate() error

func (*ListRolesResponse) Marshal

func (m *ListRolesResponse) Marshal() ([]byte, error)

func (*ListRolesResponse) MarshalJSON

func (m *ListRolesResponse) MarshalJSON() ([]byte, error)

func (*ListRolesResponse) ProtoMessage

func (*ListRolesResponse) ProtoMessage()

func (*ListRolesResponse) ProtoReflect

func (m *ListRolesResponse) ProtoReflect() preflect.Message

func (*ListRolesResponse) Reset

func (m *ListRolesResponse) Reset()

func (*ListRolesResponse) SetCurrentOffset

func (m *ListRolesResponse) SetCurrentOffset(fv int32)

func (*ListRolesResponse) SetNextPageToken

func (m *ListRolesResponse) SetNextPageToken(fv *role.PagerCursor)

func (*ListRolesResponse) SetPrevPageToken

func (m *ListRolesResponse) SetPrevPageToken(fv *role.PagerCursor)

func (*ListRolesResponse) SetRoles

func (m *ListRolesResponse) SetRoles(fv []*role.Role)

func (*ListRolesResponse) SetTotalResultsCount

func (m *ListRolesResponse) SetTotalResultsCount(fv int32)

func (*ListRolesResponse) String

func (m *ListRolesResponse) String() string

func (*ListRolesResponse) Unmarshal

func (m *ListRolesResponse) Unmarshal(b []byte) error

func (*ListRolesResponse) UnmarshalJSON

func (m *ListRolesResponse) UnmarshalJSON(data []byte) error

type RoleServiceClient

type RoleServiceClient interface {
	GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*role.Role, error)
	BatchGetRoles(ctx context.Context, in *BatchGetRolesRequest, opts ...grpc.CallOption) (*BatchGetRolesResponse, error)
	ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error)
	WatchRole(ctx context.Context, in *WatchRoleRequest, opts ...grpc.CallOption) (WatchRoleClientStream, error)
	WatchRoles(ctx context.Context, in *WatchRolesRequest, opts ...grpc.CallOption) (WatchRolesClientStream, error)
	CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*role.Role, error)
	UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*role.Role, error)
	DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

RoleServiceClient is the client API for RoleService.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type RoleServiceDescriptor

type RoleServiceDescriptor struct{}

func GetRoleServiceDescriptor

func GetRoleServiceDescriptor() *RoleServiceDescriptor

func (*RoleServiceDescriptor) AllMethodDescriptors

func (d *RoleServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor

func (*RoleServiceDescriptor) GetApiName

func (d *RoleServiceDescriptor) GetApiName() string

func (*RoleServiceDescriptor) GetFullAPIName

func (d *RoleServiceDescriptor) GetFullAPIName() string

func (*RoleServiceDescriptor) GetProtoPkgName

func (d *RoleServiceDescriptor) GetProtoPkgName() string

func (*RoleServiceDescriptor) GetServiceDomain

func (d *RoleServiceDescriptor) GetServiceDomain() string

func (*RoleServiceDescriptor) GetServiceVersion

func (d *RoleServiceDescriptor) GetServiceVersion() string

type UpdateRoleDescriptor

type UpdateRoleDescriptor struct{}

func GetUpdateRoleDescriptor

func GetUpdateRoleDescriptor() *UpdateRoleDescriptor

func (*UpdateRoleDescriptor) GetApiDescriptor

func (d *UpdateRoleDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*UpdateRoleDescriptor) GetApiName

func (d *UpdateRoleDescriptor) GetApiName() string

func (*UpdateRoleDescriptor) GetClientMsgReflectHandle

func (d *UpdateRoleDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*UpdateRoleDescriptor) GetFullMethodName

func (d *UpdateRoleDescriptor) GetFullMethodName() string

func (*UpdateRoleDescriptor) GetMethodName

func (d *UpdateRoleDescriptor) GetMethodName() string

func (*UpdateRoleDescriptor) GetProtoPkgName

func (d *UpdateRoleDescriptor) GetProtoPkgName() string

func (*UpdateRoleDescriptor) GetResourceDescriptor

func (d *UpdateRoleDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*UpdateRoleDescriptor) GetServerMsgReflectHandle

func (d *UpdateRoleDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*UpdateRoleDescriptor) GetServiceDomain

func (d *UpdateRoleDescriptor) GetServiceDomain() string

func (*UpdateRoleDescriptor) GetServiceVersion

func (d *UpdateRoleDescriptor) GetServiceVersion() string

func (*UpdateRoleDescriptor) GetVerb

func (d *UpdateRoleDescriptor) GetVerb() string

func (*UpdateRoleDescriptor) HasResource

func (d *UpdateRoleDescriptor) HasResource() bool

func (*UpdateRoleDescriptor) IsClientStream

func (d *UpdateRoleDescriptor) IsClientStream() bool

func (*UpdateRoleDescriptor) IsCollection

func (d *UpdateRoleDescriptor) IsCollection() bool

func (*UpdateRoleDescriptor) IsPlural

func (d *UpdateRoleDescriptor) IsPlural() bool

func (*UpdateRoleDescriptor) IsServerStream

func (d *UpdateRoleDescriptor) IsServerStream() bool

func (*UpdateRoleDescriptor) IsUnary

func (d *UpdateRoleDescriptor) IsUnary() bool

func (*UpdateRoleDescriptor) NewEmptyClientMsg

func (d *UpdateRoleDescriptor) NewEmptyClientMsg() proto.Message

func (*UpdateRoleDescriptor) NewEmptyServerMsg

func (d *UpdateRoleDescriptor) NewEmptyServerMsg() proto.Message

func (*UpdateRoleDescriptor) RequestHasResourceBody

func (d *UpdateRoleDescriptor) RequestHasResourceBody() bool

type UpdateRoleDescriptorClientMsgHandle

type UpdateRoleDescriptorClientMsgHandle struct{}

func (*UpdateRoleDescriptorClientMsgHandle) ExtractCollectionName

func (h *UpdateRoleDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*UpdateRoleDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateRoleDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateRoleDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateRoleDescriptorClientMsgHandle) ExtractResourceNames

type UpdateRoleDescriptorServerMsgHandle

type UpdateRoleDescriptorServerMsgHandle struct{}

func (*UpdateRoleDescriptorServerMsgHandle) ExtractCollectionName

func (h *UpdateRoleDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*UpdateRoleDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateRoleDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateRoleDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateRoleDescriptorServerMsgHandle) ExtractResourceNames

type UpdateRoleRequest

type UpdateRoleRequest struct {

	// Role resource body
	Role *role.Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty" firestore:"role"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *role.Role_FieldMask `` /* 140-byte string literal not displayed */
	// Conditional update applied to request if update should be executed only for
	// specific resource state. If this field is populated, then server will fetch
	// existing resource, compare with the one stored in the cas field (after
	// applying field mask) and proceed with update only and only if they match.
	// Otherwise RPC error Aborted will be returned.
	Cas *UpdateRoleRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty" firestore:"cas"`
	// If set to true, and the resource is not found,
	// a new resource will be created.  In this situation,
	// 'field_mask' is ignored.
	//
	// https://google.aip.dev/134#create-or-update
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty" firestore:"allowMissing"`
	// contains filtered or unexported fields
}

A request message of the UpdateRole method.

func (*UpdateRoleRequest) Descriptor

func (*UpdateRoleRequest) Descriptor() ([]byte, []int)

Deprecated, Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetAllowMissing

func (m *UpdateRoleRequest) GetAllowMissing() bool

func (*UpdateRoleRequest) GetCas

func (*UpdateRoleRequest) GetRole

func (m *UpdateRoleRequest) GetRole() *role.Role

func (*UpdateRoleRequest) GetUpdateMask

func (m *UpdateRoleRequest) GetUpdateMask() *role.Role_FieldMask

func (*UpdateRoleRequest) GotenMessage

func (*UpdateRoleRequest) GotenMessage()

func (*UpdateRoleRequest) GotenValidate

func (obj *UpdateRoleRequest) GotenValidate() error

func (*UpdateRoleRequest) Marshal

func (m *UpdateRoleRequest) Marshal() ([]byte, error)

func (*UpdateRoleRequest) MarshalJSON

func (m *UpdateRoleRequest) MarshalJSON() ([]byte, error)

func (*UpdateRoleRequest) ProtoMessage

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) ProtoReflect

func (m *UpdateRoleRequest) ProtoReflect() preflect.Message

func (*UpdateRoleRequest) Reset

func (m *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) SetAllowMissing

func (m *UpdateRoleRequest) SetAllowMissing(fv bool)

func (*UpdateRoleRequest) SetCas

func (*UpdateRoleRequest) SetRole

func (m *UpdateRoleRequest) SetRole(fv *role.Role)

func (*UpdateRoleRequest) SetUpdateMask

func (m *UpdateRoleRequest) SetUpdateMask(fv *role.Role_FieldMask)

func (*UpdateRoleRequest) String

func (m *UpdateRoleRequest) String() string

func (*UpdateRoleRequest) Unmarshal

func (m *UpdateRoleRequest) Unmarshal(b []byte) error

func (*UpdateRoleRequest) UnmarshalJSON

func (m *UpdateRoleRequest) UnmarshalJSON(data []byte) error

type UpdateRoleRequest_CAS

type UpdateRoleRequest_CAS struct {

	// Conditional desired state of a resource before update.
	ConditionalState *role.Role `` /* 138-byte string literal not displayed */
	// Field paths from conditional state of resource server should check and
	// compare.
	FieldMask *role.Role_FieldMask `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

CAS - Compare and Swap. This object is used if user wants to make update conditional based upon previous resource version.

func (*UpdateRoleRequest_CAS) Descriptor

func (*UpdateRoleRequest_CAS) Descriptor() ([]byte, []int)

Deprecated, Use UpdateRoleRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest_CAS) GetConditionalState

func (m *UpdateRoleRequest_CAS) GetConditionalState() *role.Role

func (*UpdateRoleRequest_CAS) GetFieldMask

func (m *UpdateRoleRequest_CAS) GetFieldMask() *role.Role_FieldMask

func (*UpdateRoleRequest_CAS) GotenMessage

func (*UpdateRoleRequest_CAS) GotenMessage()

func (*UpdateRoleRequest_CAS) GotenValidate

func (obj *UpdateRoleRequest_CAS) GotenValidate() error

func (*UpdateRoleRequest_CAS) Marshal

func (m *UpdateRoleRequest_CAS) Marshal() ([]byte, error)

func (*UpdateRoleRequest_CAS) MarshalJSON

func (m *UpdateRoleRequest_CAS) MarshalJSON() ([]byte, error)

func (*UpdateRoleRequest_CAS) ProtoMessage

func (*UpdateRoleRequest_CAS) ProtoMessage()

func (*UpdateRoleRequest_CAS) ProtoReflect

func (m *UpdateRoleRequest_CAS) ProtoReflect() preflect.Message

func (*UpdateRoleRequest_CAS) Reset

func (m *UpdateRoleRequest_CAS) Reset()

func (*UpdateRoleRequest_CAS) SetConditionalState

func (m *UpdateRoleRequest_CAS) SetConditionalState(fv *role.Role)

func (*UpdateRoleRequest_CAS) SetFieldMask

func (m *UpdateRoleRequest_CAS) SetFieldMask(fv *role.Role_FieldMask)

func (*UpdateRoleRequest_CAS) String

func (m *UpdateRoleRequest_CAS) String() string

func (*UpdateRoleRequest_CAS) Unmarshal

func (m *UpdateRoleRequest_CAS) Unmarshal(b []byte) error

func (*UpdateRoleRequest_CAS) UnmarshalJSON

func (m *UpdateRoleRequest_CAS) UnmarshalJSON(data []byte) error

type WatchRoleClientStream

type WatchRoleClientStream interface {
	Recv() (*WatchRoleResponse, error)
	grpc.ClientStream
}

type WatchRoleDescriptor

type WatchRoleDescriptor struct{}

func GetWatchRoleDescriptor

func GetWatchRoleDescriptor() *WatchRoleDescriptor

func (*WatchRoleDescriptor) GetApiDescriptor

func (d *WatchRoleDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*WatchRoleDescriptor) GetApiName

func (d *WatchRoleDescriptor) GetApiName() string

func (*WatchRoleDescriptor) GetClientMsgReflectHandle

func (d *WatchRoleDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchRoleDescriptor) GetFullMethodName

func (d *WatchRoleDescriptor) GetFullMethodName() string

func (*WatchRoleDescriptor) GetMethodName

func (d *WatchRoleDescriptor) GetMethodName() string

func (*WatchRoleDescriptor) GetProtoPkgName

func (d *WatchRoleDescriptor) GetProtoPkgName() string

func (*WatchRoleDescriptor) GetResourceDescriptor

func (d *WatchRoleDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchRoleDescriptor) GetServerMsgReflectHandle

func (d *WatchRoleDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchRoleDescriptor) GetServiceDomain

func (d *WatchRoleDescriptor) GetServiceDomain() string

func (*WatchRoleDescriptor) GetServiceVersion

func (d *WatchRoleDescriptor) GetServiceVersion() string

func (*WatchRoleDescriptor) GetVerb

func (d *WatchRoleDescriptor) GetVerb() string

func (*WatchRoleDescriptor) HasResource

func (d *WatchRoleDescriptor) HasResource() bool

func (*WatchRoleDescriptor) IsClientStream

func (d *WatchRoleDescriptor) IsClientStream() bool

func (*WatchRoleDescriptor) IsCollection

func (d *WatchRoleDescriptor) IsCollection() bool

func (*WatchRoleDescriptor) IsPlural

func (d *WatchRoleDescriptor) IsPlural() bool

func (*WatchRoleDescriptor) IsServerStream

func (d *WatchRoleDescriptor) IsServerStream() bool

func (*WatchRoleDescriptor) IsUnary

func (d *WatchRoleDescriptor) IsUnary() bool

func (*WatchRoleDescriptor) NewEmptyClientMsg

func (d *WatchRoleDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchRoleDescriptor) NewEmptyServerMsg

func (d *WatchRoleDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchRoleDescriptor) RequestHasResourceBody

func (d *WatchRoleDescriptor) RequestHasResourceBody() bool

type WatchRoleDescriptorClientMsgHandle

type WatchRoleDescriptorClientMsgHandle struct{}

func (*WatchRoleDescriptorClientMsgHandle) ExtractCollectionName

func (h *WatchRoleDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*WatchRoleDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchRoleDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchRoleDescriptorClientMsgHandle) ExtractResourceName

func (*WatchRoleDescriptorClientMsgHandle) ExtractResourceNames

type WatchRoleDescriptorServerMsgHandle

type WatchRoleDescriptorServerMsgHandle struct{}

func (*WatchRoleDescriptorServerMsgHandle) ExtractCollectionName

func (h *WatchRoleDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*WatchRoleDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchRoleDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchRoleDescriptorServerMsgHandle) ExtractResourceName

func (*WatchRoleDescriptorServerMsgHandle) ExtractResourceNames

type WatchRoleRequest

type WatchRoleRequest struct {

	// Name of ntt.iam.v1.Role
	Name *role.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *role.Role_FieldMask `` /* 136-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the WatchRole method.

func (*WatchRoleRequest) Descriptor

func (*WatchRoleRequest) Descriptor() ([]byte, []int)

Deprecated, Use WatchRoleRequest.ProtoReflect.Descriptor instead.

func (*WatchRoleRequest) GetFieldMask

func (m *WatchRoleRequest) GetFieldMask() *role.Role_FieldMask

func (*WatchRoleRequest) GetName

func (m *WatchRoleRequest) GetName() *role.Name

func (*WatchRoleRequest) GetView

func (m *WatchRoleRequest) GetView() view.View

func (*WatchRoleRequest) GotenMessage

func (*WatchRoleRequest) GotenMessage()

func (*WatchRoleRequest) GotenValidate

func (obj *WatchRoleRequest) GotenValidate() error

func (*WatchRoleRequest) Marshal

func (m *WatchRoleRequest) Marshal() ([]byte, error)

func (*WatchRoleRequest) MarshalJSON

func (m *WatchRoleRequest) MarshalJSON() ([]byte, error)

func (*WatchRoleRequest) ProtoMessage

func (*WatchRoleRequest) ProtoMessage()

func (*WatchRoleRequest) ProtoReflect

func (m *WatchRoleRequest) ProtoReflect() preflect.Message

func (*WatchRoleRequest) Reset

func (m *WatchRoleRequest) Reset()

func (*WatchRoleRequest) SetFieldMask

func (m *WatchRoleRequest) SetFieldMask(fv *role.Role_FieldMask)

func (*WatchRoleRequest) SetName

func (m *WatchRoleRequest) SetName(fv *role.Name)

func (*WatchRoleRequest) SetView

func (m *WatchRoleRequest) SetView(fv view.View)

func (*WatchRoleRequest) String

func (m *WatchRoleRequest) String() string

func (*WatchRoleRequest) Unmarshal

func (m *WatchRoleRequest) Unmarshal(b []byte) error

func (*WatchRoleRequest) UnmarshalJSON

func (m *WatchRoleRequest) UnmarshalJSON(data []byte) error

type WatchRoleResponse

type WatchRoleResponse struct {
	Change *role.RoleChange `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty" firestore:"change"`
	// contains filtered or unexported fields
}

A response message of the WatchRole method.

func (*WatchRoleResponse) Descriptor

func (*WatchRoleResponse) Descriptor() ([]byte, []int)

Deprecated, Use WatchRoleResponse.ProtoReflect.Descriptor instead.

func (*WatchRoleResponse) GetChange

func (m *WatchRoleResponse) GetChange() *role.RoleChange

func (*WatchRoleResponse) GotenMessage

func (*WatchRoleResponse) GotenMessage()

func (*WatchRoleResponse) GotenValidate

func (obj *WatchRoleResponse) GotenValidate() error

func (*WatchRoleResponse) Marshal

func (m *WatchRoleResponse) Marshal() ([]byte, error)

func (*WatchRoleResponse) MarshalJSON

func (m *WatchRoleResponse) MarshalJSON() ([]byte, error)

func (*WatchRoleResponse) ProtoMessage

func (*WatchRoleResponse) ProtoMessage()

func (*WatchRoleResponse) ProtoReflect

func (m *WatchRoleResponse) ProtoReflect() preflect.Message

func (*WatchRoleResponse) Reset

func (m *WatchRoleResponse) Reset()

func (*WatchRoleResponse) SetChange

func (m *WatchRoleResponse) SetChange(fv *role.RoleChange)

func (*WatchRoleResponse) String

func (m *WatchRoleResponse) String() string

func (*WatchRoleResponse) Unmarshal

func (m *WatchRoleResponse) Unmarshal(b []byte) error

func (*WatchRoleResponse) UnmarshalJSON

func (m *WatchRoleResponse) UnmarshalJSON(data []byte) error

type WatchRolesClientStream

type WatchRolesClientStream interface {
	Recv() (*WatchRolesResponse, error)
	grpc.ClientStream
}

type WatchRolesDescriptor

type WatchRolesDescriptor struct{}

func GetWatchRolesDescriptor

func GetWatchRolesDescriptor() *WatchRolesDescriptor

func (*WatchRolesDescriptor) GetApiDescriptor

func (d *WatchRolesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*WatchRolesDescriptor) GetApiName

func (d *WatchRolesDescriptor) GetApiName() string

func (*WatchRolesDescriptor) GetClientMsgReflectHandle

func (d *WatchRolesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchRolesDescriptor) GetFullMethodName

func (d *WatchRolesDescriptor) GetFullMethodName() string

func (*WatchRolesDescriptor) GetMethodName

func (d *WatchRolesDescriptor) GetMethodName() string

func (*WatchRolesDescriptor) GetProtoPkgName

func (d *WatchRolesDescriptor) GetProtoPkgName() string

func (*WatchRolesDescriptor) GetResourceDescriptor

func (d *WatchRolesDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchRolesDescriptor) GetServerMsgReflectHandle

func (d *WatchRolesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchRolesDescriptor) GetServiceDomain

func (d *WatchRolesDescriptor) GetServiceDomain() string

func (*WatchRolesDescriptor) GetServiceVersion

func (d *WatchRolesDescriptor) GetServiceVersion() string

func (*WatchRolesDescriptor) GetVerb

func (d *WatchRolesDescriptor) GetVerb() string

func (*WatchRolesDescriptor) HasResource

func (d *WatchRolesDescriptor) HasResource() bool

func (*WatchRolesDescriptor) IsClientStream

func (d *WatchRolesDescriptor) IsClientStream() bool

func (*WatchRolesDescriptor) IsCollection

func (d *WatchRolesDescriptor) IsCollection() bool

func (*WatchRolesDescriptor) IsPlural

func (d *WatchRolesDescriptor) IsPlural() bool

func (*WatchRolesDescriptor) IsServerStream

func (d *WatchRolesDescriptor) IsServerStream() bool

func (*WatchRolesDescriptor) IsUnary

func (d *WatchRolesDescriptor) IsUnary() bool

func (*WatchRolesDescriptor) NewEmptyClientMsg

func (d *WatchRolesDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchRolesDescriptor) NewEmptyServerMsg

func (d *WatchRolesDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchRolesDescriptor) RequestHasResourceBody

func (d *WatchRolesDescriptor) RequestHasResourceBody() bool

type WatchRolesDescriptorClientMsgHandle

type WatchRolesDescriptorClientMsgHandle struct{}

func (*WatchRolesDescriptorClientMsgHandle) ExtractCollectionName

func (h *WatchRolesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*WatchRolesDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchRolesDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchRolesDescriptorClientMsgHandle) ExtractResourceName

func (*WatchRolesDescriptorClientMsgHandle) ExtractResourceNames

type WatchRolesDescriptorServerMsgHandle

type WatchRolesDescriptorServerMsgHandle struct{}

func (*WatchRolesDescriptorServerMsgHandle) ExtractCollectionName

func (h *WatchRolesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*WatchRolesDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchRolesDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchRolesDescriptorServerMsgHandle) ExtractResourceName

func (*WatchRolesDescriptorServerMsgHandle) ExtractResourceNames

type WatchRolesRequest

type WatchRolesRequest struct {

	// Type of a watch. Identifies how server stream data to a client, which
	// fields in a request are allowed and which fields in response are relevant.
	Type watch_type.WatchType `protobuf:"varint,9,opt,name=type,proto3,enum=goten.types.WatchType" json:"type,omitempty" firestore:"type"`
	// Parent name of ntt.iam.v1.Role
	Parent *role.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Roles than requested.
	// If unspecified, server will pick an appropriate default.
	// Can be populated only for stateful watch type.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Can be populated only for stateful watch type.
	PageToken *role.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination Can be
	// populated only for stateful watch type.
	OrderBy *role.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// A token identifying watch resume point from previous session.
	// Can be populated only for stateless watch type.
	ResumeToken string `protobuf:"bytes,10,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Point in the time from which we want to start getting updates. This field
	// can be populated only for stateless watch type and if resume token is not
	// known yet. If specified, initial snapshot will NOT be provided. It is
	// assumed client can obtain it using separate means. Watch responses will
	// contain resume tokens which should be used to resume broken connection.
	StartingTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=starting_time,json=startingTime,proto3" json:"starting_time,omitempty" firestore:"startingTime"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *role.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view Changes to Role that don't affect any
	// of masked fields won't be sent back.
	FieldMask *role.Role_FieldMask `` /* 136-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask Changes to
	// Role that don't affect any of masked fields won't be sent back.
	View view.View `protobuf:"varint,8,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Maximum amount of changes in each response message. Query result response
	// is divided on the server side into chunks with size of a specified amount
	// to limit memory footprint of each message. Responses will hold information
	// whether more elements will continue for the actual change. If unspecified,
	// server will pick an appropriate default.
	MaxChunkSize int32 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

A request message of the WatchRoles method.

func (*WatchRolesRequest) Descriptor

func (*WatchRolesRequest) Descriptor() ([]byte, []int)

Deprecated, Use WatchRolesRequest.ProtoReflect.Descriptor instead.

func (*WatchRolesRequest) GetFieldMask

func (m *WatchRolesRequest) GetFieldMask() *role.Role_FieldMask

func (*WatchRolesRequest) GetFilter

func (m *WatchRolesRequest) GetFilter() *role.Filter

func (*WatchRolesRequest) GetMaxChunkSize

func (m *WatchRolesRequest) GetMaxChunkSize() int32

func (*WatchRolesRequest) GetOrderBy

func (m *WatchRolesRequest) GetOrderBy() *role.OrderBy

func (*WatchRolesRequest) GetPageSize

func (m *WatchRolesRequest) GetPageSize() int32

func (*WatchRolesRequest) GetPageToken

func (m *WatchRolesRequest) GetPageToken() *role.PagerCursor

func (*WatchRolesRequest) GetParent

func (m *WatchRolesRequest) GetParent() *role.ParentName

func (*WatchRolesRequest) GetResumeToken

func (m *WatchRolesRequest) GetResumeToken() string

func (*WatchRolesRequest) GetStartingTime

func (m *WatchRolesRequest) GetStartingTime() *timestamppb.Timestamp

func (*WatchRolesRequest) GetType

func (m *WatchRolesRequest) GetType() watch_type.WatchType

func (*WatchRolesRequest) GetView

func (m *WatchRolesRequest) GetView() view.View

func (*WatchRolesRequest) GotenMessage

func (*WatchRolesRequest) GotenMessage()

func (*WatchRolesRequest) GotenValidate

func (obj *WatchRolesRequest) GotenValidate() error

func (*WatchRolesRequest) Marshal

func (m *WatchRolesRequest) Marshal() ([]byte, error)

func (*WatchRolesRequest) MarshalJSON

func (m *WatchRolesRequest) MarshalJSON() ([]byte, error)

func (*WatchRolesRequest) ProtoMessage

func (*WatchRolesRequest) ProtoMessage()

func (*WatchRolesRequest) ProtoReflect

func (m *WatchRolesRequest) ProtoReflect() preflect.Message

func (*WatchRolesRequest) Reset

func (m *WatchRolesRequest) Reset()

func (*WatchRolesRequest) SetFieldMask

func (m *WatchRolesRequest) SetFieldMask(fv *role.Role_FieldMask)

func (*WatchRolesRequest) SetFilter

func (m *WatchRolesRequest) SetFilter(fv *role.Filter)

func (*WatchRolesRequest) SetMaxChunkSize

func (m *WatchRolesRequest) SetMaxChunkSize(fv int32)

func (*WatchRolesRequest) SetOrderBy

func (m *WatchRolesRequest) SetOrderBy(fv *role.OrderBy)

func (*WatchRolesRequest) SetPageSize

func (m *WatchRolesRequest) SetPageSize(fv int32)

func (*WatchRolesRequest) SetPageToken

func (m *WatchRolesRequest) SetPageToken(fv *role.PagerCursor)

func (*WatchRolesRequest) SetParent

func (m *WatchRolesRequest) SetParent(fv *role.ParentName)

func (*WatchRolesRequest) SetResumeToken

func (m *WatchRolesRequest) SetResumeToken(fv string)

func (*WatchRolesRequest) SetStartingTime

func (m *WatchRolesRequest) SetStartingTime(fv *timestamppb.Timestamp)

func (*WatchRolesRequest) SetType

func (m *WatchRolesRequest) SetType(fv watch_type.WatchType)

func (*WatchRolesRequest) SetView

func (m *WatchRolesRequest) SetView(fv view.View)

func (*WatchRolesRequest) String

func (m *WatchRolesRequest) String() string

func (*WatchRolesRequest) Unmarshal

func (m *WatchRolesRequest) Unmarshal(b []byte) error

func (*WatchRolesRequest) UnmarshalJSON

func (m *WatchRolesRequest) UnmarshalJSON(data []byte) error

type WatchRolesResponse

type WatchRolesResponse struct {

	// Changes of Roles
	RoleChanges []*role.RoleChange `protobuf:"bytes,2,rep,name=role_changes,json=roleChanges,proto3" json:"role_changes,omitempty" firestore:"roleChanges"`
	// If request specified max_chunk_size (or this limit was enforced if
	// stateless watch has been chosen), then responses with "full changeset" will
	// be divided into chunks. Client should keep receiving messages and, once
	// is_current has value true, combine this recent message with all previous
	// ones where is_current is false. If this is the first is_current in a whole
	// watch stream, then it means that client should have, at this moment,
	// contain snapshot of the current situation (or more accurately, snapshot of
	// situation at the moment of request). All Roles will be of type
	// Added/Current (depending on watch_type specified in the request). Further
	// responses will be incremental - however messages may still be chunked and
	// is_current logic still applies. is_current is always true for stateful
	// watch if max_chunk_size was left to 0.
	IsCurrent bool `protobuf:"varint,4,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty" firestore:"isCurrent"`
	// When present, PageTokens used for page navigation should be updated.
	// Present only if is_current is true (last chunk).
	PageTokenChange *WatchRolesResponse_PageTokenChange `` /* 136-byte string literal not displayed */
	// Token that can be used if current connection drops and client needs to
	// reconnect. Populated only for stateless watch type. Present only if
	// is_current is true (last chunk).
	ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Server may occasionally send information how many resources should client
	// have in its state so far (response message without any changes, but with
	// snapshot_size field specified). If client has different value than the one
	// sent by the server, then it should be treated by a client as an error and
	// should reconnect. If value is smaller then 0, then client should ignore
	// this field as unpopulated. This field should be checked only for stateless
	// watch. In stateful those kind of errors are handled by the server side.
	// Will be never sent together with is_current, is_soft_reset and
	// is_hard_reset flags.
	SnapshotSize int64 `protobuf:"varint,6,opt,name=snapshot_size,json=snapshotSize,proto3" json:"snapshot_size,omitempty" firestore:"snapshotSize"`
	// In case of internal issue server may send response message with this flag.
	// It indicates that client should drop all changes from recent responses
	// where is_current is false only! If last message had is_current set to true,
	// client should do nothing and process normally. Resume token received before
	// is still valid. This field should be checked only for stateless watch. In
	// stateful those kind of errors are handled by the server side. Will never be
	// sent along with is_current, is_hard_reset or snapshot_size.
	IsSoftReset bool `protobuf:"varint,7,opt,name=is_soft_reset,json=isSoftReset,proto3" json:"is_soft_reset,omitempty" firestore:"isSoftReset"`
	// In case of internal issue server may send response message with this flag.
	// After receiving, client should clear whole state (drop all changes received
	// so far) as server will send new snapshot (Roles will contains changes of
	// type Current only). Any resume tokens should be discarded as well. This
	// field should be checked only for stateless watch. In stateful those kind of
	// errors are handled by the server side. Will never be sent along with
	// is_current, is_soft_reset or snapshot_size.
	IsHardReset bool `protobuf:"varint,8,opt,name=is_hard_reset,json=isHardReset,proto3" json:"is_hard_reset,omitempty" firestore:"isHardReset"`
	// contains filtered or unexported fields
}

A response message of the WatchRoles method.

func (*WatchRolesResponse) Descriptor

func (*WatchRolesResponse) Descriptor() ([]byte, []int)

Deprecated, Use WatchRolesResponse.ProtoReflect.Descriptor instead.

func (*WatchRolesResponse) GetIsCurrent

func (m *WatchRolesResponse) GetIsCurrent() bool

func (*WatchRolesResponse) GetIsHardReset

func (m *WatchRolesResponse) GetIsHardReset() bool

func (*WatchRolesResponse) GetIsSoftReset

func (m *WatchRolesResponse) GetIsSoftReset() bool

func (*WatchRolesResponse) GetPageTokenChange

func (m *WatchRolesResponse) GetPageTokenChange() *WatchRolesResponse_PageTokenChange

func (*WatchRolesResponse) GetResumeToken

func (m *WatchRolesResponse) GetResumeToken() string

func (*WatchRolesResponse) GetRoleChanges

func (m *WatchRolesResponse) GetRoleChanges() []*role.RoleChange

func (*WatchRolesResponse) GetSnapshotSize

func (m *WatchRolesResponse) GetSnapshotSize() int64

func (*WatchRolesResponse) GotenMessage

func (*WatchRolesResponse) GotenMessage()

func (*WatchRolesResponse) GotenValidate

func (obj *WatchRolesResponse) GotenValidate() error

func (*WatchRolesResponse) Marshal

func (m *WatchRolesResponse) Marshal() ([]byte, error)

func (*WatchRolesResponse) MarshalJSON

func (m *WatchRolesResponse) MarshalJSON() ([]byte, error)

func (*WatchRolesResponse) ProtoMessage

func (*WatchRolesResponse) ProtoMessage()

func (*WatchRolesResponse) ProtoReflect

func (m *WatchRolesResponse) ProtoReflect() preflect.Message

func (*WatchRolesResponse) Reset

func (m *WatchRolesResponse) Reset()

func (*WatchRolesResponse) SetIsCurrent

func (m *WatchRolesResponse) SetIsCurrent(fv bool)

func (*WatchRolesResponse) SetIsHardReset

func (m *WatchRolesResponse) SetIsHardReset(fv bool)

func (*WatchRolesResponse) SetIsSoftReset

func (m *WatchRolesResponse) SetIsSoftReset(fv bool)

func (*WatchRolesResponse) SetPageTokenChange

func (m *WatchRolesResponse) SetPageTokenChange(fv *WatchRolesResponse_PageTokenChange)

func (*WatchRolesResponse) SetResumeToken

func (m *WatchRolesResponse) SetResumeToken(fv string)

func (*WatchRolesResponse) SetRoleChanges

func (m *WatchRolesResponse) SetRoleChanges(fv []*role.RoleChange)

func (*WatchRolesResponse) SetSnapshotSize

func (m *WatchRolesResponse) SetSnapshotSize(fv int64)

func (*WatchRolesResponse) String

func (m *WatchRolesResponse) String() string

func (*WatchRolesResponse) Unmarshal

func (m *WatchRolesResponse) Unmarshal(b []byte) error

func (*WatchRolesResponse) UnmarshalJSON

func (m *WatchRolesResponse) UnmarshalJSON(data []byte) error

type WatchRolesResponse_PageTokenChange

type WatchRolesResponse_PageTokenChange struct {

	// New token to retrieve previous page of results.
	PrevPageToken *role.PagerCursor `` /* 151-byte string literal not displayed */
	// New token to retrieve next page of results.
	NextPageToken *role.PagerCursor `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WatchRolesResponse_PageTokenChange) Descriptor

func (*WatchRolesResponse_PageTokenChange) Descriptor() ([]byte, []int)

Deprecated, Use WatchRolesResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchRolesResponse_PageTokenChange) GetNextPageToken

func (m *WatchRolesResponse_PageTokenChange) GetNextPageToken() *role.PagerCursor

func (*WatchRolesResponse_PageTokenChange) GetPrevPageToken

func (m *WatchRolesResponse_PageTokenChange) GetPrevPageToken() *role.PagerCursor

func (*WatchRolesResponse_PageTokenChange) GotenMessage

func (*WatchRolesResponse_PageTokenChange) GotenMessage()

func (*WatchRolesResponse_PageTokenChange) GotenValidate

func (obj *WatchRolesResponse_PageTokenChange) GotenValidate() error

func (*WatchRolesResponse_PageTokenChange) Marshal

func (m *WatchRolesResponse_PageTokenChange) Marshal() ([]byte, error)

func (*WatchRolesResponse_PageTokenChange) MarshalJSON

func (m *WatchRolesResponse_PageTokenChange) MarshalJSON() ([]byte, error)

func (*WatchRolesResponse_PageTokenChange) ProtoMessage

func (*WatchRolesResponse_PageTokenChange) ProtoMessage()

func (*WatchRolesResponse_PageTokenChange) ProtoReflect

func (*WatchRolesResponse_PageTokenChange) Reset

func (*WatchRolesResponse_PageTokenChange) SetNextPageToken

func (m *WatchRolesResponse_PageTokenChange) SetNextPageToken(fv *role.PagerCursor)

func (*WatchRolesResponse_PageTokenChange) SetPrevPageToken

func (m *WatchRolesResponse_PageTokenChange) SetPrevPageToken(fv *role.PagerCursor)

func (*WatchRolesResponse_PageTokenChange) String

func (*WatchRolesResponse_PageTokenChange) Unmarshal

func (m *WatchRolesResponse_PageTokenChange) Unmarshal(b []byte) error

func (*WatchRolesResponse_PageTokenChange) UnmarshalJSON

func (m *WatchRolesResponse_PageTokenChange) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL