permission_client

package
v1.0.46 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetPermissionsDescriptor

type BatchGetPermissionsDescriptor struct{}

func GetBatchGetPermissionsDescriptor

func GetBatchGetPermissionsDescriptor() *BatchGetPermissionsDescriptor

func (*BatchGetPermissionsDescriptor) GetApiDescriptor

func (*BatchGetPermissionsDescriptor) GetApiName

func (d *BatchGetPermissionsDescriptor) GetApiName() string

func (*BatchGetPermissionsDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetPermissionsDescriptor) GetFullMethodName

func (d *BatchGetPermissionsDescriptor) GetFullMethodName() string

func (*BatchGetPermissionsDescriptor) GetMethodName

func (d *BatchGetPermissionsDescriptor) GetMethodName() string

func (*BatchGetPermissionsDescriptor) GetProtoPkgName

func (d *BatchGetPermissionsDescriptor) GetProtoPkgName() string

func (*BatchGetPermissionsDescriptor) GetResourceDescriptor

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

func (*BatchGetPermissionsDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetPermissionsDescriptor) GetServiceDomain

func (d *BatchGetPermissionsDescriptor) GetServiceDomain() string

func (*BatchGetPermissionsDescriptor) GetServiceVersion

func (d *BatchGetPermissionsDescriptor) GetServiceVersion() string

func (*BatchGetPermissionsDescriptor) GetVerb

func (*BatchGetPermissionsDescriptor) HasResource

func (d *BatchGetPermissionsDescriptor) HasResource() bool

func (*BatchGetPermissionsDescriptor) IsClientStream

func (d *BatchGetPermissionsDescriptor) IsClientStream() bool

func (*BatchGetPermissionsDescriptor) IsCollection

func (d *BatchGetPermissionsDescriptor) IsCollection() bool

func (*BatchGetPermissionsDescriptor) IsPlural

func (d *BatchGetPermissionsDescriptor) IsPlural() bool

func (*BatchGetPermissionsDescriptor) IsServerStream

func (d *BatchGetPermissionsDescriptor) IsServerStream() bool

func (*BatchGetPermissionsDescriptor) IsUnary

func (d *BatchGetPermissionsDescriptor) IsUnary() bool

func (*BatchGetPermissionsDescriptor) NewEmptyClientMsg

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

func (*BatchGetPermissionsDescriptor) NewEmptyServerMsg

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

func (*BatchGetPermissionsDescriptor) RequestHasResourceBody

func (d *BatchGetPermissionsDescriptor) RequestHasResourceBody() bool

type BatchGetPermissionsDescriptorClientMsgHandle

type BatchGetPermissionsDescriptorClientMsgHandle struct{}

func (*BatchGetPermissionsDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetPermissionsDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetPermissionsDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetPermissionsDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetPermissionsDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetPermissionsDescriptorServerMsgHandle

type BatchGetPermissionsDescriptorServerMsgHandle struct{}

func (*BatchGetPermissionsDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetPermissionsDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetPermissionsDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetPermissionsDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetPermissionsDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetPermissionsRequest

type BatchGetPermissionsRequest struct {

	// Names of Permissions
	Names []*permission.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 *permission.Permission_FieldMask `` /* 142-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 [BatchGetPermissions][ntt.iam.v1.BatchGetPermissions]

func (*BatchGetPermissionsRequest) Descriptor

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

Deprecated, Use BatchGetPermissionsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetPermissionsRequest) GetFieldMask

func (*BatchGetPermissionsRequest) GetNames

func (m *BatchGetPermissionsRequest) GetNames() []*permission.Name

func (*BatchGetPermissionsRequest) GetView

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

func (*BatchGetPermissionsRequest) GotenMessage

func (*BatchGetPermissionsRequest) GotenMessage()

func (*BatchGetPermissionsRequest) GotenValidate

func (obj *BatchGetPermissionsRequest) GotenValidate() error

func (*BatchGetPermissionsRequest) Marshal

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

func (*BatchGetPermissionsRequest) MarshalJSON

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

func (*BatchGetPermissionsRequest) ProtoMessage

func (*BatchGetPermissionsRequest) ProtoMessage()

func (*BatchGetPermissionsRequest) ProtoReflect

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

func (*BatchGetPermissionsRequest) Reset

func (m *BatchGetPermissionsRequest) Reset()

func (*BatchGetPermissionsRequest) SetFieldMask

func (*BatchGetPermissionsRequest) SetNames

func (m *BatchGetPermissionsRequest) SetNames(fv []*permission.Name)

func (*BatchGetPermissionsRequest) SetView

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

func (*BatchGetPermissionsRequest) String

func (m *BatchGetPermissionsRequest) String() string

func (*BatchGetPermissionsRequest) Unmarshal

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

func (*BatchGetPermissionsRequest) UnmarshalJSON

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

type BatchGetPermissionsResponse

type BatchGetPermissionsResponse struct {

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

BatchGetPermissionsResponse

func (*BatchGetPermissionsResponse) Descriptor

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

Deprecated, Use BatchGetPermissionsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetPermissionsResponse) GetMissing

func (m *BatchGetPermissionsResponse) GetMissing() []*permission.Name

func (*BatchGetPermissionsResponse) GetPermissions

func (m *BatchGetPermissionsResponse) GetPermissions() []*permission.Permission

func (*BatchGetPermissionsResponse) GotenMessage

func (*BatchGetPermissionsResponse) GotenMessage()

func (*BatchGetPermissionsResponse) GotenValidate

func (obj *BatchGetPermissionsResponse) GotenValidate() error

func (*BatchGetPermissionsResponse) Marshal

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

func (*BatchGetPermissionsResponse) MarshalJSON

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

func (*BatchGetPermissionsResponse) ProtoMessage

func (*BatchGetPermissionsResponse) ProtoMessage()

func (*BatchGetPermissionsResponse) ProtoReflect

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

func (*BatchGetPermissionsResponse) Reset

func (m *BatchGetPermissionsResponse) Reset()

func (*BatchGetPermissionsResponse) SetMissing

func (m *BatchGetPermissionsResponse) SetMissing(fv []*permission.Name)

func (*BatchGetPermissionsResponse) SetPermissions

func (m *BatchGetPermissionsResponse) SetPermissions(fv []*permission.Permission)

func (*BatchGetPermissionsResponse) String

func (m *BatchGetPermissionsResponse) String() string

func (*BatchGetPermissionsResponse) Unmarshal

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

func (*BatchGetPermissionsResponse) UnmarshalJSON

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

type CreatePermissionDescriptor

type CreatePermissionDescriptor struct{}

func GetCreatePermissionDescriptor

func GetCreatePermissionDescriptor() *CreatePermissionDescriptor

func (*CreatePermissionDescriptor) GetApiDescriptor

func (*CreatePermissionDescriptor) GetApiName

func (d *CreatePermissionDescriptor) GetApiName() string

func (*CreatePermissionDescriptor) GetClientMsgReflectHandle

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

func (*CreatePermissionDescriptor) GetFullMethodName

func (d *CreatePermissionDescriptor) GetFullMethodName() string

func (*CreatePermissionDescriptor) GetMethodName

func (d *CreatePermissionDescriptor) GetMethodName() string

func (*CreatePermissionDescriptor) GetProtoPkgName

func (d *CreatePermissionDescriptor) GetProtoPkgName() string

func (*CreatePermissionDescriptor) GetResourceDescriptor

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

func (*CreatePermissionDescriptor) GetServerMsgReflectHandle

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

func (*CreatePermissionDescriptor) GetServiceDomain

func (d *CreatePermissionDescriptor) GetServiceDomain() string

func (*CreatePermissionDescriptor) GetServiceVersion

func (d *CreatePermissionDescriptor) GetServiceVersion() string

func (*CreatePermissionDescriptor) GetVerb

func (d *CreatePermissionDescriptor) GetVerb() string

func (*CreatePermissionDescriptor) HasResource

func (d *CreatePermissionDescriptor) HasResource() bool

func (*CreatePermissionDescriptor) IsClientStream

func (d *CreatePermissionDescriptor) IsClientStream() bool

func (*CreatePermissionDescriptor) IsCollection

func (d *CreatePermissionDescriptor) IsCollection() bool

func (*CreatePermissionDescriptor) IsPlural

func (d *CreatePermissionDescriptor) IsPlural() bool

func (*CreatePermissionDescriptor) IsServerStream

func (d *CreatePermissionDescriptor) IsServerStream() bool

func (*CreatePermissionDescriptor) IsUnary

func (d *CreatePermissionDescriptor) IsUnary() bool

func (*CreatePermissionDescriptor) NewEmptyClientMsg

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

func (*CreatePermissionDescriptor) NewEmptyServerMsg

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

func (*CreatePermissionDescriptor) RequestHasResourceBody

func (d *CreatePermissionDescriptor) RequestHasResourceBody() bool

type CreatePermissionDescriptorClientMsgHandle

type CreatePermissionDescriptorClientMsgHandle struct{}

func (*CreatePermissionDescriptorClientMsgHandle) ExtractCollectionName

func (*CreatePermissionDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreatePermissionDescriptorClientMsgHandle) ExtractResourceBody

func (*CreatePermissionDescriptorClientMsgHandle) ExtractResourceName

func (*CreatePermissionDescriptorClientMsgHandle) ExtractResourceNames

type CreatePermissionDescriptorServerMsgHandle

type CreatePermissionDescriptorServerMsgHandle struct{}

func (*CreatePermissionDescriptorServerMsgHandle) ExtractCollectionName

func (*CreatePermissionDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreatePermissionDescriptorServerMsgHandle) ExtractResourceBody

func (*CreatePermissionDescriptorServerMsgHandle) ExtractResourceName

func (*CreatePermissionDescriptorServerMsgHandle) ExtractResourceNames

type CreatePermissionRequest

type CreatePermissionRequest struct {

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

Request message for method [CreatePermission][ntt.iam.v1.CreatePermission]

func (*CreatePermissionRequest) Descriptor

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

Deprecated, Use CreatePermissionRequest.ProtoReflect.Descriptor instead.

func (*CreatePermissionRequest) GetParent

func (*CreatePermissionRequest) GetPermission

func (m *CreatePermissionRequest) GetPermission() *permission.Permission

func (*CreatePermissionRequest) GotenMessage

func (*CreatePermissionRequest) GotenMessage()

func (*CreatePermissionRequest) GotenValidate

func (obj *CreatePermissionRequest) GotenValidate() error

func (*CreatePermissionRequest) Marshal

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

func (*CreatePermissionRequest) MarshalJSON

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

func (*CreatePermissionRequest) ProtoMessage

func (*CreatePermissionRequest) ProtoMessage()

func (*CreatePermissionRequest) ProtoReflect

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

func (*CreatePermissionRequest) Reset

func (m *CreatePermissionRequest) Reset()

func (*CreatePermissionRequest) SetParent

func (m *CreatePermissionRequest) SetParent(fv *permission.ParentName)

func (*CreatePermissionRequest) SetPermission

func (m *CreatePermissionRequest) SetPermission(fv *permission.Permission)

func (*CreatePermissionRequest) String

func (m *CreatePermissionRequest) String() string

func (*CreatePermissionRequest) Unmarshal

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

func (*CreatePermissionRequest) UnmarshalJSON

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

type DeletePermissionDescriptor

type DeletePermissionDescriptor struct{}

func GetDeletePermissionDescriptor

func GetDeletePermissionDescriptor() *DeletePermissionDescriptor

func (*DeletePermissionDescriptor) GetApiDescriptor

func (*DeletePermissionDescriptor) GetApiName

func (d *DeletePermissionDescriptor) GetApiName() string

func (*DeletePermissionDescriptor) GetClientMsgReflectHandle

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

func (*DeletePermissionDescriptor) GetFullMethodName

func (d *DeletePermissionDescriptor) GetFullMethodName() string

func (*DeletePermissionDescriptor) GetMethodName

func (d *DeletePermissionDescriptor) GetMethodName() string

func (*DeletePermissionDescriptor) GetProtoPkgName

func (d *DeletePermissionDescriptor) GetProtoPkgName() string

func (*DeletePermissionDescriptor) GetResourceDescriptor

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

func (*DeletePermissionDescriptor) GetServerMsgReflectHandle

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

func (*DeletePermissionDescriptor) GetServiceDomain

func (d *DeletePermissionDescriptor) GetServiceDomain() string

func (*DeletePermissionDescriptor) GetServiceVersion

func (d *DeletePermissionDescriptor) GetServiceVersion() string

func (*DeletePermissionDescriptor) GetVerb

func (d *DeletePermissionDescriptor) GetVerb() string

func (*DeletePermissionDescriptor) HasResource

func (d *DeletePermissionDescriptor) HasResource() bool

func (*DeletePermissionDescriptor) IsClientStream

func (d *DeletePermissionDescriptor) IsClientStream() bool

func (*DeletePermissionDescriptor) IsCollection

func (d *DeletePermissionDescriptor) IsCollection() bool

func (*DeletePermissionDescriptor) IsPlural

func (d *DeletePermissionDescriptor) IsPlural() bool

func (*DeletePermissionDescriptor) IsServerStream

func (d *DeletePermissionDescriptor) IsServerStream() bool

func (*DeletePermissionDescriptor) IsUnary

func (d *DeletePermissionDescriptor) IsUnary() bool

func (*DeletePermissionDescriptor) NewEmptyClientMsg

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

func (*DeletePermissionDescriptor) NewEmptyServerMsg

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

func (*DeletePermissionDescriptor) RequestHasResourceBody

func (d *DeletePermissionDescriptor) RequestHasResourceBody() bool

type DeletePermissionDescriptorClientMsgHandle

type DeletePermissionDescriptorClientMsgHandle struct{}

func (*DeletePermissionDescriptorClientMsgHandle) ExtractCollectionName

func (*DeletePermissionDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeletePermissionDescriptorClientMsgHandle) ExtractResourceBody

func (*DeletePermissionDescriptorClientMsgHandle) ExtractResourceName

func (*DeletePermissionDescriptorClientMsgHandle) ExtractResourceNames

type DeletePermissionDescriptorServerMsgHandle

type DeletePermissionDescriptorServerMsgHandle struct{}

func (*DeletePermissionDescriptorServerMsgHandle) ExtractCollectionName

func (*DeletePermissionDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeletePermissionDescriptorServerMsgHandle) ExtractResourceBody

func (*DeletePermissionDescriptorServerMsgHandle) ExtractResourceName

func (*DeletePermissionDescriptorServerMsgHandle) ExtractResourceNames

type DeletePermissionRequest

type DeletePermissionRequest struct {

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

Request message for method [DeletePermission][ntt.iam.v1.DeletePermission]

func (*DeletePermissionRequest) Descriptor

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

Deprecated, Use DeletePermissionRequest.ProtoReflect.Descriptor instead.

func (*DeletePermissionRequest) GetName

func (m *DeletePermissionRequest) GetName() *permission.Name

func (*DeletePermissionRequest) GotenMessage

func (*DeletePermissionRequest) GotenMessage()

func (*DeletePermissionRequest) GotenValidate

func (obj *DeletePermissionRequest) GotenValidate() error

func (*DeletePermissionRequest) Marshal

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

func (*DeletePermissionRequest) MarshalJSON

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

func (*DeletePermissionRequest) ProtoMessage

func (*DeletePermissionRequest) ProtoMessage()

func (*DeletePermissionRequest) ProtoReflect

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

func (*DeletePermissionRequest) Reset

func (m *DeletePermissionRequest) Reset()

func (*DeletePermissionRequest) SetName

func (m *DeletePermissionRequest) SetName(fv *permission.Name)

func (*DeletePermissionRequest) String

func (m *DeletePermissionRequest) String() string

func (*DeletePermissionRequest) Unmarshal

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

func (*DeletePermissionRequest) UnmarshalJSON

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

type GetPermissionDescriptor

type GetPermissionDescriptor struct{}

func GetGetPermissionDescriptor

func GetGetPermissionDescriptor() *GetPermissionDescriptor

func (*GetPermissionDescriptor) GetApiDescriptor

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

func (*GetPermissionDescriptor) GetApiName

func (d *GetPermissionDescriptor) GetApiName() string

func (*GetPermissionDescriptor) GetClientMsgReflectHandle

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

func (*GetPermissionDescriptor) GetFullMethodName

func (d *GetPermissionDescriptor) GetFullMethodName() string

func (*GetPermissionDescriptor) GetMethodName

func (d *GetPermissionDescriptor) GetMethodName() string

func (*GetPermissionDescriptor) GetProtoPkgName

func (d *GetPermissionDescriptor) GetProtoPkgName() string

func (*GetPermissionDescriptor) GetResourceDescriptor

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

func (*GetPermissionDescriptor) GetServerMsgReflectHandle

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

func (*GetPermissionDescriptor) GetServiceDomain

func (d *GetPermissionDescriptor) GetServiceDomain() string

func (*GetPermissionDescriptor) GetServiceVersion

func (d *GetPermissionDescriptor) GetServiceVersion() string

func (*GetPermissionDescriptor) GetVerb

func (d *GetPermissionDescriptor) GetVerb() string

func (*GetPermissionDescriptor) HasResource

func (d *GetPermissionDescriptor) HasResource() bool

func (*GetPermissionDescriptor) IsClientStream

func (d *GetPermissionDescriptor) IsClientStream() bool

func (*GetPermissionDescriptor) IsCollection

func (d *GetPermissionDescriptor) IsCollection() bool

func (*GetPermissionDescriptor) IsPlural

func (d *GetPermissionDescriptor) IsPlural() bool

func (*GetPermissionDescriptor) IsServerStream

func (d *GetPermissionDescriptor) IsServerStream() bool

func (*GetPermissionDescriptor) IsUnary

func (d *GetPermissionDescriptor) IsUnary() bool

func (*GetPermissionDescriptor) NewEmptyClientMsg

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

func (*GetPermissionDescriptor) NewEmptyServerMsg

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

func (*GetPermissionDescriptor) RequestHasResourceBody

func (d *GetPermissionDescriptor) RequestHasResourceBody() bool

type GetPermissionDescriptorClientMsgHandle

type GetPermissionDescriptorClientMsgHandle struct{}

func (*GetPermissionDescriptorClientMsgHandle) ExtractCollectionName

func (*GetPermissionDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetPermissionDescriptorClientMsgHandle) ExtractResourceBody

func (*GetPermissionDescriptorClientMsgHandle) ExtractResourceName

func (*GetPermissionDescriptorClientMsgHandle) ExtractResourceNames

type GetPermissionDescriptorServerMsgHandle

type GetPermissionDescriptorServerMsgHandle struct{}

func (*GetPermissionDescriptorServerMsgHandle) ExtractCollectionName

func (*GetPermissionDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetPermissionDescriptorServerMsgHandle) ExtractResourceBody

func (*GetPermissionDescriptorServerMsgHandle) ExtractResourceName

func (*GetPermissionDescriptorServerMsgHandle) ExtractResourceNames

type GetPermissionRequest

type GetPermissionRequest struct {

	// Name of ntt.iam.v1.Permission
	Name *permission.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 *permission.Permission_FieldMask `` /* 142-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 [GetPermission][ntt.iam.v1.GetPermission]

func (*GetPermissionRequest) Descriptor

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

Deprecated, Use GetPermissionRequest.ProtoReflect.Descriptor instead.

func (*GetPermissionRequest) GetFieldMask

func (*GetPermissionRequest) GetName

func (m *GetPermissionRequest) GetName() *permission.Name

func (*GetPermissionRequest) GetView

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

func (*GetPermissionRequest) GotenMessage

func (*GetPermissionRequest) GotenMessage()

func (*GetPermissionRequest) GotenValidate

func (obj *GetPermissionRequest) GotenValidate() error

func (*GetPermissionRequest) Marshal

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

func (*GetPermissionRequest) MarshalJSON

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

func (*GetPermissionRequest) ProtoMessage

func (*GetPermissionRequest) ProtoMessage()

func (*GetPermissionRequest) ProtoReflect

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

func (*GetPermissionRequest) Reset

func (m *GetPermissionRequest) Reset()

func (*GetPermissionRequest) SetFieldMask

func (*GetPermissionRequest) SetName

func (m *GetPermissionRequest) SetName(fv *permission.Name)

func (*GetPermissionRequest) SetView

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

func (*GetPermissionRequest) String

func (m *GetPermissionRequest) String() string

func (*GetPermissionRequest) Unmarshal

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

func (*GetPermissionRequest) UnmarshalJSON

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

type ListPermissionsDescriptor

type ListPermissionsDescriptor struct{}

func GetListPermissionsDescriptor

func GetListPermissionsDescriptor() *ListPermissionsDescriptor

func (*ListPermissionsDescriptor) GetApiDescriptor

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

func (*ListPermissionsDescriptor) GetApiName

func (d *ListPermissionsDescriptor) GetApiName() string

func (*ListPermissionsDescriptor) GetClientMsgReflectHandle

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

func (*ListPermissionsDescriptor) GetFullMethodName

func (d *ListPermissionsDescriptor) GetFullMethodName() string

func (*ListPermissionsDescriptor) GetMethodName

func (d *ListPermissionsDescriptor) GetMethodName() string

func (*ListPermissionsDescriptor) GetProtoPkgName

func (d *ListPermissionsDescriptor) GetProtoPkgName() string

func (*ListPermissionsDescriptor) GetResourceDescriptor

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

func (*ListPermissionsDescriptor) GetServerMsgReflectHandle

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

func (*ListPermissionsDescriptor) GetServiceDomain

func (d *ListPermissionsDescriptor) GetServiceDomain() string

func (*ListPermissionsDescriptor) GetServiceVersion

func (d *ListPermissionsDescriptor) GetServiceVersion() string

func (*ListPermissionsDescriptor) GetVerb

func (d *ListPermissionsDescriptor) GetVerb() string

func (*ListPermissionsDescriptor) HasResource

func (d *ListPermissionsDescriptor) HasResource() bool

func (*ListPermissionsDescriptor) IsClientStream

func (d *ListPermissionsDescriptor) IsClientStream() bool

func (*ListPermissionsDescriptor) IsCollection

func (d *ListPermissionsDescriptor) IsCollection() bool

func (*ListPermissionsDescriptor) IsPlural

func (d *ListPermissionsDescriptor) IsPlural() bool

func (*ListPermissionsDescriptor) IsServerStream

func (d *ListPermissionsDescriptor) IsServerStream() bool

func (*ListPermissionsDescriptor) IsUnary

func (d *ListPermissionsDescriptor) IsUnary() bool

func (*ListPermissionsDescriptor) NewEmptyClientMsg

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

func (*ListPermissionsDescriptor) NewEmptyServerMsg

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

func (*ListPermissionsDescriptor) RequestHasResourceBody

func (d *ListPermissionsDescriptor) RequestHasResourceBody() bool

type ListPermissionsDescriptorClientMsgHandle

type ListPermissionsDescriptorClientMsgHandle struct{}

func (*ListPermissionsDescriptorClientMsgHandle) ExtractCollectionName

func (*ListPermissionsDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListPermissionsDescriptorClientMsgHandle) ExtractResourceBody

func (*ListPermissionsDescriptorClientMsgHandle) ExtractResourceName

func (*ListPermissionsDescriptorClientMsgHandle) ExtractResourceNames

type ListPermissionsDescriptorServerMsgHandle

type ListPermissionsDescriptorServerMsgHandle struct{}

func (*ListPermissionsDescriptorServerMsgHandle) ExtractCollectionName

func (*ListPermissionsDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListPermissionsDescriptorServerMsgHandle) ExtractResourceBody

func (*ListPermissionsDescriptorServerMsgHandle) ExtractResourceName

func (*ListPermissionsDescriptorServerMsgHandle) ExtractResourceNames

type ListPermissionsRequest

type ListPermissionsRequest struct {

	// Parent name of ntt.iam.v1.Permission
	Parent *permission.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Permissions 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
	// [ListPermissionsResponse.next_page_token][ntt.iam.v1.ListPermissionsResponse.next_page_token]
	PageToken *permission.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 *permission.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 *permission.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 *permission.Permission_FieldMask `` /* 142-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 [ListPermissions][ntt.iam.v1.ListPermissions]

func (*ListPermissionsRequest) Descriptor

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

Deprecated, Use ListPermissionsRequest.ProtoReflect.Descriptor instead.

func (*ListPermissionsRequest) GetFieldMask

func (*ListPermissionsRequest) GetFilter

func (m *ListPermissionsRequest) GetFilter() *permission.Filter

func (*ListPermissionsRequest) GetIncludePagingInfo

func (m *ListPermissionsRequest) GetIncludePagingInfo() bool

func (*ListPermissionsRequest) GetOrderBy

func (m *ListPermissionsRequest) GetOrderBy() *permission.OrderBy

func (*ListPermissionsRequest) GetPageSize

func (m *ListPermissionsRequest) GetPageSize() int32

func (*ListPermissionsRequest) GetPageToken

func (m *ListPermissionsRequest) GetPageToken() *permission.PagerCursor

func (*ListPermissionsRequest) GetParent

func (*ListPermissionsRequest) GetView

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

func (*ListPermissionsRequest) GotenMessage

func (*ListPermissionsRequest) GotenMessage()

func (*ListPermissionsRequest) GotenValidate

func (obj *ListPermissionsRequest) GotenValidate() error

func (*ListPermissionsRequest) Marshal

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

func (*ListPermissionsRequest) MarshalJSON

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

func (*ListPermissionsRequest) ProtoMessage

func (*ListPermissionsRequest) ProtoMessage()

func (*ListPermissionsRequest) ProtoReflect

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

func (*ListPermissionsRequest) Reset

func (m *ListPermissionsRequest) Reset()

func (*ListPermissionsRequest) SetFieldMask

func (*ListPermissionsRequest) SetFilter

func (m *ListPermissionsRequest) SetFilter(fv *permission.Filter)

func (*ListPermissionsRequest) SetIncludePagingInfo

func (m *ListPermissionsRequest) SetIncludePagingInfo(fv bool)

func (*ListPermissionsRequest) SetOrderBy

func (m *ListPermissionsRequest) SetOrderBy(fv *permission.OrderBy)

func (*ListPermissionsRequest) SetPageSize

func (m *ListPermissionsRequest) SetPageSize(fv int32)

func (*ListPermissionsRequest) SetPageToken

func (m *ListPermissionsRequest) SetPageToken(fv *permission.PagerCursor)

func (*ListPermissionsRequest) SetParent

func (m *ListPermissionsRequest) SetParent(fv *permission.ParentName)

func (*ListPermissionsRequest) SetView

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

func (*ListPermissionsRequest) String

func (m *ListPermissionsRequest) String() string

func (*ListPermissionsRequest) Unmarshal

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

func (*ListPermissionsRequest) UnmarshalJSON

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

type ListPermissionsResponse

type ListPermissionsResponse struct {

	// The list of Permissions
	Permissions []*permission.Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty" firestore:"permissions"`
	// A token to retrieve previous page of results. Pass this value in the
	// [ListPermissionsRequest.page_token][ntt.iam.v1.ListPermissionsRequest.page_token]
	PrevPageToken *permission.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results. Pass this value in the
	// [ListPermissionsRequest.page_token][ntt.iam.v1.ListPermissionsRequest.page_token]
	NextPageToken *permission.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 Permissions 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 [ListPermissions][ntt.iam.v1.ListPermissions]

func (*ListPermissionsResponse) Descriptor

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

Deprecated, Use ListPermissionsResponse.ProtoReflect.Descriptor instead.

func (*ListPermissionsResponse) GetCurrentOffset

func (m *ListPermissionsResponse) GetCurrentOffset() int32

func (*ListPermissionsResponse) GetNextPageToken

func (m *ListPermissionsResponse) GetNextPageToken() *permission.PagerCursor

func (*ListPermissionsResponse) GetPermissions

func (m *ListPermissionsResponse) GetPermissions() []*permission.Permission

func (*ListPermissionsResponse) GetPrevPageToken

func (m *ListPermissionsResponse) GetPrevPageToken() *permission.PagerCursor

func (*ListPermissionsResponse) GetTotalResultsCount

func (m *ListPermissionsResponse) GetTotalResultsCount() int32

func (*ListPermissionsResponse) GotenMessage

func (*ListPermissionsResponse) GotenMessage()

func (*ListPermissionsResponse) GotenValidate

func (obj *ListPermissionsResponse) GotenValidate() error

func (*ListPermissionsResponse) Marshal

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

func (*ListPermissionsResponse) MarshalJSON

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

func (*ListPermissionsResponse) ProtoMessage

func (*ListPermissionsResponse) ProtoMessage()

func (*ListPermissionsResponse) ProtoReflect

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

func (*ListPermissionsResponse) Reset

func (m *ListPermissionsResponse) Reset()

func (*ListPermissionsResponse) SetCurrentOffset

func (m *ListPermissionsResponse) SetCurrentOffset(fv int32)

func (*ListPermissionsResponse) SetNextPageToken

func (m *ListPermissionsResponse) SetNextPageToken(fv *permission.PagerCursor)

func (*ListPermissionsResponse) SetPermissions

func (m *ListPermissionsResponse) SetPermissions(fv []*permission.Permission)

func (*ListPermissionsResponse) SetPrevPageToken

func (m *ListPermissionsResponse) SetPrevPageToken(fv *permission.PagerCursor)

func (*ListPermissionsResponse) SetTotalResultsCount

func (m *ListPermissionsResponse) SetTotalResultsCount(fv int32)

func (*ListPermissionsResponse) String

func (m *ListPermissionsResponse) String() string

func (*ListPermissionsResponse) Unmarshal

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

func (*ListPermissionsResponse) UnmarshalJSON

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

type PermissionServiceClient

type PermissionServiceClient interface {
	GetPermission(ctx context.Context, in *GetPermissionRequest, opts ...grpc.CallOption) (*permission.Permission, error)
	BatchGetPermissions(ctx context.Context, in *BatchGetPermissionsRequest, opts ...grpc.CallOption) (*BatchGetPermissionsResponse, error)
	ListPermissions(ctx context.Context, in *ListPermissionsRequest, opts ...grpc.CallOption) (*ListPermissionsResponse, error)
	WatchPermission(ctx context.Context, in *WatchPermissionRequest, opts ...grpc.CallOption) (WatchPermissionClientStream, error)
	WatchPermissions(ctx context.Context, in *WatchPermissionsRequest, opts ...grpc.CallOption) (WatchPermissionsClientStream, error)
	CreatePermission(ctx context.Context, in *CreatePermissionRequest, opts ...grpc.CallOption) (*permission.Permission, error)
	UpdatePermission(ctx context.Context, in *UpdatePermissionRequest, opts ...grpc.CallOption) (*permission.Permission, error)
	DeletePermission(ctx context.Context, in *DeletePermissionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

PermissionServiceClient is the client API for PermissionService.

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

type PermissionServiceDescriptor

type PermissionServiceDescriptor struct{}

func GetPermissionServiceDescriptor

func GetPermissionServiceDescriptor() *PermissionServiceDescriptor

func (*PermissionServiceDescriptor) AllMethodDescriptors

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

func (*PermissionServiceDescriptor) GetApiName

func (d *PermissionServiceDescriptor) GetApiName() string

func (*PermissionServiceDescriptor) GetFullAPIName

func (d *PermissionServiceDescriptor) GetFullAPIName() string

func (*PermissionServiceDescriptor) GetProtoPkgName

func (d *PermissionServiceDescriptor) GetProtoPkgName() string

func (*PermissionServiceDescriptor) GetServiceDomain

func (d *PermissionServiceDescriptor) GetServiceDomain() string

func (*PermissionServiceDescriptor) GetServiceVersion

func (d *PermissionServiceDescriptor) GetServiceVersion() string

type UpdatePermissionDescriptor

type UpdatePermissionDescriptor struct{}

func GetUpdatePermissionDescriptor

func GetUpdatePermissionDescriptor() *UpdatePermissionDescriptor

func (*UpdatePermissionDescriptor) GetApiDescriptor

func (*UpdatePermissionDescriptor) GetApiName

func (d *UpdatePermissionDescriptor) GetApiName() string

func (*UpdatePermissionDescriptor) GetClientMsgReflectHandle

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

func (*UpdatePermissionDescriptor) GetFullMethodName

func (d *UpdatePermissionDescriptor) GetFullMethodName() string

func (*UpdatePermissionDescriptor) GetMethodName

func (d *UpdatePermissionDescriptor) GetMethodName() string

func (*UpdatePermissionDescriptor) GetProtoPkgName

func (d *UpdatePermissionDescriptor) GetProtoPkgName() string

func (*UpdatePermissionDescriptor) GetResourceDescriptor

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

func (*UpdatePermissionDescriptor) GetServerMsgReflectHandle

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

func (*UpdatePermissionDescriptor) GetServiceDomain

func (d *UpdatePermissionDescriptor) GetServiceDomain() string

func (*UpdatePermissionDescriptor) GetServiceVersion

func (d *UpdatePermissionDescriptor) GetServiceVersion() string

func (*UpdatePermissionDescriptor) GetVerb

func (d *UpdatePermissionDescriptor) GetVerb() string

func (*UpdatePermissionDescriptor) HasResource

func (d *UpdatePermissionDescriptor) HasResource() bool

func (*UpdatePermissionDescriptor) IsClientStream

func (d *UpdatePermissionDescriptor) IsClientStream() bool

func (*UpdatePermissionDescriptor) IsCollection

func (d *UpdatePermissionDescriptor) IsCollection() bool

func (*UpdatePermissionDescriptor) IsPlural

func (d *UpdatePermissionDescriptor) IsPlural() bool

func (*UpdatePermissionDescriptor) IsServerStream

func (d *UpdatePermissionDescriptor) IsServerStream() bool

func (*UpdatePermissionDescriptor) IsUnary

func (d *UpdatePermissionDescriptor) IsUnary() bool

func (*UpdatePermissionDescriptor) NewEmptyClientMsg

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

func (*UpdatePermissionDescriptor) NewEmptyServerMsg

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

func (*UpdatePermissionDescriptor) RequestHasResourceBody

func (d *UpdatePermissionDescriptor) RequestHasResourceBody() bool

type UpdatePermissionDescriptorClientMsgHandle

type UpdatePermissionDescriptorClientMsgHandle struct{}

func (*UpdatePermissionDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdatePermissionDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdatePermissionDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdatePermissionDescriptorClientMsgHandle) ExtractResourceName

func (*UpdatePermissionDescriptorClientMsgHandle) ExtractResourceNames

type UpdatePermissionDescriptorServerMsgHandle

type UpdatePermissionDescriptorServerMsgHandle struct{}

func (*UpdatePermissionDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdatePermissionDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdatePermissionDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdatePermissionDescriptorServerMsgHandle) ExtractResourceName

func (*UpdatePermissionDescriptorServerMsgHandle) ExtractResourceNames

type UpdatePermissionRequest

type UpdatePermissionRequest struct {

	// Permission resource body
	Permission *permission.Permission `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty" firestore:"permission"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *permission.Permission_FieldMask `` /* 146-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 *UpdatePermissionRequest_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 [UpdatePermission][ntt.iam.v1.UpdatePermission]

func (*UpdatePermissionRequest) Descriptor

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

Deprecated, Use UpdatePermissionRequest.ProtoReflect.Descriptor instead.

func (*UpdatePermissionRequest) GetAllowMissing

func (m *UpdatePermissionRequest) GetAllowMissing() bool

func (*UpdatePermissionRequest) GetCas

func (*UpdatePermissionRequest) GetPermission

func (m *UpdatePermissionRequest) GetPermission() *permission.Permission

func (*UpdatePermissionRequest) GetUpdateMask

func (*UpdatePermissionRequest) GotenMessage

func (*UpdatePermissionRequest) GotenMessage()

func (*UpdatePermissionRequest) GotenValidate

func (obj *UpdatePermissionRequest) GotenValidate() error

func (*UpdatePermissionRequest) Marshal

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

func (*UpdatePermissionRequest) MarshalJSON

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

func (*UpdatePermissionRequest) ProtoMessage

func (*UpdatePermissionRequest) ProtoMessage()

func (*UpdatePermissionRequest) ProtoReflect

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

func (*UpdatePermissionRequest) Reset

func (m *UpdatePermissionRequest) Reset()

func (*UpdatePermissionRequest) SetAllowMissing

func (m *UpdatePermissionRequest) SetAllowMissing(fv bool)

func (*UpdatePermissionRequest) SetCas

func (*UpdatePermissionRequest) SetPermission

func (m *UpdatePermissionRequest) SetPermission(fv *permission.Permission)

func (*UpdatePermissionRequest) SetUpdateMask

func (*UpdatePermissionRequest) String

func (m *UpdatePermissionRequest) String() string

func (*UpdatePermissionRequest) Unmarshal

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

func (*UpdatePermissionRequest) UnmarshalJSON

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

type UpdatePermissionRequest_CAS

type UpdatePermissionRequest_CAS struct {

	// Conditional desired state of a resource before update.
	ConditionalState *permission.Permission `` /* 138-byte string literal not displayed */
	// Field paths from conditional state of resource server should check and
	// compare.
	FieldMask *permission.Permission_FieldMask `` /* 142-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 (*UpdatePermissionRequest_CAS) Descriptor

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

Deprecated, Use UpdatePermissionRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdatePermissionRequest_CAS) GetConditionalState

func (m *UpdatePermissionRequest_CAS) GetConditionalState() *permission.Permission

func (*UpdatePermissionRequest_CAS) GetFieldMask

func (*UpdatePermissionRequest_CAS) GotenMessage

func (*UpdatePermissionRequest_CAS) GotenMessage()

func (*UpdatePermissionRequest_CAS) GotenValidate

func (obj *UpdatePermissionRequest_CAS) GotenValidate() error

func (*UpdatePermissionRequest_CAS) Marshal

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

func (*UpdatePermissionRequest_CAS) MarshalJSON

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

func (*UpdatePermissionRequest_CAS) ProtoMessage

func (*UpdatePermissionRequest_CAS) ProtoMessage()

func (*UpdatePermissionRequest_CAS) ProtoReflect

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

func (*UpdatePermissionRequest_CAS) Reset

func (m *UpdatePermissionRequest_CAS) Reset()

func (*UpdatePermissionRequest_CAS) SetConditionalState

func (m *UpdatePermissionRequest_CAS) SetConditionalState(fv *permission.Permission)

func (*UpdatePermissionRequest_CAS) SetFieldMask

func (*UpdatePermissionRequest_CAS) String

func (m *UpdatePermissionRequest_CAS) String() string

func (*UpdatePermissionRequest_CAS) Unmarshal

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

func (*UpdatePermissionRequest_CAS) UnmarshalJSON

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

type WatchPermissionClientStream

type WatchPermissionClientStream interface {
	Recv() (*WatchPermissionResponse, error)
	grpc.ClientStream
}

type WatchPermissionDescriptor

type WatchPermissionDescriptor struct{}

func GetWatchPermissionDescriptor

func GetWatchPermissionDescriptor() *WatchPermissionDescriptor

func (*WatchPermissionDescriptor) GetApiDescriptor

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

func (*WatchPermissionDescriptor) GetApiName

func (d *WatchPermissionDescriptor) GetApiName() string

func (*WatchPermissionDescriptor) GetClientMsgReflectHandle

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

func (*WatchPermissionDescriptor) GetFullMethodName

func (d *WatchPermissionDescriptor) GetFullMethodName() string

func (*WatchPermissionDescriptor) GetMethodName

func (d *WatchPermissionDescriptor) GetMethodName() string

func (*WatchPermissionDescriptor) GetProtoPkgName

func (d *WatchPermissionDescriptor) GetProtoPkgName() string

func (*WatchPermissionDescriptor) GetResourceDescriptor

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

func (*WatchPermissionDescriptor) GetServerMsgReflectHandle

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

func (*WatchPermissionDescriptor) GetServiceDomain

func (d *WatchPermissionDescriptor) GetServiceDomain() string

func (*WatchPermissionDescriptor) GetServiceVersion

func (d *WatchPermissionDescriptor) GetServiceVersion() string

func (*WatchPermissionDescriptor) GetVerb

func (d *WatchPermissionDescriptor) GetVerb() string

func (*WatchPermissionDescriptor) HasResource

func (d *WatchPermissionDescriptor) HasResource() bool

func (*WatchPermissionDescriptor) IsClientStream

func (d *WatchPermissionDescriptor) IsClientStream() bool

func (*WatchPermissionDescriptor) IsCollection

func (d *WatchPermissionDescriptor) IsCollection() bool

func (*WatchPermissionDescriptor) IsPlural

func (d *WatchPermissionDescriptor) IsPlural() bool

func (*WatchPermissionDescriptor) IsServerStream

func (d *WatchPermissionDescriptor) IsServerStream() bool

func (*WatchPermissionDescriptor) IsUnary

func (d *WatchPermissionDescriptor) IsUnary() bool

func (*WatchPermissionDescriptor) NewEmptyClientMsg

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

func (*WatchPermissionDescriptor) NewEmptyServerMsg

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

func (*WatchPermissionDescriptor) RequestHasResourceBody

func (d *WatchPermissionDescriptor) RequestHasResourceBody() bool

type WatchPermissionDescriptorClientMsgHandle

type WatchPermissionDescriptorClientMsgHandle struct{}

func (*WatchPermissionDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchPermissionDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchPermissionDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchPermissionDescriptorClientMsgHandle) ExtractResourceName

func (*WatchPermissionDescriptorClientMsgHandle) ExtractResourceNames

type WatchPermissionDescriptorServerMsgHandle

type WatchPermissionDescriptorServerMsgHandle struct{}

func (*WatchPermissionDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchPermissionDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchPermissionDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchPermissionDescriptorServerMsgHandle) ExtractResourceName

func (*WatchPermissionDescriptorServerMsgHandle) ExtractResourceNames

type WatchPermissionRequest

type WatchPermissionRequest struct {

	// Name of ntt.iam.v1.Permission
	Name *permission.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 *permission.Permission_FieldMask `` /* 142-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 [WatchPermission][ntt.iam.v1.WatchPermission]

func (*WatchPermissionRequest) Descriptor

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

Deprecated, Use WatchPermissionRequest.ProtoReflect.Descriptor instead.

func (*WatchPermissionRequest) GetFieldMask

func (*WatchPermissionRequest) GetName

func (m *WatchPermissionRequest) GetName() *permission.Name

func (*WatchPermissionRequest) GetView

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

func (*WatchPermissionRequest) GotenMessage

func (*WatchPermissionRequest) GotenMessage()

func (*WatchPermissionRequest) GotenValidate

func (obj *WatchPermissionRequest) GotenValidate() error

func (*WatchPermissionRequest) Marshal

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

func (*WatchPermissionRequest) MarshalJSON

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

func (*WatchPermissionRequest) ProtoMessage

func (*WatchPermissionRequest) ProtoMessage()

func (*WatchPermissionRequest) ProtoReflect

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

func (*WatchPermissionRequest) Reset

func (m *WatchPermissionRequest) Reset()

func (*WatchPermissionRequest) SetFieldMask

func (*WatchPermissionRequest) SetName

func (m *WatchPermissionRequest) SetName(fv *permission.Name)

func (*WatchPermissionRequest) SetView

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

func (*WatchPermissionRequest) String

func (m *WatchPermissionRequest) String() string

func (*WatchPermissionRequest) Unmarshal

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

func (*WatchPermissionRequest) UnmarshalJSON

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

type WatchPermissionResponse

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

WatchPermissionResponse

func (*WatchPermissionResponse) Descriptor

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

Deprecated, Use WatchPermissionResponse.ProtoReflect.Descriptor instead.

func (*WatchPermissionResponse) GetChange

func (*WatchPermissionResponse) GotenMessage

func (*WatchPermissionResponse) GotenMessage()

func (*WatchPermissionResponse) GotenValidate

func (obj *WatchPermissionResponse) GotenValidate() error

func (*WatchPermissionResponse) Marshal

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

func (*WatchPermissionResponse) MarshalJSON

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

func (*WatchPermissionResponse) ProtoMessage

func (*WatchPermissionResponse) ProtoMessage()

func (*WatchPermissionResponse) ProtoReflect

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

func (*WatchPermissionResponse) Reset

func (m *WatchPermissionResponse) Reset()

func (*WatchPermissionResponse) SetChange

func (*WatchPermissionResponse) String

func (m *WatchPermissionResponse) String() string

func (*WatchPermissionResponse) Unmarshal

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

func (*WatchPermissionResponse) UnmarshalJSON

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

type WatchPermissionsClientStream

type WatchPermissionsClientStream interface {
	Recv() (*WatchPermissionsResponse, error)
	grpc.ClientStream
}

type WatchPermissionsDescriptor

type WatchPermissionsDescriptor struct{}

func GetWatchPermissionsDescriptor

func GetWatchPermissionsDescriptor() *WatchPermissionsDescriptor

func (*WatchPermissionsDescriptor) GetApiDescriptor

func (*WatchPermissionsDescriptor) GetApiName

func (d *WatchPermissionsDescriptor) GetApiName() string

func (*WatchPermissionsDescriptor) GetClientMsgReflectHandle

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

func (*WatchPermissionsDescriptor) GetFullMethodName

func (d *WatchPermissionsDescriptor) GetFullMethodName() string

func (*WatchPermissionsDescriptor) GetMethodName

func (d *WatchPermissionsDescriptor) GetMethodName() string

func (*WatchPermissionsDescriptor) GetProtoPkgName

func (d *WatchPermissionsDescriptor) GetProtoPkgName() string

func (*WatchPermissionsDescriptor) GetResourceDescriptor

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

func (*WatchPermissionsDescriptor) GetServerMsgReflectHandle

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

func (*WatchPermissionsDescriptor) GetServiceDomain

func (d *WatchPermissionsDescriptor) GetServiceDomain() string

func (*WatchPermissionsDescriptor) GetServiceVersion

func (d *WatchPermissionsDescriptor) GetServiceVersion() string

func (*WatchPermissionsDescriptor) GetVerb

func (d *WatchPermissionsDescriptor) GetVerb() string

func (*WatchPermissionsDescriptor) HasResource

func (d *WatchPermissionsDescriptor) HasResource() bool

func (*WatchPermissionsDescriptor) IsClientStream

func (d *WatchPermissionsDescriptor) IsClientStream() bool

func (*WatchPermissionsDescriptor) IsCollection

func (d *WatchPermissionsDescriptor) IsCollection() bool

func (*WatchPermissionsDescriptor) IsPlural

func (d *WatchPermissionsDescriptor) IsPlural() bool

func (*WatchPermissionsDescriptor) IsServerStream

func (d *WatchPermissionsDescriptor) IsServerStream() bool

func (*WatchPermissionsDescriptor) IsUnary

func (d *WatchPermissionsDescriptor) IsUnary() bool

func (*WatchPermissionsDescriptor) NewEmptyClientMsg

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

func (*WatchPermissionsDescriptor) NewEmptyServerMsg

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

func (*WatchPermissionsDescriptor) RequestHasResourceBody

func (d *WatchPermissionsDescriptor) RequestHasResourceBody() bool

type WatchPermissionsDescriptorClientMsgHandle

type WatchPermissionsDescriptorClientMsgHandle struct{}

func (*WatchPermissionsDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchPermissionsDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchPermissionsDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchPermissionsDescriptorClientMsgHandle) ExtractResourceName

func (*WatchPermissionsDescriptorClientMsgHandle) ExtractResourceNames

type WatchPermissionsDescriptorServerMsgHandle

type WatchPermissionsDescriptorServerMsgHandle struct{}

func (*WatchPermissionsDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchPermissionsDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchPermissionsDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchPermissionsDescriptorServerMsgHandle) ExtractResourceName

func (*WatchPermissionsDescriptorServerMsgHandle) ExtractResourceNames

type WatchPermissionsRequest

type WatchPermissionsRequest 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.Permission
	Parent *permission.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Permissions 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 *permission.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 *permission.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 *permission.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 Permission that don't
	// affect any of masked fields won't be sent back.
	FieldMask *permission.Permission_FieldMask `` /* 142-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
	// Permission 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 [WatchPermissions][ntt.iam.v1.WatchPermissions]

func (*WatchPermissionsRequest) Descriptor

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

Deprecated, Use WatchPermissionsRequest.ProtoReflect.Descriptor instead.

func (*WatchPermissionsRequest) GetFieldMask

func (*WatchPermissionsRequest) GetFilter

func (m *WatchPermissionsRequest) GetFilter() *permission.Filter

func (*WatchPermissionsRequest) GetMaxChunkSize

func (m *WatchPermissionsRequest) GetMaxChunkSize() int32

func (*WatchPermissionsRequest) GetOrderBy

func (m *WatchPermissionsRequest) GetOrderBy() *permission.OrderBy

func (*WatchPermissionsRequest) GetPageSize

func (m *WatchPermissionsRequest) GetPageSize() int32

func (*WatchPermissionsRequest) GetPageToken

func (m *WatchPermissionsRequest) GetPageToken() *permission.PagerCursor

func (*WatchPermissionsRequest) GetParent

func (*WatchPermissionsRequest) GetResumeToken

func (m *WatchPermissionsRequest) GetResumeToken() string

func (*WatchPermissionsRequest) GetStartingTime

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

func (*WatchPermissionsRequest) GetType

func (*WatchPermissionsRequest) GetView

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

func (*WatchPermissionsRequest) GotenMessage

func (*WatchPermissionsRequest) GotenMessage()

func (*WatchPermissionsRequest) GotenValidate

func (obj *WatchPermissionsRequest) GotenValidate() error

func (*WatchPermissionsRequest) Marshal

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

func (*WatchPermissionsRequest) MarshalJSON

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

func (*WatchPermissionsRequest) ProtoMessage

func (*WatchPermissionsRequest) ProtoMessage()

func (*WatchPermissionsRequest) ProtoReflect

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

func (*WatchPermissionsRequest) Reset

func (m *WatchPermissionsRequest) Reset()

func (*WatchPermissionsRequest) SetFieldMask

func (*WatchPermissionsRequest) SetFilter

func (m *WatchPermissionsRequest) SetFilter(fv *permission.Filter)

func (*WatchPermissionsRequest) SetMaxChunkSize

func (m *WatchPermissionsRequest) SetMaxChunkSize(fv int32)

func (*WatchPermissionsRequest) SetOrderBy

func (m *WatchPermissionsRequest) SetOrderBy(fv *permission.OrderBy)

func (*WatchPermissionsRequest) SetPageSize

func (m *WatchPermissionsRequest) SetPageSize(fv int32)

func (*WatchPermissionsRequest) SetPageToken

func (m *WatchPermissionsRequest) SetPageToken(fv *permission.PagerCursor)

func (*WatchPermissionsRequest) SetParent

func (m *WatchPermissionsRequest) SetParent(fv *permission.ParentName)

func (*WatchPermissionsRequest) SetResumeToken

func (m *WatchPermissionsRequest) SetResumeToken(fv string)

func (*WatchPermissionsRequest) SetStartingTime

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

func (*WatchPermissionsRequest) SetType

func (*WatchPermissionsRequest) SetView

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

func (*WatchPermissionsRequest) String

func (m *WatchPermissionsRequest) String() string

func (*WatchPermissionsRequest) Unmarshal

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

func (*WatchPermissionsRequest) UnmarshalJSON

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

type WatchPermissionsResponse

type WatchPermissionsResponse struct {

	// Changes of Permissions
	PermissionChanges []*permission.PermissionChange `` /* 142-byte string literal not displayed */
	// 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 Permissions 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 *WatchPermissionsResponse_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 (Permissions 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
}

WatchPermissionsResponse

func (*WatchPermissionsResponse) Descriptor

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

Deprecated, Use WatchPermissionsResponse.ProtoReflect.Descriptor instead.

func (*WatchPermissionsResponse) GetIsCurrent

func (m *WatchPermissionsResponse) GetIsCurrent() bool

func (*WatchPermissionsResponse) GetIsHardReset

func (m *WatchPermissionsResponse) GetIsHardReset() bool

func (*WatchPermissionsResponse) GetIsSoftReset

func (m *WatchPermissionsResponse) GetIsSoftReset() bool

func (*WatchPermissionsResponse) GetPageTokenChange

func (*WatchPermissionsResponse) GetPermissionChanges

func (m *WatchPermissionsResponse) GetPermissionChanges() []*permission.PermissionChange

func (*WatchPermissionsResponse) GetResumeToken

func (m *WatchPermissionsResponse) GetResumeToken() string

func (*WatchPermissionsResponse) GetSnapshotSize

func (m *WatchPermissionsResponse) GetSnapshotSize() int64

func (*WatchPermissionsResponse) GotenMessage

func (*WatchPermissionsResponse) GotenMessage()

func (*WatchPermissionsResponse) GotenValidate

func (obj *WatchPermissionsResponse) GotenValidate() error

func (*WatchPermissionsResponse) Marshal

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

func (*WatchPermissionsResponse) MarshalJSON

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

func (*WatchPermissionsResponse) ProtoMessage

func (*WatchPermissionsResponse) ProtoMessage()

func (*WatchPermissionsResponse) ProtoReflect

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

func (*WatchPermissionsResponse) Reset

func (m *WatchPermissionsResponse) Reset()

func (*WatchPermissionsResponse) SetIsCurrent

func (m *WatchPermissionsResponse) SetIsCurrent(fv bool)

func (*WatchPermissionsResponse) SetIsHardReset

func (m *WatchPermissionsResponse) SetIsHardReset(fv bool)

func (*WatchPermissionsResponse) SetIsSoftReset

func (m *WatchPermissionsResponse) SetIsSoftReset(fv bool)

func (*WatchPermissionsResponse) SetPageTokenChange

func (*WatchPermissionsResponse) SetPermissionChanges

func (m *WatchPermissionsResponse) SetPermissionChanges(fv []*permission.PermissionChange)

func (*WatchPermissionsResponse) SetResumeToken

func (m *WatchPermissionsResponse) SetResumeToken(fv string)

func (*WatchPermissionsResponse) SetSnapshotSize

func (m *WatchPermissionsResponse) SetSnapshotSize(fv int64)

func (*WatchPermissionsResponse) String

func (m *WatchPermissionsResponse) String() string

func (*WatchPermissionsResponse) Unmarshal

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

func (*WatchPermissionsResponse) UnmarshalJSON

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

type WatchPermissionsResponse_PageTokenChange

type WatchPermissionsResponse_PageTokenChange struct {

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

func (*WatchPermissionsResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchPermissionsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchPermissionsResponse_PageTokenChange) GetNextPageToken

func (*WatchPermissionsResponse_PageTokenChange) GetPrevPageToken

func (*WatchPermissionsResponse_PageTokenChange) GotenMessage

func (*WatchPermissionsResponse_PageTokenChange) GotenValidate

func (obj *WatchPermissionsResponse_PageTokenChange) GotenValidate() error

func (*WatchPermissionsResponse_PageTokenChange) Marshal

func (*WatchPermissionsResponse_PageTokenChange) MarshalJSON

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

func (*WatchPermissionsResponse_PageTokenChange) ProtoMessage

func (*WatchPermissionsResponse_PageTokenChange) ProtoReflect

func (*WatchPermissionsResponse_PageTokenChange) Reset

func (*WatchPermissionsResponse_PageTokenChange) SetNextPageToken

func (*WatchPermissionsResponse_PageTokenChange) SetPrevPageToken

func (*WatchPermissionsResponse_PageTokenChange) String

func (*WatchPermissionsResponse_PageTokenChange) Unmarshal

func (*WatchPermissionsResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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