secret_client

package
v1.0.33 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 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 BatchGetSecretsDescriptor added in v0.4.28

type BatchGetSecretsDescriptor struct{}

func GetBatchGetSecretsDescriptor added in v0.4.28

func GetBatchGetSecretsDescriptor() *BatchGetSecretsDescriptor

func (*BatchGetSecretsDescriptor) GetApiDescriptor added in v0.4.28

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

func (*BatchGetSecretsDescriptor) GetApiName added in v0.4.28

func (d *BatchGetSecretsDescriptor) GetApiName() string

func (*BatchGetSecretsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*BatchGetSecretsDescriptor) GetFullMethodName added in v0.4.28

func (d *BatchGetSecretsDescriptor) GetFullMethodName() string

func (*BatchGetSecretsDescriptor) GetMethodName added in v0.4.28

func (d *BatchGetSecretsDescriptor) GetMethodName() string

func (*BatchGetSecretsDescriptor) GetProtoPkgName added in v0.4.28

func (d *BatchGetSecretsDescriptor) GetProtoPkgName() string

func (*BatchGetSecretsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*BatchGetSecretsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*BatchGetSecretsDescriptor) GetServiceDomain added in v0.4.28

func (d *BatchGetSecretsDescriptor) GetServiceDomain() string

func (*BatchGetSecretsDescriptor) GetServiceVersion added in v0.4.28

func (d *BatchGetSecretsDescriptor) GetServiceVersion() string

func (*BatchGetSecretsDescriptor) GetVerb added in v0.4.28

func (d *BatchGetSecretsDescriptor) GetVerb() string

func (*BatchGetSecretsDescriptor) HasResource added in v0.4.30

func (d *BatchGetSecretsDescriptor) HasResource() bool

func (*BatchGetSecretsDescriptor) IsClientStream added in v0.4.28

func (d *BatchGetSecretsDescriptor) IsClientStream() bool

func (*BatchGetSecretsDescriptor) IsCollection added in v0.4.30

func (d *BatchGetSecretsDescriptor) IsCollection() bool

func (*BatchGetSecretsDescriptor) IsPlural added in v0.4.30

func (d *BatchGetSecretsDescriptor) IsPlural() bool

func (*BatchGetSecretsDescriptor) IsServerStream added in v0.4.28

func (d *BatchGetSecretsDescriptor) IsServerStream() bool

func (*BatchGetSecretsDescriptor) IsUnary added in v0.4.28

func (d *BatchGetSecretsDescriptor) IsUnary() bool

func (*BatchGetSecretsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*BatchGetSecretsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*BatchGetSecretsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *BatchGetSecretsDescriptor) RequestHasResourceBody() bool

type BatchGetSecretsDescriptorClientMsgHandle added in v0.4.28

type BatchGetSecretsDescriptorClientMsgHandle struct{}

func (*BatchGetSecretsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetSecretsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetSecretsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetSecretsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetSecretsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetSecretsDescriptorServerMsgHandle added in v0.4.28

type BatchGetSecretsDescriptorServerMsgHandle struct{}

func (*BatchGetSecretsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetSecretsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetSecretsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetSecretsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetSecretsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetSecretsRequest

type BatchGetSecretsRequest struct {

	// Names of Secrets
	Names []*secret.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 *secret.Secret_FieldMask `` /* 138-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 [BatchGetSecrets][ntt.secrets.v1alpha2.BatchGetSecrets]

func (*BatchGetSecretsRequest) Descriptor

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

Deprecated, Use BatchGetSecretsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetSecretsRequest) GetFieldMask

func (m *BatchGetSecretsRequest) GetFieldMask() *secret.Secret_FieldMask

func (*BatchGetSecretsRequest) GetNames

func (m *BatchGetSecretsRequest) GetNames() []*secret.Name

func (*BatchGetSecretsRequest) GetView

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

func (*BatchGetSecretsRequest) GotenMessage

func (*BatchGetSecretsRequest) GotenMessage()

func (*BatchGetSecretsRequest) GotenValidate

func (obj *BatchGetSecretsRequest) GotenValidate() error

func (*BatchGetSecretsRequest) Marshal

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

func (*BatchGetSecretsRequest) MarshalJSON

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

func (*BatchGetSecretsRequest) ProtoMessage

func (*BatchGetSecretsRequest) ProtoMessage()

func (*BatchGetSecretsRequest) ProtoReflect

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

func (*BatchGetSecretsRequest) Reset

func (m *BatchGetSecretsRequest) Reset()

func (*BatchGetSecretsRequest) SetFieldMask

func (m *BatchGetSecretsRequest) SetFieldMask(fv *secret.Secret_FieldMask)

func (*BatchGetSecretsRequest) SetNames

func (m *BatchGetSecretsRequest) SetNames(fv []*secret.Name)

func (*BatchGetSecretsRequest) SetView

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

func (*BatchGetSecretsRequest) String

func (m *BatchGetSecretsRequest) String() string

func (*BatchGetSecretsRequest) Unmarshal

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

func (*BatchGetSecretsRequest) UnmarshalJSON

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

type BatchGetSecretsResponse

type BatchGetSecretsResponse struct {

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

BatchGetSecretsResponse

func (*BatchGetSecretsResponse) Descriptor

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

Deprecated, Use BatchGetSecretsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetSecretsResponse) GetMissing

func (m *BatchGetSecretsResponse) GetMissing() []*secret.Name

func (*BatchGetSecretsResponse) GetSecrets

func (m *BatchGetSecretsResponse) GetSecrets() []*secret.Secret

func (*BatchGetSecretsResponse) GotenMessage

func (*BatchGetSecretsResponse) GotenMessage()

func (*BatchGetSecretsResponse) GotenValidate

func (obj *BatchGetSecretsResponse) GotenValidate() error

func (*BatchGetSecretsResponse) Marshal

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

func (*BatchGetSecretsResponse) MarshalJSON

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

func (*BatchGetSecretsResponse) ProtoMessage

func (*BatchGetSecretsResponse) ProtoMessage()

func (*BatchGetSecretsResponse) ProtoReflect

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

func (*BatchGetSecretsResponse) Reset

func (m *BatchGetSecretsResponse) Reset()

func (*BatchGetSecretsResponse) SetMissing

func (m *BatchGetSecretsResponse) SetMissing(fv []*secret.Name)

func (*BatchGetSecretsResponse) SetSecrets

func (m *BatchGetSecretsResponse) SetSecrets(fv []*secret.Secret)

func (*BatchGetSecretsResponse) String

func (m *BatchGetSecretsResponse) String() string

func (*BatchGetSecretsResponse) Unmarshal

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

func (*BatchGetSecretsResponse) UnmarshalJSON

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

type CreateSecretDescriptor added in v0.4.28

type CreateSecretDescriptor struct{}

func GetCreateSecretDescriptor added in v0.4.28

func GetCreateSecretDescriptor() *CreateSecretDescriptor

func (*CreateSecretDescriptor) GetApiDescriptor added in v0.4.28

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

func (*CreateSecretDescriptor) GetApiName added in v0.4.28

func (d *CreateSecretDescriptor) GetApiName() string

func (*CreateSecretDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*CreateSecretDescriptor) GetFullMethodName added in v0.4.28

func (d *CreateSecretDescriptor) GetFullMethodName() string

func (*CreateSecretDescriptor) GetMethodName added in v0.4.28

func (d *CreateSecretDescriptor) GetMethodName() string

func (*CreateSecretDescriptor) GetProtoPkgName added in v0.4.28

func (d *CreateSecretDescriptor) GetProtoPkgName() string

func (*CreateSecretDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*CreateSecretDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*CreateSecretDescriptor) GetServiceDomain added in v0.4.28

func (d *CreateSecretDescriptor) GetServiceDomain() string

func (*CreateSecretDescriptor) GetServiceVersion added in v0.4.28

func (d *CreateSecretDescriptor) GetServiceVersion() string

func (*CreateSecretDescriptor) GetVerb added in v0.4.28

func (d *CreateSecretDescriptor) GetVerb() string

func (*CreateSecretDescriptor) HasResource added in v0.4.30

func (d *CreateSecretDescriptor) HasResource() bool

func (*CreateSecretDescriptor) IsClientStream added in v0.4.28

func (d *CreateSecretDescriptor) IsClientStream() bool

func (*CreateSecretDescriptor) IsCollection added in v0.4.30

func (d *CreateSecretDescriptor) IsCollection() bool

func (*CreateSecretDescriptor) IsPlural added in v0.4.30

func (d *CreateSecretDescriptor) IsPlural() bool

func (*CreateSecretDescriptor) IsServerStream added in v0.4.28

func (d *CreateSecretDescriptor) IsServerStream() bool

func (*CreateSecretDescriptor) IsUnary added in v0.4.28

func (d *CreateSecretDescriptor) IsUnary() bool

func (*CreateSecretDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*CreateSecretDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*CreateSecretDescriptor) RequestHasResourceBody added in v0.4.28

func (d *CreateSecretDescriptor) RequestHasResourceBody() bool

type CreateSecretDescriptorClientMsgHandle added in v0.4.28

type CreateSecretDescriptorClientMsgHandle struct{}

func (*CreateSecretDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateSecretDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateSecretDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateSecretDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateSecretDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type CreateSecretDescriptorServerMsgHandle added in v0.4.28

type CreateSecretDescriptorServerMsgHandle struct{}

func (*CreateSecretDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateSecretDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateSecretDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateSecretDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateSecretDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type CreateSecretRequest

type CreateSecretRequest struct {

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

Request message for method [CreateSecret][ntt.secrets.v1alpha2.CreateSecret]

func (*CreateSecretRequest) Descriptor

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

Deprecated, Use CreateSecretRequest.ProtoReflect.Descriptor instead.

func (*CreateSecretRequest) GetParent

func (m *CreateSecretRequest) GetParent() *secret.ParentName

func (*CreateSecretRequest) GetSecret

func (m *CreateSecretRequest) GetSecret() *secret.Secret

func (*CreateSecretRequest) GotenMessage

func (*CreateSecretRequest) GotenMessage()

func (*CreateSecretRequest) GotenValidate

func (obj *CreateSecretRequest) GotenValidate() error

func (*CreateSecretRequest) Marshal

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

func (*CreateSecretRequest) MarshalJSON

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

func (*CreateSecretRequest) ProtoMessage

func (*CreateSecretRequest) ProtoMessage()

func (*CreateSecretRequest) ProtoReflect

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

func (*CreateSecretRequest) Reset

func (m *CreateSecretRequest) Reset()

func (*CreateSecretRequest) SetParent

func (m *CreateSecretRequest) SetParent(fv *secret.ParentName)

func (*CreateSecretRequest) SetSecret

func (m *CreateSecretRequest) SetSecret(fv *secret.Secret)

func (*CreateSecretRequest) String

func (m *CreateSecretRequest) String() string

func (*CreateSecretRequest) Unmarshal

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

func (*CreateSecretRequest) UnmarshalJSON

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

type DeleteSecretDescriptor added in v0.4.28

type DeleteSecretDescriptor struct{}

func GetDeleteSecretDescriptor added in v0.4.28

func GetDeleteSecretDescriptor() *DeleteSecretDescriptor

func (*DeleteSecretDescriptor) GetApiDescriptor added in v0.4.28

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

func (*DeleteSecretDescriptor) GetApiName added in v0.4.28

func (d *DeleteSecretDescriptor) GetApiName() string

func (*DeleteSecretDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*DeleteSecretDescriptor) GetFullMethodName added in v0.4.28

func (d *DeleteSecretDescriptor) GetFullMethodName() string

func (*DeleteSecretDescriptor) GetMethodName added in v0.4.28

func (d *DeleteSecretDescriptor) GetMethodName() string

func (*DeleteSecretDescriptor) GetProtoPkgName added in v0.4.28

func (d *DeleteSecretDescriptor) GetProtoPkgName() string

func (*DeleteSecretDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*DeleteSecretDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*DeleteSecretDescriptor) GetServiceDomain added in v0.4.28

func (d *DeleteSecretDescriptor) GetServiceDomain() string

func (*DeleteSecretDescriptor) GetServiceVersion added in v0.4.28

func (d *DeleteSecretDescriptor) GetServiceVersion() string

func (*DeleteSecretDescriptor) GetVerb added in v0.4.28

func (d *DeleteSecretDescriptor) GetVerb() string

func (*DeleteSecretDescriptor) HasResource added in v0.4.30

func (d *DeleteSecretDescriptor) HasResource() bool

func (*DeleteSecretDescriptor) IsClientStream added in v0.4.28

func (d *DeleteSecretDescriptor) IsClientStream() bool

func (*DeleteSecretDescriptor) IsCollection added in v0.4.30

func (d *DeleteSecretDescriptor) IsCollection() bool

func (*DeleteSecretDescriptor) IsPlural added in v0.4.30

func (d *DeleteSecretDescriptor) IsPlural() bool

func (*DeleteSecretDescriptor) IsServerStream added in v0.4.28

func (d *DeleteSecretDescriptor) IsServerStream() bool

func (*DeleteSecretDescriptor) IsUnary added in v0.4.28

func (d *DeleteSecretDescriptor) IsUnary() bool

func (*DeleteSecretDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*DeleteSecretDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*DeleteSecretDescriptor) RequestHasResourceBody added in v0.4.28

func (d *DeleteSecretDescriptor) RequestHasResourceBody() bool

type DeleteSecretDescriptorClientMsgHandle added in v0.4.28

type DeleteSecretDescriptorClientMsgHandle struct{}

func (*DeleteSecretDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeleteSecretDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteSecretDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteSecretDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteSecretDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteSecretDescriptorServerMsgHandle added in v0.4.28

type DeleteSecretDescriptorServerMsgHandle struct{}

func (*DeleteSecretDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeleteSecretDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteSecretDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteSecretDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteSecretDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteSecretRequest

type DeleteSecretRequest struct {

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

Request message for method [DeleteSecret][ntt.secrets.v1alpha2.DeleteSecret]

func (*DeleteSecretRequest) Descriptor

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

Deprecated, Use DeleteSecretRequest.ProtoReflect.Descriptor instead.

func (*DeleteSecretRequest) GetName

func (m *DeleteSecretRequest) GetName() *secret.Name

func (*DeleteSecretRequest) GotenMessage

func (*DeleteSecretRequest) GotenMessage()

func (*DeleteSecretRequest) GotenValidate

func (obj *DeleteSecretRequest) GotenValidate() error

func (*DeleteSecretRequest) Marshal

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

func (*DeleteSecretRequest) MarshalJSON

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

func (*DeleteSecretRequest) ProtoMessage

func (*DeleteSecretRequest) ProtoMessage()

func (*DeleteSecretRequest) ProtoReflect

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

func (*DeleteSecretRequest) Reset

func (m *DeleteSecretRequest) Reset()

func (*DeleteSecretRequest) SetName

func (m *DeleteSecretRequest) SetName(fv *secret.Name)

func (*DeleteSecretRequest) String

func (m *DeleteSecretRequest) String() string

func (*DeleteSecretRequest) Unmarshal

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

func (*DeleteSecretRequest) UnmarshalJSON

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

type GetSecretDescriptor added in v0.4.28

type GetSecretDescriptor struct{}

func GetGetSecretDescriptor added in v0.4.28

func GetGetSecretDescriptor() *GetSecretDescriptor

func (*GetSecretDescriptor) GetApiDescriptor added in v0.4.28

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

func (*GetSecretDescriptor) GetApiName added in v0.4.28

func (d *GetSecretDescriptor) GetApiName() string

func (*GetSecretDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*GetSecretDescriptor) GetFullMethodName added in v0.4.28

func (d *GetSecretDescriptor) GetFullMethodName() string

func (*GetSecretDescriptor) GetMethodName added in v0.4.28

func (d *GetSecretDescriptor) GetMethodName() string

func (*GetSecretDescriptor) GetProtoPkgName added in v0.4.28

func (d *GetSecretDescriptor) GetProtoPkgName() string

func (*GetSecretDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*GetSecretDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*GetSecretDescriptor) GetServiceDomain added in v0.4.28

func (d *GetSecretDescriptor) GetServiceDomain() string

func (*GetSecretDescriptor) GetServiceVersion added in v0.4.28

func (d *GetSecretDescriptor) GetServiceVersion() string

func (*GetSecretDescriptor) GetVerb added in v0.4.28

func (d *GetSecretDescriptor) GetVerb() string

func (*GetSecretDescriptor) HasResource added in v0.4.30

func (d *GetSecretDescriptor) HasResource() bool

func (*GetSecretDescriptor) IsClientStream added in v0.4.28

func (d *GetSecretDescriptor) IsClientStream() bool

func (*GetSecretDescriptor) IsCollection added in v0.4.30

func (d *GetSecretDescriptor) IsCollection() bool

func (*GetSecretDescriptor) IsPlural added in v0.4.30

func (d *GetSecretDescriptor) IsPlural() bool

func (*GetSecretDescriptor) IsServerStream added in v0.4.28

func (d *GetSecretDescriptor) IsServerStream() bool

func (*GetSecretDescriptor) IsUnary added in v0.4.28

func (d *GetSecretDescriptor) IsUnary() bool

func (*GetSecretDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*GetSecretDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*GetSecretDescriptor) RequestHasResourceBody added in v0.4.28

func (d *GetSecretDescriptor) RequestHasResourceBody() bool

type GetSecretDescriptorClientMsgHandle added in v0.4.28

type GetSecretDescriptorClientMsgHandle struct{}

func (*GetSecretDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*GetSecretDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetSecretDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetSecretDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*GetSecretDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type GetSecretDescriptorServerMsgHandle added in v0.4.28

type GetSecretDescriptorServerMsgHandle struct{}

func (*GetSecretDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*GetSecretDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetSecretDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetSecretDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*GetSecretDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type GetSecretRequest

type GetSecretRequest struct {

	// Name of ntt.secrets.v1alpha2.Secret
	Name *secret.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 *secret.Secret_FieldMask `` /* 138-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 [GetSecret][ntt.secrets.v1alpha2.GetSecret]

func (*GetSecretRequest) Descriptor

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

Deprecated, Use GetSecretRequest.ProtoReflect.Descriptor instead.

func (*GetSecretRequest) GetFieldMask

func (m *GetSecretRequest) GetFieldMask() *secret.Secret_FieldMask

func (*GetSecretRequest) GetName

func (m *GetSecretRequest) GetName() *secret.Name

func (*GetSecretRequest) GetView

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

func (*GetSecretRequest) GotenMessage

func (*GetSecretRequest) GotenMessage()

func (*GetSecretRequest) GotenValidate

func (obj *GetSecretRequest) GotenValidate() error

func (*GetSecretRequest) Marshal

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

func (*GetSecretRequest) MarshalJSON

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

func (*GetSecretRequest) ProtoMessage

func (*GetSecretRequest) ProtoMessage()

func (*GetSecretRequest) ProtoReflect

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

func (*GetSecretRequest) Reset

func (m *GetSecretRequest) Reset()

func (*GetSecretRequest) SetFieldMask

func (m *GetSecretRequest) SetFieldMask(fv *secret.Secret_FieldMask)

func (*GetSecretRequest) SetName

func (m *GetSecretRequest) SetName(fv *secret.Name)

func (*GetSecretRequest) SetView

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

func (*GetSecretRequest) String

func (m *GetSecretRequest) String() string

func (*GetSecretRequest) Unmarshal

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

func (*GetSecretRequest) UnmarshalJSON

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

type ListSecretsDescriptor added in v0.4.28

type ListSecretsDescriptor struct{}

func GetListSecretsDescriptor added in v0.4.28

func GetListSecretsDescriptor() *ListSecretsDescriptor

func (*ListSecretsDescriptor) GetApiDescriptor added in v0.4.28

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

func (*ListSecretsDescriptor) GetApiName added in v0.4.28

func (d *ListSecretsDescriptor) GetApiName() string

func (*ListSecretsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*ListSecretsDescriptor) GetFullMethodName added in v0.4.28

func (d *ListSecretsDescriptor) GetFullMethodName() string

func (*ListSecretsDescriptor) GetMethodName added in v0.4.28

func (d *ListSecretsDescriptor) GetMethodName() string

func (*ListSecretsDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListSecretsDescriptor) GetProtoPkgName() string

func (*ListSecretsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*ListSecretsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*ListSecretsDescriptor) GetServiceDomain added in v0.4.28

func (d *ListSecretsDescriptor) GetServiceDomain() string

func (*ListSecretsDescriptor) GetServiceVersion added in v0.4.28

func (d *ListSecretsDescriptor) GetServiceVersion() string

func (*ListSecretsDescriptor) GetVerb added in v0.4.28

func (d *ListSecretsDescriptor) GetVerb() string

func (*ListSecretsDescriptor) HasResource added in v0.4.30

func (d *ListSecretsDescriptor) HasResource() bool

func (*ListSecretsDescriptor) IsClientStream added in v0.4.28

func (d *ListSecretsDescriptor) IsClientStream() bool

func (*ListSecretsDescriptor) IsCollection added in v0.4.30

func (d *ListSecretsDescriptor) IsCollection() bool

func (*ListSecretsDescriptor) IsPlural added in v0.4.30

func (d *ListSecretsDescriptor) IsPlural() bool

func (*ListSecretsDescriptor) IsServerStream added in v0.4.28

func (d *ListSecretsDescriptor) IsServerStream() bool

func (*ListSecretsDescriptor) IsUnary added in v0.4.28

func (d *ListSecretsDescriptor) IsUnary() bool

func (*ListSecretsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*ListSecretsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*ListSecretsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListSecretsDescriptor) RequestHasResourceBody() bool

type ListSecretsDescriptorClientMsgHandle added in v0.4.28

type ListSecretsDescriptorClientMsgHandle struct{}

func (*ListSecretsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListSecretsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListSecretsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListSecretsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListSecretsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListSecretsDescriptorServerMsgHandle added in v0.4.28

type ListSecretsDescriptorServerMsgHandle struct{}

func (*ListSecretsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListSecretsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListSecretsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListSecretsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListSecretsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type ListSecretsRequest

type ListSecretsRequest struct {

	// Parent name of ntt.secrets.v1alpha2.Secret
	Parent *secret.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Secrets 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
	// [ListSecretsResponse.next_page_token][ntt.secrets.v1alpha2.ListSecretsResponse.next_page_token]
	PageToken *secret.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 *secret.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 *secret.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 *secret.Secret_FieldMask `` /* 138-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 [ListSecrets][ntt.secrets.v1alpha2.ListSecrets]

func (*ListSecretsRequest) Descriptor

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

Deprecated, Use ListSecretsRequest.ProtoReflect.Descriptor instead.

func (*ListSecretsRequest) GetFieldMask

func (m *ListSecretsRequest) GetFieldMask() *secret.Secret_FieldMask

func (*ListSecretsRequest) GetFilter

func (m *ListSecretsRequest) GetFilter() *secret.Filter

func (*ListSecretsRequest) GetIncludePagingInfo added in v0.10.1

func (m *ListSecretsRequest) GetIncludePagingInfo() bool

func (*ListSecretsRequest) GetOrderBy

func (m *ListSecretsRequest) GetOrderBy() *secret.OrderBy

func (*ListSecretsRequest) GetPageSize

func (m *ListSecretsRequest) GetPageSize() int32

func (*ListSecretsRequest) GetPageToken

func (m *ListSecretsRequest) GetPageToken() *secret.PagerCursor

func (*ListSecretsRequest) GetParent

func (m *ListSecretsRequest) GetParent() *secret.ParentName

func (*ListSecretsRequest) GetView

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

func (*ListSecretsRequest) GotenMessage

func (*ListSecretsRequest) GotenMessage()

func (*ListSecretsRequest) GotenValidate

func (obj *ListSecretsRequest) GotenValidate() error

func (*ListSecretsRequest) Marshal

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

func (*ListSecretsRequest) MarshalJSON

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

func (*ListSecretsRequest) ProtoMessage

func (*ListSecretsRequest) ProtoMessage()

func (*ListSecretsRequest) ProtoReflect

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

func (*ListSecretsRequest) Reset

func (m *ListSecretsRequest) Reset()

func (*ListSecretsRequest) SetFieldMask

func (m *ListSecretsRequest) SetFieldMask(fv *secret.Secret_FieldMask)

func (*ListSecretsRequest) SetFilter

func (m *ListSecretsRequest) SetFilter(fv *secret.Filter)

func (*ListSecretsRequest) SetIncludePagingInfo added in v0.10.1

func (m *ListSecretsRequest) SetIncludePagingInfo(fv bool)

func (*ListSecretsRequest) SetOrderBy

func (m *ListSecretsRequest) SetOrderBy(fv *secret.OrderBy)

func (*ListSecretsRequest) SetPageSize

func (m *ListSecretsRequest) SetPageSize(fv int32)

func (*ListSecretsRequest) SetPageToken

func (m *ListSecretsRequest) SetPageToken(fv *secret.PagerCursor)

func (*ListSecretsRequest) SetParent

func (m *ListSecretsRequest) SetParent(fv *secret.ParentName)

func (*ListSecretsRequest) SetView

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

func (*ListSecretsRequest) String

func (m *ListSecretsRequest) String() string

func (*ListSecretsRequest) Unmarshal

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

func (*ListSecretsRequest) UnmarshalJSON

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

type ListSecretsResponse

type ListSecretsResponse struct {

	// The list of Secrets
	Secrets []*secret.Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty" firestore:"secrets"`
	// A token to retrieve previous page of results. Pass this value in the
	// [ListSecretsRequest.page_token][ntt.secrets.v1alpha2.ListSecretsRequest.page_token]
	PrevPageToken *secret.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results. Pass this value in the
	// [ListSecretsRequest.page_token][ntt.secrets.v1alpha2.ListSecretsRequest.page_token]
	NextPageToken *secret.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 Secrets 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 [ListSecrets][ntt.secrets.v1alpha2.ListSecrets]

func (*ListSecretsResponse) Descriptor

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

Deprecated, Use ListSecretsResponse.ProtoReflect.Descriptor instead.

func (*ListSecretsResponse) GetCurrentOffset added in v0.10.1

func (m *ListSecretsResponse) GetCurrentOffset() int32

func (*ListSecretsResponse) GetNextPageToken

func (m *ListSecretsResponse) GetNextPageToken() *secret.PagerCursor

func (*ListSecretsResponse) GetPrevPageToken

func (m *ListSecretsResponse) GetPrevPageToken() *secret.PagerCursor

func (*ListSecretsResponse) GetSecrets

func (m *ListSecretsResponse) GetSecrets() []*secret.Secret

func (*ListSecretsResponse) GetTotalResultsCount added in v0.10.1

func (m *ListSecretsResponse) GetTotalResultsCount() int32

func (*ListSecretsResponse) GotenMessage

func (*ListSecretsResponse) GotenMessage()

func (*ListSecretsResponse) GotenValidate

func (obj *ListSecretsResponse) GotenValidate() error

func (*ListSecretsResponse) Marshal

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

func (*ListSecretsResponse) MarshalJSON

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

func (*ListSecretsResponse) ProtoMessage

func (*ListSecretsResponse) ProtoMessage()

func (*ListSecretsResponse) ProtoReflect

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

func (*ListSecretsResponse) Reset

func (m *ListSecretsResponse) Reset()

func (*ListSecretsResponse) SetCurrentOffset added in v0.10.1

func (m *ListSecretsResponse) SetCurrentOffset(fv int32)

func (*ListSecretsResponse) SetNextPageToken

func (m *ListSecretsResponse) SetNextPageToken(fv *secret.PagerCursor)

func (*ListSecretsResponse) SetPrevPageToken

func (m *ListSecretsResponse) SetPrevPageToken(fv *secret.PagerCursor)

func (*ListSecretsResponse) SetSecrets

func (m *ListSecretsResponse) SetSecrets(fv []*secret.Secret)

func (*ListSecretsResponse) SetTotalResultsCount added in v0.10.1

func (m *ListSecretsResponse) SetTotalResultsCount(fv int32)

func (*ListSecretsResponse) String

func (m *ListSecretsResponse) String() string

func (*ListSecretsResponse) Unmarshal

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

func (*ListSecretsResponse) UnmarshalJSON

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

type SecretServiceClient

type SecretServiceClient interface {
	GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*secret.Secret, error)
	BatchGetSecrets(ctx context.Context, in *BatchGetSecretsRequest, opts ...grpc.CallOption) (*BatchGetSecretsResponse, error)
	ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error)
	WatchSecret(ctx context.Context, in *WatchSecretRequest, opts ...grpc.CallOption) (WatchSecretClientStream, error)
	WatchSecrets(ctx context.Context, in *WatchSecretsRequest, opts ...grpc.CallOption) (WatchSecretsClientStream, error)
	CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*secret.Secret, error)
	UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*secret.Secret, error)
	DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

SecretServiceClient is the client API for SecretService.

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

type SecretServiceDescriptor added in v0.4.28

type SecretServiceDescriptor struct{}

func GetSecretServiceDescriptor added in v0.4.28

func GetSecretServiceDescriptor() *SecretServiceDescriptor

func (*SecretServiceDescriptor) AllMethodDescriptors added in v0.4.28

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

func (*SecretServiceDescriptor) GetApiName added in v0.4.28

func (d *SecretServiceDescriptor) GetApiName() string

func (*SecretServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *SecretServiceDescriptor) GetFullAPIName() string

func (*SecretServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *SecretServiceDescriptor) GetProtoPkgName() string

func (*SecretServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *SecretServiceDescriptor) GetServiceDomain() string

func (*SecretServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *SecretServiceDescriptor) GetServiceVersion() string

type UpdateSecretDescriptor added in v0.4.28

type UpdateSecretDescriptor struct{}

func GetUpdateSecretDescriptor added in v0.4.28

func GetUpdateSecretDescriptor() *UpdateSecretDescriptor

func (*UpdateSecretDescriptor) GetApiDescriptor added in v0.4.28

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

func (*UpdateSecretDescriptor) GetApiName added in v0.4.28

func (d *UpdateSecretDescriptor) GetApiName() string

func (*UpdateSecretDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*UpdateSecretDescriptor) GetFullMethodName added in v0.4.28

func (d *UpdateSecretDescriptor) GetFullMethodName() string

func (*UpdateSecretDescriptor) GetMethodName added in v0.4.28

func (d *UpdateSecretDescriptor) GetMethodName() string

func (*UpdateSecretDescriptor) GetProtoPkgName added in v0.4.28

func (d *UpdateSecretDescriptor) GetProtoPkgName() string

func (*UpdateSecretDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*UpdateSecretDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*UpdateSecretDescriptor) GetServiceDomain added in v0.4.28

func (d *UpdateSecretDescriptor) GetServiceDomain() string

func (*UpdateSecretDescriptor) GetServiceVersion added in v0.4.28

func (d *UpdateSecretDescriptor) GetServiceVersion() string

func (*UpdateSecretDescriptor) GetVerb added in v0.4.28

func (d *UpdateSecretDescriptor) GetVerb() string

func (*UpdateSecretDescriptor) HasResource added in v0.4.30

func (d *UpdateSecretDescriptor) HasResource() bool

func (*UpdateSecretDescriptor) IsClientStream added in v0.4.28

func (d *UpdateSecretDescriptor) IsClientStream() bool

func (*UpdateSecretDescriptor) IsCollection added in v0.4.30

func (d *UpdateSecretDescriptor) IsCollection() bool

func (*UpdateSecretDescriptor) IsPlural added in v0.4.30

func (d *UpdateSecretDescriptor) IsPlural() bool

func (*UpdateSecretDescriptor) IsServerStream added in v0.4.28

func (d *UpdateSecretDescriptor) IsServerStream() bool

func (*UpdateSecretDescriptor) IsUnary added in v0.4.28

func (d *UpdateSecretDescriptor) IsUnary() bool

func (*UpdateSecretDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*UpdateSecretDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*UpdateSecretDescriptor) RequestHasResourceBody added in v0.4.28

func (d *UpdateSecretDescriptor) RequestHasResourceBody() bool

type UpdateSecretDescriptorClientMsgHandle added in v0.4.28

type UpdateSecretDescriptorClientMsgHandle struct{}

func (*UpdateSecretDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdateSecretDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateSecretDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateSecretDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateSecretDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type UpdateSecretDescriptorServerMsgHandle added in v0.4.28

type UpdateSecretDescriptorServerMsgHandle struct{}

func (*UpdateSecretDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdateSecretDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateSecretDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateSecretDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateSecretDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type UpdateSecretRequest

type UpdateSecretRequest struct {

	// Secret resource body
	Secret *secret.Secret `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty" firestore:"secret"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *secret.Secret_FieldMask `` /* 142-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 *UpdateSecretRequest_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 [UpdateSecret][ntt.secrets.v1alpha2.UpdateSecret]

func (*UpdateSecretRequest) Descriptor

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

Deprecated, Use UpdateSecretRequest.ProtoReflect.Descriptor instead.

func (*UpdateSecretRequest) GetAllowMissing added in v0.12.33

func (m *UpdateSecretRequest) GetAllowMissing() bool

func (*UpdateSecretRequest) GetCas

func (*UpdateSecretRequest) GetSecret

func (m *UpdateSecretRequest) GetSecret() *secret.Secret

func (*UpdateSecretRequest) GetUpdateMask

func (m *UpdateSecretRequest) GetUpdateMask() *secret.Secret_FieldMask

func (*UpdateSecretRequest) GotenMessage

func (*UpdateSecretRequest) GotenMessage()

func (*UpdateSecretRequest) GotenValidate

func (obj *UpdateSecretRequest) GotenValidate() error

func (*UpdateSecretRequest) Marshal

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

func (*UpdateSecretRequest) MarshalJSON

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

func (*UpdateSecretRequest) ProtoMessage

func (*UpdateSecretRequest) ProtoMessage()

func (*UpdateSecretRequest) ProtoReflect

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

func (*UpdateSecretRequest) Reset

func (m *UpdateSecretRequest) Reset()

func (*UpdateSecretRequest) SetAllowMissing added in v0.12.33

func (m *UpdateSecretRequest) SetAllowMissing(fv bool)

func (*UpdateSecretRequest) SetCas

func (*UpdateSecretRequest) SetSecret

func (m *UpdateSecretRequest) SetSecret(fv *secret.Secret)

func (*UpdateSecretRequest) SetUpdateMask

func (m *UpdateSecretRequest) SetUpdateMask(fv *secret.Secret_FieldMask)

func (*UpdateSecretRequest) String

func (m *UpdateSecretRequest) String() string

func (*UpdateSecretRequest) Unmarshal

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

func (*UpdateSecretRequest) UnmarshalJSON

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

type UpdateSecretRequest_CAS

type UpdateSecretRequest_CAS struct {

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

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

Deprecated, Use UpdateSecretRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateSecretRequest_CAS) GetConditionalState

func (m *UpdateSecretRequest_CAS) GetConditionalState() *secret.Secret

func (*UpdateSecretRequest_CAS) GetFieldMask

func (m *UpdateSecretRequest_CAS) GetFieldMask() *secret.Secret_FieldMask

func (*UpdateSecretRequest_CAS) GotenMessage

func (*UpdateSecretRequest_CAS) GotenMessage()

func (*UpdateSecretRequest_CAS) GotenValidate

func (obj *UpdateSecretRequest_CAS) GotenValidate() error

func (*UpdateSecretRequest_CAS) Marshal

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

func (*UpdateSecretRequest_CAS) MarshalJSON

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

func (*UpdateSecretRequest_CAS) ProtoMessage

func (*UpdateSecretRequest_CAS) ProtoMessage()

func (*UpdateSecretRequest_CAS) ProtoReflect

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

func (*UpdateSecretRequest_CAS) Reset

func (m *UpdateSecretRequest_CAS) Reset()

func (*UpdateSecretRequest_CAS) SetConditionalState

func (m *UpdateSecretRequest_CAS) SetConditionalState(fv *secret.Secret)

func (*UpdateSecretRequest_CAS) SetFieldMask

func (m *UpdateSecretRequest_CAS) SetFieldMask(fv *secret.Secret_FieldMask)

func (*UpdateSecretRequest_CAS) String

func (m *UpdateSecretRequest_CAS) String() string

func (*UpdateSecretRequest_CAS) Unmarshal

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

func (*UpdateSecretRequest_CAS) UnmarshalJSON

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

type WatchSecretClientStream

type WatchSecretClientStream interface {
	Recv() (*WatchSecretResponse, error)
	grpc.ClientStream
}

type WatchSecretDescriptor added in v0.4.28

type WatchSecretDescriptor struct{}

func GetWatchSecretDescriptor added in v0.4.28

func GetWatchSecretDescriptor() *WatchSecretDescriptor

func (*WatchSecretDescriptor) GetApiDescriptor added in v0.4.28

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

func (*WatchSecretDescriptor) GetApiName added in v0.4.28

func (d *WatchSecretDescriptor) GetApiName() string

func (*WatchSecretDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchSecretDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchSecretDescriptor) GetFullMethodName() string

func (*WatchSecretDescriptor) GetMethodName added in v0.4.28

func (d *WatchSecretDescriptor) GetMethodName() string

func (*WatchSecretDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchSecretDescriptor) GetProtoPkgName() string

func (*WatchSecretDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchSecretDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchSecretDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchSecretDescriptor) GetServiceDomain() string

func (*WatchSecretDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchSecretDescriptor) GetServiceVersion() string

func (*WatchSecretDescriptor) GetVerb added in v0.4.28

func (d *WatchSecretDescriptor) GetVerb() string

func (*WatchSecretDescriptor) HasResource added in v0.4.30

func (d *WatchSecretDescriptor) HasResource() bool

func (*WatchSecretDescriptor) IsClientStream added in v0.4.28

func (d *WatchSecretDescriptor) IsClientStream() bool

func (*WatchSecretDescriptor) IsCollection added in v0.4.30

func (d *WatchSecretDescriptor) IsCollection() bool

func (*WatchSecretDescriptor) IsPlural added in v0.4.30

func (d *WatchSecretDescriptor) IsPlural() bool

func (*WatchSecretDescriptor) IsServerStream added in v0.4.28

func (d *WatchSecretDescriptor) IsServerStream() bool

func (*WatchSecretDescriptor) IsUnary added in v0.4.28

func (d *WatchSecretDescriptor) IsUnary() bool

func (*WatchSecretDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchSecretDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchSecretDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchSecretDescriptor) RequestHasResourceBody() bool

type WatchSecretDescriptorClientMsgHandle added in v0.4.28

type WatchSecretDescriptorClientMsgHandle struct{}

func (*WatchSecretDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchSecretDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchSecretDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchSecretDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchSecretDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchSecretDescriptorServerMsgHandle added in v0.4.28

type WatchSecretDescriptorServerMsgHandle struct{}

func (*WatchSecretDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchSecretDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchSecretDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchSecretDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchSecretDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchSecretRequest

type WatchSecretRequest struct {

	// Name of ntt.secrets.v1alpha2.Secret
	Name *secret.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 *secret.Secret_FieldMask `` /* 138-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 [WatchSecret][ntt.secrets.v1alpha2.WatchSecret]

func (*WatchSecretRequest) Descriptor

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

Deprecated, Use WatchSecretRequest.ProtoReflect.Descriptor instead.

func (*WatchSecretRequest) GetFieldMask

func (m *WatchSecretRequest) GetFieldMask() *secret.Secret_FieldMask

func (*WatchSecretRequest) GetName

func (m *WatchSecretRequest) GetName() *secret.Name

func (*WatchSecretRequest) GetView

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

func (*WatchSecretRequest) GotenMessage

func (*WatchSecretRequest) GotenMessage()

func (*WatchSecretRequest) GotenValidate

func (obj *WatchSecretRequest) GotenValidate() error

func (*WatchSecretRequest) Marshal

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

func (*WatchSecretRequest) MarshalJSON

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

func (*WatchSecretRequest) ProtoMessage

func (*WatchSecretRequest) ProtoMessage()

func (*WatchSecretRequest) ProtoReflect

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

func (*WatchSecretRequest) Reset

func (m *WatchSecretRequest) Reset()

func (*WatchSecretRequest) SetFieldMask

func (m *WatchSecretRequest) SetFieldMask(fv *secret.Secret_FieldMask)

func (*WatchSecretRequest) SetName

func (m *WatchSecretRequest) SetName(fv *secret.Name)

func (*WatchSecretRequest) SetView

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

func (*WatchSecretRequest) String

func (m *WatchSecretRequest) String() string

func (*WatchSecretRequest) Unmarshal

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

func (*WatchSecretRequest) UnmarshalJSON

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

type WatchSecretResponse

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

WatchSecretResponse

func (*WatchSecretResponse) Descriptor

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

Deprecated, Use WatchSecretResponse.ProtoReflect.Descriptor instead.

func (*WatchSecretResponse) GetChange

func (m *WatchSecretResponse) GetChange() *secret.SecretChange

func (*WatchSecretResponse) GotenMessage

func (*WatchSecretResponse) GotenMessage()

func (*WatchSecretResponse) GotenValidate

func (obj *WatchSecretResponse) GotenValidate() error

func (*WatchSecretResponse) Marshal

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

func (*WatchSecretResponse) MarshalJSON

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

func (*WatchSecretResponse) ProtoMessage

func (*WatchSecretResponse) ProtoMessage()

func (*WatchSecretResponse) ProtoReflect

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

func (*WatchSecretResponse) Reset

func (m *WatchSecretResponse) Reset()

func (*WatchSecretResponse) SetChange

func (m *WatchSecretResponse) SetChange(fv *secret.SecretChange)

func (*WatchSecretResponse) String

func (m *WatchSecretResponse) String() string

func (*WatchSecretResponse) Unmarshal

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

func (*WatchSecretResponse) UnmarshalJSON

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

type WatchSecretsClientStream

type WatchSecretsClientStream interface {
	Recv() (*WatchSecretsResponse, error)
	grpc.ClientStream
}

type WatchSecretsDescriptor added in v0.4.28

type WatchSecretsDescriptor struct{}

func GetWatchSecretsDescriptor added in v0.4.28

func GetWatchSecretsDescriptor() *WatchSecretsDescriptor

func (*WatchSecretsDescriptor) GetApiDescriptor added in v0.4.28

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

func (*WatchSecretsDescriptor) GetApiName added in v0.4.28

func (d *WatchSecretsDescriptor) GetApiName() string

func (*WatchSecretsDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchSecretsDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchSecretsDescriptor) GetFullMethodName() string

func (*WatchSecretsDescriptor) GetMethodName added in v0.4.28

func (d *WatchSecretsDescriptor) GetMethodName() string

func (*WatchSecretsDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchSecretsDescriptor) GetProtoPkgName() string

func (*WatchSecretsDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchSecretsDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchSecretsDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchSecretsDescriptor) GetServiceDomain() string

func (*WatchSecretsDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchSecretsDescriptor) GetServiceVersion() string

func (*WatchSecretsDescriptor) GetVerb added in v0.4.28

func (d *WatchSecretsDescriptor) GetVerb() string

func (*WatchSecretsDescriptor) HasResource added in v0.4.30

func (d *WatchSecretsDescriptor) HasResource() bool

func (*WatchSecretsDescriptor) IsClientStream added in v0.4.28

func (d *WatchSecretsDescriptor) IsClientStream() bool

func (*WatchSecretsDescriptor) IsCollection added in v0.4.30

func (d *WatchSecretsDescriptor) IsCollection() bool

func (*WatchSecretsDescriptor) IsPlural added in v0.4.30

func (d *WatchSecretsDescriptor) IsPlural() bool

func (*WatchSecretsDescriptor) IsServerStream added in v0.4.28

func (d *WatchSecretsDescriptor) IsServerStream() bool

func (*WatchSecretsDescriptor) IsUnary added in v0.4.28

func (d *WatchSecretsDescriptor) IsUnary() bool

func (*WatchSecretsDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchSecretsDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchSecretsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchSecretsDescriptor) RequestHasResourceBody() bool

type WatchSecretsDescriptorClientMsgHandle added in v0.4.28

type WatchSecretsDescriptorClientMsgHandle struct{}

func (*WatchSecretsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchSecretsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchSecretsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchSecretsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchSecretsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchSecretsDescriptorServerMsgHandle added in v0.4.28

type WatchSecretsDescriptorServerMsgHandle struct{}

func (*WatchSecretsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchSecretsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchSecretsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchSecretsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchSecretsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchSecretsRequest

type WatchSecretsRequest 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.secrets.v1alpha2.Secret
	Parent *secret.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Secrets 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 *secret.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 *secret.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 *secret.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 Secret that don't affect
	// any of masked fields won't be sent back.
	FieldMask *secret.Secret_FieldMask `` /* 138-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
	// Secret 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 [WatchSecrets][ntt.secrets.v1alpha2.WatchSecrets]

func (*WatchSecretsRequest) Descriptor

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

Deprecated, Use WatchSecretsRequest.ProtoReflect.Descriptor instead.

func (*WatchSecretsRequest) GetFieldMask

func (m *WatchSecretsRequest) GetFieldMask() *secret.Secret_FieldMask

func (*WatchSecretsRequest) GetFilter

func (m *WatchSecretsRequest) GetFilter() *secret.Filter

func (*WatchSecretsRequest) GetMaxChunkSize

func (m *WatchSecretsRequest) GetMaxChunkSize() int32

func (*WatchSecretsRequest) GetOrderBy

func (m *WatchSecretsRequest) GetOrderBy() *secret.OrderBy

func (*WatchSecretsRequest) GetPageSize

func (m *WatchSecretsRequest) GetPageSize() int32

func (*WatchSecretsRequest) GetPageToken

func (m *WatchSecretsRequest) GetPageToken() *secret.PagerCursor

func (*WatchSecretsRequest) GetParent

func (m *WatchSecretsRequest) GetParent() *secret.ParentName

func (*WatchSecretsRequest) GetResumeToken

func (m *WatchSecretsRequest) GetResumeToken() string

func (*WatchSecretsRequest) GetStartingTime added in v0.9.0

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

func (*WatchSecretsRequest) GetType

func (*WatchSecretsRequest) GetView

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

func (*WatchSecretsRequest) GotenMessage

func (*WatchSecretsRequest) GotenMessage()

func (*WatchSecretsRequest) GotenValidate

func (obj *WatchSecretsRequest) GotenValidate() error

func (*WatchSecretsRequest) Marshal

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

func (*WatchSecretsRequest) MarshalJSON

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

func (*WatchSecretsRequest) ProtoMessage

func (*WatchSecretsRequest) ProtoMessage()

func (*WatchSecretsRequest) ProtoReflect

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

func (*WatchSecretsRequest) Reset

func (m *WatchSecretsRequest) Reset()

func (*WatchSecretsRequest) SetFieldMask

func (m *WatchSecretsRequest) SetFieldMask(fv *secret.Secret_FieldMask)

func (*WatchSecretsRequest) SetFilter

func (m *WatchSecretsRequest) SetFilter(fv *secret.Filter)

func (*WatchSecretsRequest) SetMaxChunkSize

func (m *WatchSecretsRequest) SetMaxChunkSize(fv int32)

func (*WatchSecretsRequest) SetOrderBy

func (m *WatchSecretsRequest) SetOrderBy(fv *secret.OrderBy)

func (*WatchSecretsRequest) SetPageSize

func (m *WatchSecretsRequest) SetPageSize(fv int32)

func (*WatchSecretsRequest) SetPageToken

func (m *WatchSecretsRequest) SetPageToken(fv *secret.PagerCursor)

func (*WatchSecretsRequest) SetParent

func (m *WatchSecretsRequest) SetParent(fv *secret.ParentName)

func (*WatchSecretsRequest) SetResumeToken

func (m *WatchSecretsRequest) SetResumeToken(fv string)

func (*WatchSecretsRequest) SetStartingTime added in v0.9.0

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

func (*WatchSecretsRequest) SetType

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

func (*WatchSecretsRequest) SetView

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

func (*WatchSecretsRequest) String

func (m *WatchSecretsRequest) String() string

func (*WatchSecretsRequest) Unmarshal

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

func (*WatchSecretsRequest) UnmarshalJSON

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

type WatchSecretsResponse

type WatchSecretsResponse struct {

	// Changes of Secrets
	SecretChanges []*secret.SecretChange `` /* 126-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 Secrets 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 *WatchSecretsResponse_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 (Secrets 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
}

WatchSecretsResponse

func (*WatchSecretsResponse) Descriptor

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

Deprecated, Use WatchSecretsResponse.ProtoReflect.Descriptor instead.

func (*WatchSecretsResponse) GetIsCurrent

func (m *WatchSecretsResponse) GetIsCurrent() bool

func (*WatchSecretsResponse) GetIsHardReset

func (m *WatchSecretsResponse) GetIsHardReset() bool

func (*WatchSecretsResponse) GetIsSoftReset

func (m *WatchSecretsResponse) GetIsSoftReset() bool

func (*WatchSecretsResponse) GetPageTokenChange

func (*WatchSecretsResponse) GetResumeToken

func (m *WatchSecretsResponse) GetResumeToken() string

func (*WatchSecretsResponse) GetSecretChanges

func (m *WatchSecretsResponse) GetSecretChanges() []*secret.SecretChange

func (*WatchSecretsResponse) GetSnapshotSize

func (m *WatchSecretsResponse) GetSnapshotSize() int64

func (*WatchSecretsResponse) GotenMessage

func (*WatchSecretsResponse) GotenMessage()

func (*WatchSecretsResponse) GotenValidate

func (obj *WatchSecretsResponse) GotenValidate() error

func (*WatchSecretsResponse) Marshal

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

func (*WatchSecretsResponse) MarshalJSON

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

func (*WatchSecretsResponse) ProtoMessage

func (*WatchSecretsResponse) ProtoMessage()

func (*WatchSecretsResponse) ProtoReflect

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

func (*WatchSecretsResponse) Reset

func (m *WatchSecretsResponse) Reset()

func (*WatchSecretsResponse) SetIsCurrent

func (m *WatchSecretsResponse) SetIsCurrent(fv bool)

func (*WatchSecretsResponse) SetIsHardReset

func (m *WatchSecretsResponse) SetIsHardReset(fv bool)

func (*WatchSecretsResponse) SetIsSoftReset

func (m *WatchSecretsResponse) SetIsSoftReset(fv bool)

func (*WatchSecretsResponse) SetPageTokenChange

func (*WatchSecretsResponse) SetResumeToken

func (m *WatchSecretsResponse) SetResumeToken(fv string)

func (*WatchSecretsResponse) SetSecretChanges

func (m *WatchSecretsResponse) SetSecretChanges(fv []*secret.SecretChange)

func (*WatchSecretsResponse) SetSnapshotSize

func (m *WatchSecretsResponse) SetSnapshotSize(fv int64)

func (*WatchSecretsResponse) String

func (m *WatchSecretsResponse) String() string

func (*WatchSecretsResponse) Unmarshal

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

func (*WatchSecretsResponse) UnmarshalJSON

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

type WatchSecretsResponse_PageTokenChange

type WatchSecretsResponse_PageTokenChange struct {

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

func (*WatchSecretsResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchSecretsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchSecretsResponse_PageTokenChange) GetNextPageToken

func (*WatchSecretsResponse_PageTokenChange) GetPrevPageToken

func (*WatchSecretsResponse_PageTokenChange) GotenMessage

func (*WatchSecretsResponse_PageTokenChange) GotenMessage()

func (*WatchSecretsResponse_PageTokenChange) GotenValidate

func (obj *WatchSecretsResponse_PageTokenChange) GotenValidate() error

func (*WatchSecretsResponse_PageTokenChange) Marshal

func (*WatchSecretsResponse_PageTokenChange) MarshalJSON

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

func (*WatchSecretsResponse_PageTokenChange) ProtoMessage

func (*WatchSecretsResponse_PageTokenChange) ProtoMessage()

func (*WatchSecretsResponse_PageTokenChange) ProtoReflect

func (*WatchSecretsResponse_PageTokenChange) Reset

func (*WatchSecretsResponse_PageTokenChange) SetNextPageToken

func (m *WatchSecretsResponse_PageTokenChange) SetNextPageToken(fv *secret.PagerCursor)

func (*WatchSecretsResponse_PageTokenChange) SetPrevPageToken

func (m *WatchSecretsResponse_PageTokenChange) SetPrevPageToken(fv *secret.PagerCursor)

func (*WatchSecretsResponse_PageTokenChange) String

func (*WatchSecretsResponse_PageTokenChange) Unmarshal

func (*WatchSecretsResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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