role_client

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetRolesDescriptor added in v0.4.28

type BatchGetRolesDescriptor struct{}

func GetBatchGetRolesDescriptor added in v0.4.28

func GetBatchGetRolesDescriptor() *BatchGetRolesDescriptor

func (*BatchGetRolesDescriptor) GetApiDescriptor added in v0.4.28

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

func (*BatchGetRolesDescriptor) GetApiName added in v0.4.28

func (d *BatchGetRolesDescriptor) GetApiName() string

func (*BatchGetRolesDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*BatchGetRolesDescriptor) GetFullMethodName added in v0.4.28

func (d *BatchGetRolesDescriptor) GetFullMethodName() string

func (*BatchGetRolesDescriptor) GetMethodName added in v0.4.28

func (d *BatchGetRolesDescriptor) GetMethodName() string

func (*BatchGetRolesDescriptor) GetProtoPkgName added in v0.4.28

func (d *BatchGetRolesDescriptor) GetProtoPkgName() string

func (*BatchGetRolesDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*BatchGetRolesDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*BatchGetRolesDescriptor) GetServiceDomain added in v0.4.28

func (d *BatchGetRolesDescriptor) GetServiceDomain() string

func (*BatchGetRolesDescriptor) GetServiceVersion added in v0.4.28

func (d *BatchGetRolesDescriptor) GetServiceVersion() string

func (*BatchGetRolesDescriptor) GetVerb added in v0.4.28

func (d *BatchGetRolesDescriptor) GetVerb() string

func (*BatchGetRolesDescriptor) HasResource added in v0.4.30

func (d *BatchGetRolesDescriptor) HasResource() bool

func (*BatchGetRolesDescriptor) IsClientStream added in v0.4.28

func (d *BatchGetRolesDescriptor) IsClientStream() bool

func (*BatchGetRolesDescriptor) IsCollection added in v0.4.30

func (d *BatchGetRolesDescriptor) IsCollection() bool

func (*BatchGetRolesDescriptor) IsPlural added in v0.4.30

func (d *BatchGetRolesDescriptor) IsPlural() bool

func (*BatchGetRolesDescriptor) IsServerStream added in v0.4.28

func (d *BatchGetRolesDescriptor) IsServerStream() bool

func (*BatchGetRolesDescriptor) IsUnary added in v0.4.28

func (d *BatchGetRolesDescriptor) IsUnary() bool

func (*BatchGetRolesDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*BatchGetRolesDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*BatchGetRolesDescriptor) RequestHasResourceBody added in v0.4.28

func (d *BatchGetRolesDescriptor) RequestHasResourceBody() bool

type BatchGetRolesDescriptorClientMsgHandle added in v0.4.28

type BatchGetRolesDescriptorClientMsgHandle struct{}

func (*BatchGetRolesDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetRolesDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetRolesDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetRolesDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetRolesDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetRolesDescriptorServerMsgHandle added in v0.4.28

type BatchGetRolesDescriptorServerMsgHandle struct{}

func (*BatchGetRolesDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetRolesDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetRolesDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetRolesDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetRolesDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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
}

Request message for method [BatchGetRoles][ntt.iam.v1alpha2.BatchGetRoles]

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
}

BatchGetRolesResponse

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 added in v0.4.28

type CreateRoleDescriptor struct{}

func GetCreateRoleDescriptor added in v0.4.28

func GetCreateRoleDescriptor() *CreateRoleDescriptor

func (*CreateRoleDescriptor) GetApiDescriptor added in v0.4.28

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

func (*CreateRoleDescriptor) GetApiName added in v0.4.28

func (d *CreateRoleDescriptor) GetApiName() string

func (*CreateRoleDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*CreateRoleDescriptor) GetFullMethodName added in v0.4.28

func (d *CreateRoleDescriptor) GetFullMethodName() string

func (*CreateRoleDescriptor) GetMethodName added in v0.4.28

func (d *CreateRoleDescriptor) GetMethodName() string

func (*CreateRoleDescriptor) GetProtoPkgName added in v0.4.28

func (d *CreateRoleDescriptor) GetProtoPkgName() string

func (*CreateRoleDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*CreateRoleDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*CreateRoleDescriptor) GetServiceDomain added in v0.4.28

func (d *CreateRoleDescriptor) GetServiceDomain() string

func (*CreateRoleDescriptor) GetServiceVersion added in v0.4.28

func (d *CreateRoleDescriptor) GetServiceVersion() string

func (*CreateRoleDescriptor) GetVerb added in v0.4.28

func (d *CreateRoleDescriptor) GetVerb() string

func (*CreateRoleDescriptor) HasResource added in v0.4.30

func (d *CreateRoleDescriptor) HasResource() bool

func (*CreateRoleDescriptor) IsClientStream added in v0.4.28

func (d *CreateRoleDescriptor) IsClientStream() bool

func (*CreateRoleDescriptor) IsCollection added in v0.4.30

func (d *CreateRoleDescriptor) IsCollection() bool

func (*CreateRoleDescriptor) IsPlural added in v0.4.30

func (d *CreateRoleDescriptor) IsPlural() bool

func (*CreateRoleDescriptor) IsServerStream added in v0.4.28

func (d *CreateRoleDescriptor) IsServerStream() bool

func (*CreateRoleDescriptor) IsUnary added in v0.4.28

func (d *CreateRoleDescriptor) IsUnary() bool

func (*CreateRoleDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*CreateRoleDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*CreateRoleDescriptor) RequestHasResourceBody added in v0.4.28

func (d *CreateRoleDescriptor) RequestHasResourceBody() bool

type CreateRoleDescriptorClientMsgHandle added in v0.4.28

type CreateRoleDescriptorClientMsgHandle struct{}

func (*CreateRoleDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*CreateRoleDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateRoleDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateRoleDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateRoleDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type CreateRoleDescriptorServerMsgHandle added in v0.4.28

type CreateRoleDescriptorServerMsgHandle struct{}

func (*CreateRoleDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*CreateRoleDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateRoleDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateRoleDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateRoleDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type CreateRoleRequest

type CreateRoleRequest struct {

	// Role resource body
	Role *role.Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty" firestore:"role"`
	// contains filtered or unexported fields
}

Request message for method [CreateRole][ntt.iam.v1alpha2.CreateRole]

func (*CreateRoleRequest) Descriptor

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

Deprecated, Use CreateRoleRequest.ProtoReflect.Descriptor instead.

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) 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 added in v0.4.28

type DeleteRoleDescriptor struct{}

func GetDeleteRoleDescriptor added in v0.4.28

func GetDeleteRoleDescriptor() *DeleteRoleDescriptor

func (*DeleteRoleDescriptor) GetApiDescriptor added in v0.4.28

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

func (*DeleteRoleDescriptor) GetApiName added in v0.4.28

func (d *DeleteRoleDescriptor) GetApiName() string

func (*DeleteRoleDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*DeleteRoleDescriptor) GetFullMethodName added in v0.4.28

func (d *DeleteRoleDescriptor) GetFullMethodName() string

func (*DeleteRoleDescriptor) GetMethodName added in v0.4.28

func (d *DeleteRoleDescriptor) GetMethodName() string

func (*DeleteRoleDescriptor) GetProtoPkgName added in v0.4.28

func (d *DeleteRoleDescriptor) GetProtoPkgName() string

func (*DeleteRoleDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*DeleteRoleDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*DeleteRoleDescriptor) GetServiceDomain added in v0.4.28

func (d *DeleteRoleDescriptor) GetServiceDomain() string

func (*DeleteRoleDescriptor) GetServiceVersion added in v0.4.28

func (d *DeleteRoleDescriptor) GetServiceVersion() string

func (*DeleteRoleDescriptor) GetVerb added in v0.4.28

func (d *DeleteRoleDescriptor) GetVerb() string

func (*DeleteRoleDescriptor) HasResource added in v0.4.30

func (d *DeleteRoleDescriptor) HasResource() bool

func (*DeleteRoleDescriptor) IsClientStream added in v0.4.28

func (d *DeleteRoleDescriptor) IsClientStream() bool

func (*DeleteRoleDescriptor) IsCollection added in v0.4.30

func (d *DeleteRoleDescriptor) IsCollection() bool

func (*DeleteRoleDescriptor) IsPlural added in v0.4.30

func (d *DeleteRoleDescriptor) IsPlural() bool

func (*DeleteRoleDescriptor) IsServerStream added in v0.4.28

func (d *DeleteRoleDescriptor) IsServerStream() bool

func (*DeleteRoleDescriptor) IsUnary added in v0.4.28

func (d *DeleteRoleDescriptor) IsUnary() bool

func (*DeleteRoleDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*DeleteRoleDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*DeleteRoleDescriptor) RequestHasResourceBody added in v0.4.28

func (d *DeleteRoleDescriptor) RequestHasResourceBody() bool

type DeleteRoleDescriptorClientMsgHandle added in v0.4.28

type DeleteRoleDescriptorClientMsgHandle struct{}

func (*DeleteRoleDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*DeleteRoleDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteRoleDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteRoleDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteRoleDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteRoleDescriptorServerMsgHandle added in v0.4.28

type DeleteRoleDescriptorServerMsgHandle struct{}

func (*DeleteRoleDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*DeleteRoleDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteRoleDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteRoleDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteRoleDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteRoleRequest

type DeleteRoleRequest struct {

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

Request message for method [DeleteRole][ntt.iam.v1alpha2.DeleteRole]

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 added in v0.4.28

type GetRoleDescriptor struct{}

func GetGetRoleDescriptor added in v0.4.28

func GetGetRoleDescriptor() *GetRoleDescriptor

func (*GetRoleDescriptor) GetApiDescriptor added in v0.4.28

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

func (*GetRoleDescriptor) GetApiName added in v0.4.28

func (d *GetRoleDescriptor) GetApiName() string

func (*GetRoleDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*GetRoleDescriptor) GetFullMethodName added in v0.4.28

func (d *GetRoleDescriptor) GetFullMethodName() string

func (*GetRoleDescriptor) GetMethodName added in v0.4.28

func (d *GetRoleDescriptor) GetMethodName() string

func (*GetRoleDescriptor) GetProtoPkgName added in v0.4.28

func (d *GetRoleDescriptor) GetProtoPkgName() string

func (*GetRoleDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*GetRoleDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*GetRoleDescriptor) GetServiceDomain added in v0.4.28

func (d *GetRoleDescriptor) GetServiceDomain() string

func (*GetRoleDescriptor) GetServiceVersion added in v0.4.28

func (d *GetRoleDescriptor) GetServiceVersion() string

func (*GetRoleDescriptor) GetVerb added in v0.4.28

func (d *GetRoleDescriptor) GetVerb() string

func (*GetRoleDescriptor) HasResource added in v0.4.30

func (d *GetRoleDescriptor) HasResource() bool

func (*GetRoleDescriptor) IsClientStream added in v0.4.28

func (d *GetRoleDescriptor) IsClientStream() bool

func (*GetRoleDescriptor) IsCollection added in v0.4.30

func (d *GetRoleDescriptor) IsCollection() bool

func (*GetRoleDescriptor) IsPlural added in v0.4.30

func (d *GetRoleDescriptor) IsPlural() bool

func (*GetRoleDescriptor) IsServerStream added in v0.4.28

func (d *GetRoleDescriptor) IsServerStream() bool

func (*GetRoleDescriptor) IsUnary added in v0.4.28

func (d *GetRoleDescriptor) IsUnary() bool

func (*GetRoleDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*GetRoleDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*GetRoleDescriptor) RequestHasResourceBody added in v0.4.28

func (d *GetRoleDescriptor) RequestHasResourceBody() bool

type GetRoleDescriptorClientMsgHandle added in v0.4.28

type GetRoleDescriptorClientMsgHandle struct{}

func (*GetRoleDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*GetRoleDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetRoleDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetRoleDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

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

func (*GetRoleDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type GetRoleDescriptorServerMsgHandle added in v0.4.28

type GetRoleDescriptorServerMsgHandle struct{}

func (*GetRoleDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*GetRoleDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetRoleDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetRoleDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

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

func (*GetRoleDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type GetRoleRequest

type GetRoleRequest struct {

	// Name of ntt.iam.v1alpha2.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
}

Request message for method [GetRole][ntt.iam.v1alpha2.GetRole]

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 added in v0.4.28

type ListRolesDescriptor struct{}

func GetListRolesDescriptor added in v0.4.28

func GetListRolesDescriptor() *ListRolesDescriptor

func (*ListRolesDescriptor) GetApiDescriptor added in v0.4.28

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

func (*ListRolesDescriptor) GetApiName added in v0.4.28

func (d *ListRolesDescriptor) GetApiName() string

func (*ListRolesDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*ListRolesDescriptor) GetFullMethodName added in v0.4.28

func (d *ListRolesDescriptor) GetFullMethodName() string

func (*ListRolesDescriptor) GetMethodName added in v0.4.28

func (d *ListRolesDescriptor) GetMethodName() string

func (*ListRolesDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListRolesDescriptor) GetProtoPkgName() string

func (*ListRolesDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*ListRolesDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*ListRolesDescriptor) GetServiceDomain added in v0.4.28

func (d *ListRolesDescriptor) GetServiceDomain() string

func (*ListRolesDescriptor) GetServiceVersion added in v0.4.28

func (d *ListRolesDescriptor) GetServiceVersion() string

func (*ListRolesDescriptor) GetVerb added in v0.4.28

func (d *ListRolesDescriptor) GetVerb() string

func (*ListRolesDescriptor) HasResource added in v0.4.30

func (d *ListRolesDescriptor) HasResource() bool

func (*ListRolesDescriptor) IsClientStream added in v0.4.28

func (d *ListRolesDescriptor) IsClientStream() bool

func (*ListRolesDescriptor) IsCollection added in v0.4.30

func (d *ListRolesDescriptor) IsCollection() bool

func (*ListRolesDescriptor) IsPlural added in v0.4.30

func (d *ListRolesDescriptor) IsPlural() bool

func (*ListRolesDescriptor) IsServerStream added in v0.4.28

func (d *ListRolesDescriptor) IsServerStream() bool

func (*ListRolesDescriptor) IsUnary added in v0.4.28

func (d *ListRolesDescriptor) IsUnary() bool

func (*ListRolesDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*ListRolesDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*ListRolesDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListRolesDescriptor) RequestHasResourceBody() bool

type ListRolesDescriptorClientMsgHandle added in v0.4.28

type ListRolesDescriptorClientMsgHandle struct{}

func (*ListRolesDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*ListRolesDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListRolesDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListRolesDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListRolesDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListRolesDescriptorServerMsgHandle added in v0.4.28

type ListRolesDescriptorServerMsgHandle struct{}

func (*ListRolesDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*ListRolesDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListRolesDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListRolesDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListRolesDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type ListRolesRequest

type ListRolesRequest struct {

	// 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][ntt.iam.v1alpha2.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
}

Request message for method [ListRoles][ntt.iam.v1alpha2.ListRoles]

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 added in v0.10.1

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) 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 added in v0.10.1

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) 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][ntt.iam.v1alpha2.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][ntt.iam.v1alpha2.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
}

Request message for method [ListRoles][ntt.iam.v1alpha2.ListRoles]

func (*ListRolesResponse) Descriptor

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

Deprecated, Use ListRolesResponse.ProtoReflect.Descriptor instead.

func (*ListRolesResponse) GetCurrentOffset added in v0.10.1

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 added in v0.10.1

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 added in v0.10.1

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 added in v0.10.1

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 added in v0.4.28

type RoleServiceDescriptor struct{}

func GetRoleServiceDescriptor added in v0.4.28

func GetRoleServiceDescriptor() *RoleServiceDescriptor

func (*RoleServiceDescriptor) AllMethodDescriptors added in v0.4.28

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

func (*RoleServiceDescriptor) GetApiName added in v0.4.28

func (d *RoleServiceDescriptor) GetApiName() string

func (*RoleServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *RoleServiceDescriptor) GetFullAPIName() string

func (*RoleServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *RoleServiceDescriptor) GetProtoPkgName() string

func (*RoleServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *RoleServiceDescriptor) GetServiceDomain() string

func (*RoleServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *RoleServiceDescriptor) GetServiceVersion() string

type UpdateRoleDescriptor added in v0.4.28

type UpdateRoleDescriptor struct{}

func GetUpdateRoleDescriptor added in v0.4.28

func GetUpdateRoleDescriptor() *UpdateRoleDescriptor

func (*UpdateRoleDescriptor) GetApiDescriptor added in v0.4.28

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

func (*UpdateRoleDescriptor) GetApiName added in v0.4.28

func (d *UpdateRoleDescriptor) GetApiName() string

func (*UpdateRoleDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*UpdateRoleDescriptor) GetFullMethodName added in v0.4.28

func (d *UpdateRoleDescriptor) GetFullMethodName() string

func (*UpdateRoleDescriptor) GetMethodName added in v0.4.28

func (d *UpdateRoleDescriptor) GetMethodName() string

func (*UpdateRoleDescriptor) GetProtoPkgName added in v0.4.28

func (d *UpdateRoleDescriptor) GetProtoPkgName() string

func (*UpdateRoleDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*UpdateRoleDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*UpdateRoleDescriptor) GetServiceDomain added in v0.4.28

func (d *UpdateRoleDescriptor) GetServiceDomain() string

func (*UpdateRoleDescriptor) GetServiceVersion added in v0.4.28

func (d *UpdateRoleDescriptor) GetServiceVersion() string

func (*UpdateRoleDescriptor) GetVerb added in v0.4.28

func (d *UpdateRoleDescriptor) GetVerb() string

func (*UpdateRoleDescriptor) HasResource added in v0.4.30

func (d *UpdateRoleDescriptor) HasResource() bool

func (*UpdateRoleDescriptor) IsClientStream added in v0.4.28

func (d *UpdateRoleDescriptor) IsClientStream() bool

func (*UpdateRoleDescriptor) IsCollection added in v0.4.30

func (d *UpdateRoleDescriptor) IsCollection() bool

func (*UpdateRoleDescriptor) IsPlural added in v0.4.30

func (d *UpdateRoleDescriptor) IsPlural() bool

func (*UpdateRoleDescriptor) IsServerStream added in v0.4.28

func (d *UpdateRoleDescriptor) IsServerStream() bool

func (*UpdateRoleDescriptor) IsUnary added in v0.4.28

func (d *UpdateRoleDescriptor) IsUnary() bool

func (*UpdateRoleDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*UpdateRoleDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*UpdateRoleDescriptor) RequestHasResourceBody added in v0.4.28

func (d *UpdateRoleDescriptor) RequestHasResourceBody() bool

type UpdateRoleDescriptorClientMsgHandle added in v0.4.28

type UpdateRoleDescriptorClientMsgHandle struct{}

func (*UpdateRoleDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*UpdateRoleDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateRoleDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateRoleDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateRoleDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type UpdateRoleDescriptorServerMsgHandle added in v0.4.28

type UpdateRoleDescriptorServerMsgHandle struct{}

func (*UpdateRoleDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*UpdateRoleDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateRoleDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateRoleDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateRoleDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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
}

Request message for method [UpdateRole][ntt.iam.v1alpha2.UpdateRole]

func (*UpdateRoleRequest) Descriptor

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

Deprecated, Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetAllowMissing added in v0.12.33

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 added in v0.12.33

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 added in v0.4.28

type WatchRoleDescriptor struct{}

func GetWatchRoleDescriptor added in v0.4.28

func GetWatchRoleDescriptor() *WatchRoleDescriptor

func (*WatchRoleDescriptor) GetApiDescriptor added in v0.4.28

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

func (*WatchRoleDescriptor) GetApiName added in v0.4.28

func (d *WatchRoleDescriptor) GetApiName() string

func (*WatchRoleDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchRoleDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchRoleDescriptor) GetFullMethodName() string

func (*WatchRoleDescriptor) GetMethodName added in v0.4.28

func (d *WatchRoleDescriptor) GetMethodName() string

func (*WatchRoleDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchRoleDescriptor) GetProtoPkgName() string

func (*WatchRoleDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchRoleDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchRoleDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchRoleDescriptor) GetServiceDomain() string

func (*WatchRoleDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchRoleDescriptor) GetServiceVersion() string

func (*WatchRoleDescriptor) GetVerb added in v0.4.28

func (d *WatchRoleDescriptor) GetVerb() string

func (*WatchRoleDescriptor) HasResource added in v0.4.30

func (d *WatchRoleDescriptor) HasResource() bool

func (*WatchRoleDescriptor) IsClientStream added in v0.4.28

func (d *WatchRoleDescriptor) IsClientStream() bool

func (*WatchRoleDescriptor) IsCollection added in v0.4.30

func (d *WatchRoleDescriptor) IsCollection() bool

func (*WatchRoleDescriptor) IsPlural added in v0.4.30

func (d *WatchRoleDescriptor) IsPlural() bool

func (*WatchRoleDescriptor) IsServerStream added in v0.4.28

func (d *WatchRoleDescriptor) IsServerStream() bool

func (*WatchRoleDescriptor) IsUnary added in v0.4.28

func (d *WatchRoleDescriptor) IsUnary() bool

func (*WatchRoleDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchRoleDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchRoleDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchRoleDescriptor) RequestHasResourceBody() bool

type WatchRoleDescriptorClientMsgHandle added in v0.4.28

type WatchRoleDescriptorClientMsgHandle struct{}

func (*WatchRoleDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*WatchRoleDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchRoleDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchRoleDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchRoleDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchRoleDescriptorServerMsgHandle added in v0.4.28

type WatchRoleDescriptorServerMsgHandle struct{}

func (*WatchRoleDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*WatchRoleDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchRoleDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchRoleDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchRoleDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchRoleRequest

type WatchRoleRequest struct {

	// Name of ntt.iam.v1alpha2.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
}

Request message for method [WatchRole][ntt.iam.v1alpha2.WatchRole]

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
}

WatchRoleResponse

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 added in v0.4.28

type WatchRolesDescriptor struct{}

func GetWatchRolesDescriptor added in v0.4.28

func GetWatchRolesDescriptor() *WatchRolesDescriptor

func (*WatchRolesDescriptor) GetApiDescriptor added in v0.4.28

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

func (*WatchRolesDescriptor) GetApiName added in v0.4.28

func (d *WatchRolesDescriptor) GetApiName() string

func (*WatchRolesDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchRolesDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchRolesDescriptor) GetFullMethodName() string

func (*WatchRolesDescriptor) GetMethodName added in v0.4.28

func (d *WatchRolesDescriptor) GetMethodName() string

func (*WatchRolesDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchRolesDescriptor) GetProtoPkgName() string

func (*WatchRolesDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchRolesDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchRolesDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchRolesDescriptor) GetServiceDomain() string

func (*WatchRolesDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchRolesDescriptor) GetServiceVersion() string

func (*WatchRolesDescriptor) GetVerb added in v0.4.28

func (d *WatchRolesDescriptor) GetVerb() string

func (*WatchRolesDescriptor) HasResource added in v0.4.30

func (d *WatchRolesDescriptor) HasResource() bool

func (*WatchRolesDescriptor) IsClientStream added in v0.4.28

func (d *WatchRolesDescriptor) IsClientStream() bool

func (*WatchRolesDescriptor) IsCollection added in v0.4.30

func (d *WatchRolesDescriptor) IsCollection() bool

func (*WatchRolesDescriptor) IsPlural added in v0.4.30

func (d *WatchRolesDescriptor) IsPlural() bool

func (*WatchRolesDescriptor) IsServerStream added in v0.4.28

func (d *WatchRolesDescriptor) IsServerStream() bool

func (*WatchRolesDescriptor) IsUnary added in v0.4.28

func (d *WatchRolesDescriptor) IsUnary() bool

func (*WatchRolesDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchRolesDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchRolesDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchRolesDescriptor) RequestHasResourceBody() bool

type WatchRolesDescriptorClientMsgHandle added in v0.4.28

type WatchRolesDescriptorClientMsgHandle struct{}

func (*WatchRolesDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*WatchRolesDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchRolesDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchRolesDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchRolesDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchRolesDescriptorServerMsgHandle added in v0.4.28

type WatchRolesDescriptorServerMsgHandle struct{}

func (*WatchRolesDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*WatchRolesDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchRolesDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchRolesDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchRolesDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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"`
	// 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
}

Request message for method [WatchRoles][ntt.iam.v1alpha2.WatchRoles]

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) GetResumeToken

func (m *WatchRolesRequest) GetResumeToken() string

func (*WatchRolesRequest) GetStartingTime added in v0.9.0

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) SetResumeToken

func (m *WatchRolesRequest) SetResumeToken(fv string)

func (*WatchRolesRequest) SetStartingTime added in v0.9.0

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
}

WatchRolesResponse

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