Variables
PscConnectionStatus_name, PscConnectionStatus_value
var (
PscConnectionStatus_name = map[int32]string{
0: "PSC_CONNECTION_STATUS_UNSPECIFIED",
1: "ACTIVE",
2: "NOT_FOUND",
}
PscConnectionStatus_value = map[string]int32{
"PSC_CONNECTION_STATUS_UNSPECIFIED": 0,
"ACTIVE": 1,
"NOT_FOUND": 2,
}
)
Enum value maps for PscConnectionStatus.
ConnectionType_name, ConnectionType_value
var (
ConnectionType_name = map[int32]string{
0: "CONNECTION_TYPE_UNSPECIFIED",
1: "CONNECTION_TYPE_DISCOVERY",
2: "CONNECTION_TYPE_PRIMARY",
3: "CONNECTION_TYPE_READER",
}
ConnectionType_value = map[string]int32{
"CONNECTION_TYPE_UNSPECIFIED": 0,
"CONNECTION_TYPE_DISCOVERY": 1,
"CONNECTION_TYPE_PRIMARY": 2,
"CONNECTION_TYPE_READER": 3,
}
)
Enum value maps for ConnectionType.
Instance_State_name, Instance_State_value
var (
Instance_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "UPDATING",
4: "DELETING",
}
Instance_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"UPDATING": 3,
"DELETING": 4,
}
)
Enum value maps for Instance_State.
Instance_AuthorizationMode_name, Instance_AuthorizationMode_value
var (
Instance_AuthorizationMode_name = map[int32]string{
0: "AUTHORIZATION_MODE_UNSPECIFIED",
1: "AUTH_DISABLED",
2: "IAM_AUTH",
}
Instance_AuthorizationMode_value = map[string]int32{
"AUTHORIZATION_MODE_UNSPECIFIED": 0,
"AUTH_DISABLED": 1,
"IAM_AUTH": 2,
}
)
Enum value maps for Instance_AuthorizationMode.
Instance_TransitEncryptionMode_name, Instance_TransitEncryptionMode_value
var (
Instance_TransitEncryptionMode_name = map[int32]string{
0: "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED",
1: "TRANSIT_ENCRYPTION_DISABLED",
2: "SERVER_AUTHENTICATION",
}
Instance_TransitEncryptionMode_value = map[string]int32{
"TRANSIT_ENCRYPTION_MODE_UNSPECIFIED": 0,
"TRANSIT_ENCRYPTION_DISABLED": 1,
"SERVER_AUTHENTICATION": 2,
}
)
Enum value maps for Instance_TransitEncryptionMode.
Instance_NodeType_name, Instance_NodeType_value
var (
Instance_NodeType_name = map[int32]string{
0: "NODE_TYPE_UNSPECIFIED",
1: "SHARED_CORE_NANO",
2: "HIGHMEM_MEDIUM",
3: "HIGHMEM_XLARGE",
4: "STANDARD_SMALL",
}
Instance_NodeType_value = map[string]int32{
"NODE_TYPE_UNSPECIFIED": 0,
"SHARED_CORE_NANO": 1,
"HIGHMEM_MEDIUM": 2,
"HIGHMEM_XLARGE": 3,
"STANDARD_SMALL": 4,
}
)
Enum value maps for Instance_NodeType.
Instance_Mode_name, Instance_Mode_value
var (
Instance_Mode_name = map[int32]string{
0: "MODE_UNSPECIFIED",
1: "STANDALONE",
2: "CLUSTER",
}
Instance_Mode_value = map[string]int32{
"MODE_UNSPECIFIED": 0,
"STANDALONE": 1,
"CLUSTER": 2,
}
)
Enum value maps for Instance_Mode.
PersistenceConfig_PersistenceMode_name, PersistenceConfig_PersistenceMode_value
var (
PersistenceConfig_PersistenceMode_name = map[int32]string{
0: "PERSISTENCE_MODE_UNSPECIFIED",
1: "DISABLED",
2: "RDB",
3: "AOF",
}
PersistenceConfig_PersistenceMode_value = map[string]int32{
"PERSISTENCE_MODE_UNSPECIFIED": 0,
"DISABLED": 1,
"RDB": 2,
"AOF": 3,
}
)
Enum value maps for PersistenceConfig_PersistenceMode.
PersistenceConfig_RDBConfig_SnapshotPeriod_name, PersistenceConfig_RDBConfig_SnapshotPeriod_value
var (
PersistenceConfig_RDBConfig_SnapshotPeriod_name = map[int32]string{
0: "SNAPSHOT_PERIOD_UNSPECIFIED",
1: "ONE_HOUR",
2: "SIX_HOURS",
3: "TWELVE_HOURS",
4: "TWENTY_FOUR_HOURS",
}
PersistenceConfig_RDBConfig_SnapshotPeriod_value = map[string]int32{
"SNAPSHOT_PERIOD_UNSPECIFIED": 0,
"ONE_HOUR": 1,
"SIX_HOURS": 2,
"TWELVE_HOURS": 3,
"TWENTY_FOUR_HOURS": 4,
}
)
Enum value maps for PersistenceConfig_RDBConfig_SnapshotPeriod.
PersistenceConfig_AOFConfig_AppendFsync_name, PersistenceConfig_AOFConfig_AppendFsync_value
var (
PersistenceConfig_AOFConfig_AppendFsync_name = map[int32]string{
0: "APPEND_FSYNC_UNSPECIFIED",
1: "NEVER",
2: "EVERY_SEC",
3: "ALWAYS",
}
PersistenceConfig_AOFConfig_AppendFsync_value = map[string]int32{
"APPEND_FSYNC_UNSPECIFIED": 0,
"NEVER": 1,
"EVERY_SEC": 2,
"ALWAYS": 3,
}
)
Enum value maps for PersistenceConfig_AOFConfig_AppendFsync.
ZoneDistributionConfig_ZoneDistributionMode_name, ZoneDistributionConfig_ZoneDistributionMode_value
var (
ZoneDistributionConfig_ZoneDistributionMode_name = map[int32]string{
0: "ZONE_DISTRIBUTION_MODE_UNSPECIFIED",
1: "MULTI_ZONE",
2: "SINGLE_ZONE",
}
ZoneDistributionConfig_ZoneDistributionMode_value = map[string]int32{
"ZONE_DISTRIBUTION_MODE_UNSPECIFIED": 0,
"MULTI_ZONE": 1,
"SINGLE_ZONE": 2,
}
)
Enum value maps for ZoneDistributionConfig_ZoneDistributionMode.
File_google_cloud_memorystore_v1beta_memorystore_proto
var File_google_cloud_memorystore_v1beta_memorystore_proto protoreflect.FileDescriptor
Functions
func RegisterMemorystoreServer
func RegisterMemorystoreServer(s *grpc.Server, srv MemorystoreServer)
CertificateAuthority
type CertificateAuthority struct {
// Information about the server certificate authority.
//
// Types that are assignable to ServerCa:
//
// *CertificateAuthority_ManagedServerCa
ServerCa isCertificateAuthority_ServerCa `protobuf_oneof:"server_ca"`
// Identifier. Unique name of the certificate authority.
// Format:
// projects/{project}/locations/{location}/instances/{instance}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A certificate authority for an instance.
func (*CertificateAuthority) Descriptor
func (*CertificateAuthority) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority.ProtoReflect.Descriptor instead.
func (*CertificateAuthority) GetManagedServerCa
func (x *CertificateAuthority) GetManagedServerCa() *CertificateAuthority_ManagedCertificateAuthority
func (*CertificateAuthority) GetName
func (x *CertificateAuthority) GetName() string
func (*CertificateAuthority) GetServerCa
func (m *CertificateAuthority) GetServerCa() isCertificateAuthority_ServerCa
func (*CertificateAuthority) ProtoMessage
func (*CertificateAuthority) ProtoMessage()
func (*CertificateAuthority) ProtoReflect
func (x *CertificateAuthority) ProtoReflect() protoreflect.Message
func (*CertificateAuthority) Reset
func (x *CertificateAuthority) Reset()
func (*CertificateAuthority) String
func (x *CertificateAuthority) String() string
CertificateAuthority_ManagedCertificateAuthority
type CertificateAuthority_ManagedCertificateAuthority struct {
// PEM encoded CA certificate chains for managed server authentication.
CaCerts []*CertificateAuthority_ManagedCertificateAuthority_CertChain `protobuf:"bytes,1,rep,name=ca_certs,json=caCerts,proto3" json:"ca_certs,omitempty"`
// contains filtered or unexported fields
}
A managed certificate authority.
func (*CertificateAuthority_ManagedCertificateAuthority) Descriptor
func (*CertificateAuthority_ManagedCertificateAuthority) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority_ManagedCertificateAuthority.ProtoReflect.Descriptor instead.
func (*CertificateAuthority_ManagedCertificateAuthority) GetCaCerts
func (x *CertificateAuthority_ManagedCertificateAuthority) GetCaCerts() []*CertificateAuthority_ManagedCertificateAuthority_CertChain
func (*CertificateAuthority_ManagedCertificateAuthority) ProtoMessage
func (*CertificateAuthority_ManagedCertificateAuthority) ProtoMessage()
func (*CertificateAuthority_ManagedCertificateAuthority) ProtoReflect
func (x *CertificateAuthority_ManagedCertificateAuthority) ProtoReflect() protoreflect.Message
func (*CertificateAuthority_ManagedCertificateAuthority) Reset
func (x *CertificateAuthority_ManagedCertificateAuthority) Reset()
func (*CertificateAuthority_ManagedCertificateAuthority) String
func (x *CertificateAuthority_ManagedCertificateAuthority) String() string
CertificateAuthority_ManagedCertificateAuthority_CertChain
type CertificateAuthority_ManagedCertificateAuthority_CertChain struct {
// The certificates that form the CA chain in order of leaf to root.
Certificates []string `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
// contains filtered or unexported fields
}
A certificate chain.
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Descriptor
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority_ManagedCertificateAuthority_CertChain.ProtoReflect.Descriptor instead.
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) GetCertificates
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) GetCertificates() []string
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoMessage
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoMessage()
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoReflect
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoReflect() protoreflect.Message
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Reset
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) Reset()
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) String
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) String() string
CertificateAuthority_ManagedServerCa
type CertificateAuthority_ManagedServerCa struct {
// A managed server certificate authority.
ManagedServerCa *CertificateAuthority_ManagedCertificateAuthority `protobuf:"bytes,2,opt,name=managed_server_ca,json=managedServerCa,proto3,oneof"`
}
ConnectionType
type ConnectionType int32
Type of a PSC connection
ConnectionType_CONNECTION_TYPE_UNSPECIFIED, ConnectionType_CONNECTION_TYPE_DISCOVERY, ConnectionType_CONNECTION_TYPE_PRIMARY, ConnectionType_CONNECTION_TYPE_READER
const (
// Connection Type is not set
ConnectionType_CONNECTION_TYPE_UNSPECIFIED ConnectionType = 0
// Connection that will be used for topology discovery.
ConnectionType_CONNECTION_TYPE_DISCOVERY ConnectionType = 1
// Connection that will be used as primary endpoint to access primary.
ConnectionType_CONNECTION_TYPE_PRIMARY ConnectionType = 2
// Connection that will be used as reader endpoint to access replicas.
ConnectionType_CONNECTION_TYPE_READER ConnectionType = 3
)
func (ConnectionType) Descriptor
func (ConnectionType) Descriptor() protoreflect.EnumDescriptor
func (ConnectionType) Enum
func (x ConnectionType) Enum() *ConnectionType
func (ConnectionType) EnumDescriptor
func (ConnectionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionType.Descriptor instead.
func (ConnectionType) Number
func (x ConnectionType) Number() protoreflect.EnumNumber
func (ConnectionType) String
func (x ConnectionType) String() string
func (ConnectionType) Type
func (ConnectionType) Type() protoreflect.EnumType
CreateInstanceRequest
type CreateInstanceRequest struct {
// Required. The parent resource where this instance will be created.
// Format: projects/{project}/locations/{location}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the instance, which will become the final
// component of the instance's resource name.
//
// This value is subject to the following restrictions:
//
// * Must be 4-63 characters in length
// * Must begin with a letter or digit
// * Must contain only lowercase letters, digits, and hyphens
// * Must not end with a hyphen
// * Must be unique within a location
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Required. The instance to create.
Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for [CreateInstance][].
func (*CreateInstanceRequest) Descriptor
func (*CreateInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceRequest) GetInstance
func (x *CreateInstanceRequest) GetInstance() *Instance
func (*CreateInstanceRequest) GetInstanceId
func (x *CreateInstanceRequest) GetInstanceId() string
func (*CreateInstanceRequest) GetParent
func (x *CreateInstanceRequest) GetParent() string
func (*CreateInstanceRequest) GetRequestId
func (x *CreateInstanceRequest) GetRequestId() string
func (*CreateInstanceRequest) ProtoMessage
func (*CreateInstanceRequest) ProtoMessage()
func (*CreateInstanceRequest) ProtoReflect
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message
func (*CreateInstanceRequest) Reset
func (x *CreateInstanceRequest) Reset()
func (*CreateInstanceRequest) String
func (x *CreateInstanceRequest) String() string
DeleteInstanceRequest
type DeleteInstanceRequest struct {
// Required. The name of the instance to delete.
// Format: projects/{project}/locations/{location}/instances/{instance}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for [DeleteInstance][].
func (*DeleteInstanceRequest) Descriptor
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstanceRequest) GetName
func (x *DeleteInstanceRequest) GetName() string
func (*DeleteInstanceRequest) GetRequestId
func (x *DeleteInstanceRequest) GetRequestId() string
func (*DeleteInstanceRequest) ProtoMessage
func (*DeleteInstanceRequest) ProtoMessage()
func (*DeleteInstanceRequest) ProtoReflect
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message
func (*DeleteInstanceRequest) Reset
func (x *DeleteInstanceRequest) Reset()
func (*DeleteInstanceRequest) String
func (x *DeleteInstanceRequest) String() string
DiscoveryEndpoint
type DiscoveryEndpoint struct {
// Output only. IP address of the exposed endpoint clients connect to.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// Output only. The port number of the exposed endpoint.
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// Output only. The network where the IP address of the discovery endpoint
// will be reserved, in the form of
// projects/{network_project}/global/networks/{network_id}.
Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
// contains filtered or unexported fields
}
Represents an endpoint for clients to connect to the instance.
func (*DiscoveryEndpoint) Descriptor
func (*DiscoveryEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryEndpoint.ProtoReflect.Descriptor instead.
func (*DiscoveryEndpoint) GetAddress
func (x *DiscoveryEndpoint) GetAddress() string
func (*DiscoveryEndpoint) GetNetwork
func (x *DiscoveryEndpoint) GetNetwork() string
func (*DiscoveryEndpoint) GetPort
func (x *DiscoveryEndpoint) GetPort() int32
func (*DiscoveryEndpoint) ProtoMessage
func (*DiscoveryEndpoint) ProtoMessage()
func (*DiscoveryEndpoint) ProtoReflect
func (x *DiscoveryEndpoint) ProtoReflect() protoreflect.Message
func (*DiscoveryEndpoint) Reset
func (x *DiscoveryEndpoint) Reset()
func (*DiscoveryEndpoint) String
func (x *DiscoveryEndpoint) String() string
GetCertificateAuthorityRequest
type GetCertificateAuthorityRequest struct {
// Required. The name of the certificate authority.
// Format:
// projects/{project}/locations/{location}/instances/{instance}/certificateAuthority
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for [GetCertificateAuthority][].
func (*GetCertificateAuthorityRequest) Descriptor
func (*GetCertificateAuthorityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateAuthorityRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateAuthorityRequest) GetName
func (x *GetCertificateAuthorityRequest) GetName() string
func (*GetCertificateAuthorityRequest) ProtoMessage
func (*GetCertificateAuthorityRequest) ProtoMessage()
func (*GetCertificateAuthorityRequest) ProtoReflect
func (x *GetCertificateAuthorityRequest) ProtoReflect() protoreflect.Message
func (*GetCertificateAuthorityRequest) Reset
func (x *GetCertificateAuthorityRequest) Reset()
func (*GetCertificateAuthorityRequest) String
func (x *GetCertificateAuthorityRequest) String() string
GetInstanceRequest
type GetInstanceRequest struct {
// Required. The name of the instance to retrieve.
// Format: projects/{project}/locations/{location}/instances/{instance}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for [GetInstance][].
func (*GetInstanceRequest) Descriptor
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetName
func (x *GetInstanceRequest) GetName() string
func (*GetInstanceRequest) ProtoMessage
func (*GetInstanceRequest) ProtoMessage()
func (*GetInstanceRequest) ProtoReflect
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceRequest) Reset
func (x *GetInstanceRequest) Reset()
func (*GetInstanceRequest) String
func (x *GetInstanceRequest) String() string
Instance
type Instance struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
State Instance_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.memorystore.v1beta.Instance_State" json:"state,omitempty"`
StateInfo *Instance_StateInfo `protobuf:"bytes,6,opt,name=state_info,json=stateInfo,proto3" json:"state_info,omitempty"`
Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"`
ReplicaCount *int32 `protobuf:"varint,8,opt,name=replica_count,json=replicaCount,proto3,oneof" json:"replica_count,omitempty"`
AuthorizationMode Instance_AuthorizationMode "" /* 177 byte string literal not displayed */
TransitEncryptionMode Instance_TransitEncryptionMode "" /* 196 byte string literal not displayed */
ShardCount int32 `protobuf:"varint,11,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`
DiscoveryEndpoints []*DiscoveryEndpoint `protobuf:"bytes,12,rep,name=discovery_endpoints,json=discoveryEndpoints,proto3" json:"discovery_endpoints,omitempty"`
NodeType Instance_NodeType "" /* 142 byte string literal not displayed */
PersistenceConfig *PersistenceConfig `protobuf:"bytes,14,opt,name=persistence_config,json=persistenceConfig,proto3" json:"persistence_config,omitempty"`
EngineVersion string `protobuf:"bytes,15,opt,name=engine_version,json=engineVersion,proto3" json:"engine_version,omitempty"`
EngineConfigs map[string]string "" /* 189 byte string literal not displayed */
NodeConfig *NodeConfig `protobuf:"bytes,17,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"`
ZoneDistributionConfig *ZoneDistributionConfig "" /* 130 byte string literal not displayed */
DeletionProtectionEnabled *bool "" /* 146 byte string literal not displayed */
PscAutoConnections []*PscAutoConnection `protobuf:"bytes,20,rep,name=psc_auto_connections,json=pscAutoConnections,proto3" json:"psc_auto_connections,omitempty"`
Endpoints []*Instance_InstanceEndpoint `protobuf:"bytes,25,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
Mode Instance_Mode `protobuf:"varint,26,opt,name=mode,proto3,enum=google.cloud.memorystore.v1beta.Instance_Mode" json:"mode,omitempty"`
}
A Memorystore instance.
func (*Instance) Descriptor
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetAuthorizationMode
func (x *Instance) GetAuthorizationMode() Instance_AuthorizationMode
func (*Instance) GetCreateTime
func (x *Instance) GetCreateTime() *timestamppb.Timestamp
func (*Instance) GetDeletionProtectionEnabled
func (*Instance) GetDiscoveryEndpoints
func (x *Instance) GetDiscoveryEndpoints() []*DiscoveryEndpoint
func (*Instance) GetEndpoints
func (x *Instance) GetEndpoints() []*Instance_InstanceEndpoint
func (*Instance) GetEngineConfigs
func (*Instance) GetEngineVersion
func (*Instance) GetLabels
func (*Instance) GetMode
func (x *Instance) GetMode() Instance_Mode
func (*Instance) GetName
func (*Instance) GetNodeConfig
func (x *Instance) GetNodeConfig() *NodeConfig
func (*Instance) GetNodeType
func (x *Instance) GetNodeType() Instance_NodeType
func (*Instance) GetPersistenceConfig
func (x *Instance) GetPersistenceConfig() *PersistenceConfig
func (*Instance) GetPscAutoConnections
func (x *Instance) GetPscAutoConnections() []*PscAutoConnection
func (*Instance) GetReplicaCount
func (*Instance) GetShardCount
func (*Instance) GetState
func (x *Instance) GetState() Instance_State
func (*Instance) GetStateInfo
func (x *Instance) GetStateInfo() *Instance_StateInfo
func (*Instance) GetTransitEncryptionMode
func (x *Instance) GetTransitEncryptionMode() Instance_TransitEncryptionMode
func (*Instance) GetUid
func (*Instance) GetUpdateTime
func (x *Instance) GetUpdateTime() *timestamppb.Timestamp
func (*Instance) GetZoneDistributionConfig
func (x *Instance) GetZoneDistributionConfig() *ZoneDistributionConfig
func (*Instance) ProtoMessage
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect
func (x *Instance) ProtoReflect() protoreflect.Message
func (*Instance) Reset
func (x *Instance) Reset()
func (*Instance) String
Instance_AuthorizationMode
type Instance_AuthorizationMode int32
Possible authorization modes of the instance.
Instance_AUTHORIZATION_MODE_UNSPECIFIED, Instance_AUTH_DISABLED, Instance_IAM_AUTH
const (
// Not set.
Instance_AUTHORIZATION_MODE_UNSPECIFIED Instance_AuthorizationMode = 0
// Authorization disabled.
Instance_AUTH_DISABLED Instance_AuthorizationMode = 1
// IAM basic authorization.
Instance_IAM_AUTH Instance_AuthorizationMode = 2
)
func (Instance_AuthorizationMode) Descriptor
func (Instance_AuthorizationMode) Descriptor() protoreflect.EnumDescriptor
func (Instance_AuthorizationMode) Enum
func (x Instance_AuthorizationMode) Enum() *Instance_AuthorizationMode
func (Instance_AuthorizationMode) EnumDescriptor
func (Instance_AuthorizationMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_AuthorizationMode.Descriptor instead.
func (Instance_AuthorizationMode) Number
func (x Instance_AuthorizationMode) Number() protoreflect.EnumNumber
func (Instance_AuthorizationMode) String
func (x Instance_AuthorizationMode) String() string
func (Instance_AuthorizationMode) Type
func (Instance_AuthorizationMode) Type() protoreflect.EnumType
Instance_ConnectionDetail
type Instance_ConnectionDetail struct {
// A PSC connection to an instance could either be created through Service
// Connectivity Automation (auto connection) during the cluster creation,
// or it could be created by customer themeslves (user-created connection).
//
// Types that are assignable to Connection:
//
// *Instance_ConnectionDetail_PscAutoConnection
// *Instance_ConnectionDetail_PscConnection
Connection isInstance_ConnectionDetail_Connection `protobuf_oneof:"connection"`
// contains filtered or unexported fields
}
Information of each PSC connection.
func (*Instance_ConnectionDetail) Descriptor
func (*Instance_ConnectionDetail) Descriptor() ([]byte, []int)
Deprecated: Use Instance_ConnectionDetail.ProtoReflect.Descriptor instead.
func (*Instance_ConnectionDetail) GetConnection
func (m *Instance_ConnectionDetail) GetConnection() isInstance_ConnectionDetail_Connection
func (*Instance_ConnectionDetail) GetPscAutoConnection
func (x *Instance_ConnectionDetail) GetPscAutoConnection() *PscAutoConnection
func (*Instance_ConnectionDetail) GetPscConnection
func (x *Instance_ConnectionDetail) GetPscConnection() *PscConnection
func (*Instance_ConnectionDetail) ProtoMessage
func (*Instance_ConnectionDetail) ProtoMessage()
func (*Instance_ConnectionDetail) ProtoReflect
func (x *Instance_ConnectionDetail) ProtoReflect() protoreflect.Message
func (*Instance_ConnectionDetail) Reset
func (x *Instance_ConnectionDetail) Reset()
func (*Instance_ConnectionDetail) String
func (x *Instance_ConnectionDetail) String() string
Instance_ConnectionDetail_PscAutoConnection
type Instance_ConnectionDetail_PscAutoConnection struct {
// Detailed information of a PSC connection that is created through
// service connectivity automation.
PscAutoConnection *PscAutoConnection `protobuf:"bytes,1,opt,name=psc_auto_connection,json=pscAutoConnection,proto3,oneof"`
}
Instance_ConnectionDetail_PscConnection
type Instance_ConnectionDetail_PscConnection struct {
// Detailed information of a PSC connection that is created by the user.
PscConnection *PscConnection `protobuf:"bytes,2,opt,name=psc_connection,json=pscConnection,proto3,oneof"`
}
Instance_InstanceEndpoint
type Instance_InstanceEndpoint struct {
// Optional. A group of PSC connections. They are created in the same VPC
// network, one for each service attachment in the cluster.
Connections []*Instance_ConnectionDetail `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
// contains filtered or unexported fields
}
InstanceEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the instance. In each group, there shall be one connection for each service attachment in the cluster.
func (*Instance_InstanceEndpoint) Descriptor
func (*Instance_InstanceEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use Instance_InstanceEndpoint.ProtoReflect.Descriptor instead.
func (*Instance_InstanceEndpoint) GetConnections
func (x *Instance_InstanceEndpoint) GetConnections() []*Instance_ConnectionDetail
func (*Instance_InstanceEndpoint) ProtoMessage
func (*Instance_InstanceEndpoint) ProtoMessage()
func (*Instance_InstanceEndpoint) ProtoReflect
func (x *Instance_InstanceEndpoint) ProtoReflect() protoreflect.Message
func (*Instance_InstanceEndpoint) Reset
func (x *Instance_InstanceEndpoint) Reset()
func (*Instance_InstanceEndpoint) String
func (x *Instance_InstanceEndpoint) String() string
Instance_Mode
type Instance_Mode int32
The mode config, which is used to enable/disable cluster mode.
Instance_MODE_UNSPECIFIED, Instance_STANDALONE, Instance_CLUSTER
const (
// Mode is not specified.
Instance_MODE_UNSPECIFIED Instance_Mode = 0
// Instance is in standalone mode.
Instance_STANDALONE Instance_Mode = 1
// Instance is in cluster mode.
Instance_CLUSTER Instance_Mode = 2
)
func (Instance_Mode) Descriptor
func (Instance_Mode) Descriptor() protoreflect.EnumDescriptor
func (Instance_Mode) Enum
func (x Instance_Mode) Enum() *Instance_Mode
func (Instance_Mode) EnumDescriptor
func (Instance_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_Mode.Descriptor instead.
func (Instance_Mode) Number
func (x Instance_Mode) Number() protoreflect.EnumNumber
func (Instance_Mode) String
func (x Instance_Mode) String() string
func (Instance_Mode) Type
func (Instance_Mode) Type() protoreflect.EnumType
Instance_NodeType
type Instance_NodeType int32
Possible node types of the instance. See https://cloud.google.com/memorystore/docs/valkey/instance-node-specification for more information.
Instance_NODE_TYPE_UNSPECIFIED, Instance_SHARED_CORE_NANO, Instance_HIGHMEM_MEDIUM, Instance_HIGHMEM_XLARGE, Instance_STANDARD_SMALL
const (
// Not set.
Instance_NODE_TYPE_UNSPECIFIED Instance_NodeType = 0
// Shared core nano.
Instance_SHARED_CORE_NANO Instance_NodeType = 1
// High memory medium.
Instance_HIGHMEM_MEDIUM Instance_NodeType = 2
// High memory extra large.
Instance_HIGHMEM_XLARGE Instance_NodeType = 3
// Standard small.
Instance_STANDARD_SMALL Instance_NodeType = 4
)
func (Instance_NodeType) Descriptor
func (Instance_NodeType) Descriptor() protoreflect.EnumDescriptor
func (Instance_NodeType) Enum
func (x Instance_NodeType) Enum() *Instance_NodeType
func (Instance_NodeType) EnumDescriptor
func (Instance_NodeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_NodeType.Descriptor instead.
func (Instance_NodeType) Number
func (x Instance_NodeType) Number() protoreflect.EnumNumber
func (Instance_NodeType) String
func (x Instance_NodeType) String() string
func (Instance_NodeType) Type
func (Instance_NodeType) Type() protoreflect.EnumType
Instance_State
type Instance_State int32
Possible states of the instance.
Instance_STATE_UNSPECIFIED, Instance_CREATING, Instance_ACTIVE, Instance_UPDATING, Instance_DELETING
const (
// Not set.
Instance_STATE_UNSPECIFIED Instance_State = 0
// Instance is being created.
Instance_CREATING Instance_State = 1
// Instance has been created and is usable.
Instance_ACTIVE Instance_State = 2
// Instance is being updated.
Instance_UPDATING Instance_State = 3
// Instance is being deleted.
Instance_DELETING Instance_State = 4
)
func (Instance_State) Descriptor
func (Instance_State) Descriptor() protoreflect.EnumDescriptor
func (Instance_State) Enum
func (x Instance_State) Enum() *Instance_State
func (Instance_State) EnumDescriptor
func (Instance_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_State.Descriptor instead.
func (Instance_State) Number
func (x Instance_State) Number() protoreflect.EnumNumber
func (Instance_State) String
func (x Instance_State) String() string
func (Instance_State) Type
func (Instance_State) Type() protoreflect.EnumType
Instance_StateInfo
type Instance_StateInfo struct {
// Types that are assignable to Info:
//
// *Instance_StateInfo_UpdateInfo_
Info isInstance_StateInfo_Info `protobuf_oneof:"info"`
// contains filtered or unexported fields
}
Additional information about the state of the instance.
func (*Instance_StateInfo) Descriptor
func (*Instance_StateInfo) Descriptor() ([]byte, []int)
Deprecated: Use Instance_StateInfo.ProtoReflect.Descriptor instead.
func (*Instance_StateInfo) GetInfo
func (m *Instance_StateInfo) GetInfo() isInstance_StateInfo_Info
func (*Instance_StateInfo) GetUpdateInfo
func (x *Instance_StateInfo) GetUpdateInfo() *Instance_StateInfo_UpdateInfo
func (*Instance_StateInfo) ProtoMessage
func (*Instance_StateInfo) ProtoMessage()
func (*Instance_StateInfo) ProtoReflect
func (x *Instance_StateInfo) ProtoReflect() protoreflect.Message
func (*Instance_StateInfo) Reset
func (x *Instance_StateInfo) Reset()
func (*Instance_StateInfo) String
func (x *Instance_StateInfo) String() string
Instance_StateInfo_UpdateInfo
type Instance_StateInfo_UpdateInfo struct {
// Output only. Target number of shards for the instance.
TargetShardCount *int32 `protobuf:"varint,1,opt,name=target_shard_count,json=targetShardCount,proto3,oneof" json:"target_shard_count,omitempty"`
// Output only. Target number of replica nodes per shard for the instance.
TargetReplicaCount *int32 `protobuf:"varint,2,opt,name=target_replica_count,json=targetReplicaCount,proto3,oneof" json:"target_replica_count,omitempty"`
// contains filtered or unexported fields
}
Represents information about instance with state UPDATING.
func (*Instance_StateInfo_UpdateInfo) Descriptor
func (*Instance_StateInfo_UpdateInfo) Descriptor() ([]byte, []int)
Deprecated: Use Instance_StateInfo_UpdateInfo.ProtoReflect.Descriptor instead.
func (*Instance_StateInfo_UpdateInfo) GetTargetReplicaCount
func (x *Instance_StateInfo_UpdateInfo) GetTargetReplicaCount() int32
func (*Instance_StateInfo_UpdateInfo) GetTargetShardCount
func (x *Instance_StateInfo_UpdateInfo) GetTargetShardCount() int32
func (*Instance_StateInfo_UpdateInfo) ProtoMessage
func (*Instance_StateInfo_UpdateInfo) ProtoMessage()
func (*Instance_StateInfo_UpdateInfo) ProtoReflect
func (x *Instance_StateInfo_UpdateInfo) ProtoReflect() protoreflect.Message
func (*Instance_StateInfo_UpdateInfo) Reset
func (x *Instance_StateInfo_UpdateInfo) Reset()
func (*Instance_StateInfo_UpdateInfo) String
func (x *Instance_StateInfo_UpdateInfo) String() string
Instance_StateInfo_UpdateInfo_
type Instance_StateInfo_UpdateInfo_ struct {
// Output only. Describes ongoing update when instance state is UPDATING.
UpdateInfo *Instance_StateInfo_UpdateInfo `protobuf:"bytes,1,opt,name=update_info,json=updateInfo,proto3,oneof"`
}
Instance_TransitEncryptionMode
type Instance_TransitEncryptionMode int32
Possible in-transit encryption modes of the instance.
Instance_TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, Instance_TRANSIT_ENCRYPTION_DISABLED, Instance_SERVER_AUTHENTICATION
const (
// Not set.
Instance_TRANSIT_ENCRYPTION_MODE_UNSPECIFIED Instance_TransitEncryptionMode = 0
// In-transit encryption is disabled.
Instance_TRANSIT_ENCRYPTION_DISABLED Instance_TransitEncryptionMode = 1
// Server-managed encryption is used for in-transit encryption.
Instance_SERVER_AUTHENTICATION Instance_TransitEncryptionMode = 2
)
func (Instance_TransitEncryptionMode) Descriptor
func (Instance_TransitEncryptionMode) Descriptor() protoreflect.EnumDescriptor
func (Instance_TransitEncryptionMode) Enum
func (x Instance_TransitEncryptionMode) Enum() *Instance_TransitEncryptionMode
func (Instance_TransitEncryptionMode) EnumDescriptor
func (Instance_TransitEncryptionMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_TransitEncryptionMode.Descriptor instead.
func (Instance_TransitEncryptionMode) Number
func (x Instance_TransitEncryptionMode) Number() protoreflect.EnumNumber
func (Instance_TransitEncryptionMode) String
func (x Instance_TransitEncryptionMode) String() string
func (Instance_TransitEncryptionMode) Type
func (Instance_TransitEncryptionMode) Type() protoreflect.EnumType
ListInstancesRequest
type ListInstancesRequest struct {
// Required. The parent to list instances from.
// Format: projects/{project}/locations/{location}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items 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"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Expression for filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Sort results by a defined order. Supported values: "name",
// "create_time".
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for [ListInstances][].
func (*ListInstancesRequest) Descriptor
func (*ListInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstancesRequest) GetFilter
func (x *ListInstancesRequest) GetFilter() string
func (*ListInstancesRequest) GetOrderBy
func (x *ListInstancesRequest) GetOrderBy() string
func (*ListInstancesRequest) GetPageSize
func (x *ListInstancesRequest) GetPageSize() int32
func (*ListInstancesRequest) GetPageToken
func (x *ListInstancesRequest) GetPageToken() string
func (*ListInstancesRequest) GetParent
func (x *ListInstancesRequest) GetParent() string
func (*ListInstancesRequest) ProtoMessage
func (*ListInstancesRequest) ProtoMessage()
func (*ListInstancesRequest) ProtoReflect
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
func (*ListInstancesRequest) Reset
func (x *ListInstancesRequest) Reset()
func (*ListInstancesRequest) String
func (x *ListInstancesRequest) String() string
ListInstancesResponse
type ListInstancesResponse struct {
// If the {location} requested was "-" the response contains a list of
// instances from all locations. Instances in unreachable locations will be
// omitted.
Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for [ListInstances][].
func (*ListInstancesResponse) Descriptor
func (*ListInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstancesResponse) GetInstances
func (x *ListInstancesResponse) GetInstances() []*Instance
func (*ListInstancesResponse) GetNextPageToken
func (x *ListInstancesResponse) GetNextPageToken() string
func (*ListInstancesResponse) GetUnreachable
func (x *ListInstancesResponse) GetUnreachable() []string
func (*ListInstancesResponse) ProtoMessage
func (*ListInstancesResponse) ProtoMessage()
func (*ListInstancesResponse) ProtoReflect
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
func (*ListInstancesResponse) Reset
func (x *ListInstancesResponse) Reset()
func (*ListInstancesResponse) String
func (x *ListInstancesResponse) String() string
MemorystoreClient
type MemorystoreClient interface {
// Lists Instances in a given project and location.
ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
// Gets details of a single Instance.
GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
// Creates a new Instance in a given project and location.
CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Instance.
UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Instance.
DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details about the certificate authority for an Instance.
GetCertificateAuthority(ctx context.Context, in *GetCertificateAuthorityRequest, opts ...grpc.CallOption) (*CertificateAuthority, error)
}
MemorystoreClient is the client API for Memorystore service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMemorystoreClient
func NewMemorystoreClient(cc grpc.ClientConnInterface) MemorystoreClient
MemorystoreServer
type MemorystoreServer interface {
// Lists Instances in a given project and location.
ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
// Gets details of a single Instance.
GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
// Creates a new Instance in a given project and location.
CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Instance.
UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunningpb.Operation, error)
// Deletes a single Instance.
DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)
// Gets details about the certificate authority for an Instance.
GetCertificateAuthority(context.Context, *GetCertificateAuthorityRequest) (*CertificateAuthority, error)
}
MemorystoreServer is the server API for Memorystore service.
NodeConfig
type NodeConfig struct {
// Output only. Memory size in GB of the node.
SizeGb float64 `protobuf:"fixed64,1,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// contains filtered or unexported fields
}
Represents configuration for nodes of the instance.
func (*NodeConfig) Descriptor
func (*NodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use NodeConfig.ProtoReflect.Descriptor instead.
func (*NodeConfig) GetSizeGb
func (x *NodeConfig) GetSizeGb() float64
func (*NodeConfig) ProtoMessage
func (*NodeConfig) ProtoMessage()
func (*NodeConfig) ProtoReflect
func (x *NodeConfig) ProtoReflect() protoreflect.Message
func (*NodeConfig) Reset
func (x *NodeConfig) Reset()
func (*NodeConfig) String
func (x *NodeConfig) String() string
OperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have been cancelled successfully
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Represents the metadata of a long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String
func (x *OperationMetadata) String() string
PersistenceConfig
type PersistenceConfig struct {
Mode PersistenceConfig_PersistenceMode "" /* 133 byte string literal not displayed */
RdbConfig *PersistenceConfig_RDBConfig `protobuf:"bytes,2,opt,name=rdb_config,json=rdbConfig,proto3" json:"rdb_config,omitempty"`
AofConfig *PersistenceConfig_AOFConfig `protobuf:"bytes,3,opt,name=aof_config,json=aofConfig,proto3" json:"aof_config,omitempty"`
}
Represents persistence configuration for a instance.
func (*PersistenceConfig) Descriptor
func (*PersistenceConfig) Descriptor() ([]byte, []int)
Deprecated: Use PersistenceConfig.ProtoReflect.Descriptor instead.
func (*PersistenceConfig) GetAofConfig
func (x *PersistenceConfig) GetAofConfig() *PersistenceConfig_AOFConfig
func (*PersistenceConfig) GetMode
func (x *PersistenceConfig) GetMode() PersistenceConfig_PersistenceMode
func (*PersistenceConfig) GetRdbConfig
func (x *PersistenceConfig) GetRdbConfig() *PersistenceConfig_RDBConfig
func (*PersistenceConfig) ProtoMessage
func (*PersistenceConfig) ProtoMessage()
func (*PersistenceConfig) ProtoReflect
func (x *PersistenceConfig) ProtoReflect() protoreflect.Message
func (*PersistenceConfig) Reset
func (x *PersistenceConfig) Reset()
func (*PersistenceConfig) String
func (x *PersistenceConfig) String() string
PersistenceConfig_AOFConfig
type PersistenceConfig_AOFConfig struct {
AppendFsync PersistenceConfig_AOFConfig_AppendFsync "" /* 172 byte string literal not displayed */
}
Configuration for AOF based persistence.
func (*PersistenceConfig_AOFConfig) Descriptor
func (*PersistenceConfig_AOFConfig) Descriptor() ([]byte, []int)
Deprecated: Use PersistenceConfig_AOFConfig.ProtoReflect.Descriptor instead.
func (*PersistenceConfig_AOFConfig) GetAppendFsync
func (x *PersistenceConfig_AOFConfig) GetAppendFsync() PersistenceConfig_AOFConfig_AppendFsync
func (*PersistenceConfig_AOFConfig) ProtoMessage
func (*PersistenceConfig_AOFConfig) ProtoMessage()
func (*PersistenceConfig_AOFConfig) ProtoReflect
func (x *PersistenceConfig_AOFConfig) ProtoReflect() protoreflect.Message
func (*PersistenceConfig_AOFConfig) Reset
func (x *PersistenceConfig_AOFConfig) Reset()
func (*PersistenceConfig_AOFConfig) String
func (x *PersistenceConfig_AOFConfig) String() string
PersistenceConfig_AOFConfig_AppendFsync
type PersistenceConfig_AOFConfig_AppendFsync int32
Possible fsync modes.
PersistenceConfig_AOFConfig_APPEND_FSYNC_UNSPECIFIED, PersistenceConfig_AOFConfig_NEVER, PersistenceConfig_AOFConfig_EVERY_SEC, PersistenceConfig_AOFConfig_ALWAYS
const (
// Not set. Default: EVERY_SEC
PersistenceConfig_AOFConfig_APPEND_FSYNC_UNSPECIFIED PersistenceConfig_AOFConfig_AppendFsync = 0
// Never fsync. Normally Linux will flush data every 30 seconds with this
// configuration, but it's up to the kernel's exact tuning.
PersistenceConfig_AOFConfig_NEVER PersistenceConfig_AOFConfig_AppendFsync = 1
// Fsync every second. You may lose 1 second of data if there is a
// disaster.
PersistenceConfig_AOFConfig_EVERY_SEC PersistenceConfig_AOFConfig_AppendFsync = 2
// Fsync every time new write commands are appended to the AOF. The best
// data loss protection at the cost of performance.
PersistenceConfig_AOFConfig_ALWAYS PersistenceConfig_AOFConfig_AppendFsync = 3
)
func (PersistenceConfig_AOFConfig_AppendFsync) Descriptor
func (PersistenceConfig_AOFConfig_AppendFsync) Descriptor() protoreflect.EnumDescriptor
func (PersistenceConfig_AOFConfig_AppendFsync) Enum
func (PersistenceConfig_AOFConfig_AppendFsync) EnumDescriptor
func (PersistenceConfig_AOFConfig_AppendFsync) EnumDescriptor() ([]byte, []int)
Deprecated: Use PersistenceConfig_AOFConfig_AppendFsync.Descriptor instead.
func (PersistenceConfig_AOFConfig_AppendFsync) Number
func (x PersistenceConfig_AOFConfig_AppendFsync) Number() protoreflect.EnumNumber
func (PersistenceConfig_AOFConfig_AppendFsync) String
func (x PersistenceConfig_AOFConfig_AppendFsync) String() string
func (PersistenceConfig_AOFConfig_AppendFsync) Type
func (PersistenceConfig_AOFConfig_AppendFsync) Type() protoreflect.EnumType
PersistenceConfig_PersistenceMode
type PersistenceConfig_PersistenceMode int32
Possible persistence modes.
PersistenceConfig_PERSISTENCE_MODE_UNSPECIFIED, PersistenceConfig_DISABLED, PersistenceConfig_RDB, PersistenceConfig_AOF
const (
// Not set.
PersistenceConfig_PERSISTENCE_MODE_UNSPECIFIED PersistenceConfig_PersistenceMode = 0
// Persistence is disabled, and any snapshot data is deleted.
PersistenceConfig_DISABLED PersistenceConfig_PersistenceMode = 1
// RDB based persistence is enabled.
PersistenceConfig_RDB PersistenceConfig_PersistenceMode = 2
// AOF based persistence is enabled.
PersistenceConfig_AOF PersistenceConfig_PersistenceMode = 3
)
func (PersistenceConfig_PersistenceMode) Descriptor
func (PersistenceConfig_PersistenceMode) Descriptor() protoreflect.EnumDescriptor
func (PersistenceConfig_PersistenceMode) Enum
func (x PersistenceConfig_PersistenceMode) Enum() *PersistenceConfig_PersistenceMode
func (PersistenceConfig_PersistenceMode) EnumDescriptor
func (PersistenceConfig_PersistenceMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use PersistenceConfig_PersistenceMode.Descriptor instead.
func (PersistenceConfig_PersistenceMode) Number
func (x PersistenceConfig_PersistenceMode) Number() protoreflect.EnumNumber
func (PersistenceConfig_PersistenceMode) String
func (x PersistenceConfig_PersistenceMode) String() string
func (PersistenceConfig_PersistenceMode) Type
func (PersistenceConfig_PersistenceMode) Type() protoreflect.EnumType
PersistenceConfig_RDBConfig
type PersistenceConfig_RDBConfig struct {
RdbSnapshotPeriod PersistenceConfig_RDBConfig_SnapshotPeriod "" /* 195 byte string literal not displayed */
RdbSnapshotStartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=rdb_snapshot_start_time,json=rdbSnapshotStartTime,proto3" json:"rdb_snapshot_start_time,omitempty"`
}
Configuration for RDB based persistence.
func (*PersistenceConfig_RDBConfig) Descriptor
func (*PersistenceConfig_RDBConfig) Descriptor() ([]byte, []int)
Deprecated: Use PersistenceConfig_RDBConfig.ProtoReflect.Descriptor instead.
func (*PersistenceConfig_RDBConfig) GetRdbSnapshotPeriod
func (x *PersistenceConfig_RDBConfig) GetRdbSnapshotPeriod() PersistenceConfig_RDBConfig_SnapshotPeriod
func (*PersistenceConfig_RDBConfig) GetRdbSnapshotStartTime
func (x *PersistenceConfig_RDBConfig) GetRdbSnapshotStartTime() *timestamppb.Timestamp
func (*PersistenceConfig_RDBConfig) ProtoMessage
func (*PersistenceConfig_RDBConfig) ProtoMessage()
func (*PersistenceConfig_RDBConfig) ProtoReflect
func (x *PersistenceConfig_RDBConfig) ProtoReflect() protoreflect.Message
func (*PersistenceConfig_RDBConfig) Reset
func (x *PersistenceConfig_RDBConfig) Reset()
func (*PersistenceConfig_RDBConfig) String
func (x *PersistenceConfig_RDBConfig) String() string
PersistenceConfig_RDBConfig_SnapshotPeriod
type PersistenceConfig_RDBConfig_SnapshotPeriod int32
Possible snapshot periods.
PersistenceConfig_RDBConfig_SNAPSHOT_PERIOD_UNSPECIFIED, PersistenceConfig_RDBConfig_ONE_HOUR, PersistenceConfig_RDBConfig_SIX_HOURS, PersistenceConfig_RDBConfig_TWELVE_HOURS, PersistenceConfig_RDBConfig_TWENTY_FOUR_HOURS
const (
// Not set.
PersistenceConfig_RDBConfig_SNAPSHOT_PERIOD_UNSPECIFIED PersistenceConfig_RDBConfig_SnapshotPeriod = 0
// One hour.
PersistenceConfig_RDBConfig_ONE_HOUR PersistenceConfig_RDBConfig_SnapshotPeriod = 1
// Six hours.
PersistenceConfig_RDBConfig_SIX_HOURS PersistenceConfig_RDBConfig_SnapshotPeriod = 2
// Twelve hours.
PersistenceConfig_RDBConfig_TWELVE_HOURS PersistenceConfig_RDBConfig_SnapshotPeriod = 3
// Twenty four hours.
PersistenceConfig_RDBConfig_TWENTY_FOUR_HOURS PersistenceConfig_RDBConfig_SnapshotPeriod = 4
)
func (PersistenceConfig_RDBConfig_SnapshotPeriod) Descriptor
func (PersistenceConfig_RDBConfig_SnapshotPeriod) Descriptor() protoreflect.EnumDescriptor
func (PersistenceConfig_RDBConfig_SnapshotPeriod) Enum
func (x PersistenceConfig_RDBConfig_SnapshotPeriod) Enum() *PersistenceConfig_RDBConfig_SnapshotPeriod
func (PersistenceConfig_RDBConfig_SnapshotPeriod) EnumDescriptor
func (PersistenceConfig_RDBConfig_SnapshotPeriod) EnumDescriptor() ([]byte, []int)
Deprecated: Use PersistenceConfig_RDBConfig_SnapshotPeriod.Descriptor instead.
func (PersistenceConfig_RDBConfig_SnapshotPeriod) Number
func (x PersistenceConfig_RDBConfig_SnapshotPeriod) Number() protoreflect.EnumNumber
func (PersistenceConfig_RDBConfig_SnapshotPeriod) String
func (x PersistenceConfig_RDBConfig_SnapshotPeriod) String() string
func (PersistenceConfig_RDBConfig_SnapshotPeriod) Type
func (PersistenceConfig_RDBConfig_SnapshotPeriod) Type() protoreflect.EnumType
PscAutoConnection
type PscAutoConnection struct {
Ports isPscAutoConnection_Ports `protobuf_oneof:"ports"`
PscConnectionId string `protobuf:"bytes,1,opt,name=psc_connection_id,json=pscConnectionId,proto3" json:"psc_connection_id,omitempty"`
IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
ForwardingRule string `protobuf:"bytes,3,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
ServiceAttachment string `protobuf:"bytes,6,opt,name=service_attachment,json=serviceAttachment,proto3" json:"service_attachment,omitempty"`
PscConnectionStatus PscConnectionStatus "" /* 178 byte string literal not displayed */
ConnectionType ConnectionType "" /* 156 byte string literal not displayed */
}
Details of consumer resources in a PSC connection.
func (*PscAutoConnection) Descriptor
func (*PscAutoConnection) Descriptor() ([]byte, []int)
Deprecated: Use PscAutoConnection.ProtoReflect.Descriptor instead.
func (*PscAutoConnection) GetConnectionType
func (x *PscAutoConnection) GetConnectionType() ConnectionType
func (*PscAutoConnection) GetForwardingRule
func (x *PscAutoConnection) GetForwardingRule() string
func (*PscAutoConnection) GetIpAddress
func (x *PscAutoConnection) GetIpAddress() string
func (*PscAutoConnection) GetNetwork
func (x *PscAutoConnection) GetNetwork() string
func (*PscAutoConnection) GetPort
func (x *PscAutoConnection) GetPort() int32
func (*PscAutoConnection) GetPorts
func (m *PscAutoConnection) GetPorts() isPscAutoConnection_Ports
func (*PscAutoConnection) GetProjectId
func (x *PscAutoConnection) GetProjectId() string
func (*PscAutoConnection) GetPscConnectionId
func (x *PscAutoConnection) GetPscConnectionId() string
func (*PscAutoConnection) GetPscConnectionStatus
func (x *PscAutoConnection) GetPscConnectionStatus() PscConnectionStatus
func (*PscAutoConnection) GetServiceAttachment
func (x *PscAutoConnection) GetServiceAttachment() string
func (*PscAutoConnection) ProtoMessage
func (*PscAutoConnection) ProtoMessage()
func (*PscAutoConnection) ProtoReflect
func (x *PscAutoConnection) ProtoReflect() protoreflect.Message
func (*PscAutoConnection) Reset
func (x *PscAutoConnection) Reset()
func (*PscAutoConnection) String
func (x *PscAutoConnection) String() string
PscAutoConnection_Port
type PscAutoConnection_Port struct {
// Optional. Output only. port will only be set for Primary/Reader or
// Discovery endpoint.
Port int32 `protobuf:"varint,9,opt,name=port,proto3,oneof"`
}
PscConnection
type PscConnection struct {
PscConnectionId string `protobuf:"bytes,1,opt,name=psc_connection_id,json=pscConnectionId,proto3" json:"psc_connection_id,omitempty"`
IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
ForwardingRule string `protobuf:"bytes,3,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
ServiceAttachment string `protobuf:"bytes,6,opt,name=service_attachment,json=serviceAttachment,proto3" json:"service_attachment,omitempty"`
PscConnectionStatus PscConnectionStatus "" /* 178 byte string literal not displayed */
ConnectionType ConnectionType "" /* 156 byte string literal not displayed */
}
User created Psc connection configuration.
func (*PscConnection) Descriptor
func (*PscConnection) Descriptor() ([]byte, []int)
Deprecated: Use PscConnection.ProtoReflect.Descriptor instead.
func (*PscConnection) GetConnectionType
func (x *PscConnection) GetConnectionType() ConnectionType
func (*PscConnection) GetForwardingRule
func (x *PscConnection) GetForwardingRule() string
func (*PscConnection) GetIpAddress
func (x *PscConnection) GetIpAddress() string
func (*PscConnection) GetNetwork
func (x *PscConnection) GetNetwork() string
func (*PscConnection) GetProjectId
func (x *PscConnection) GetProjectId() string
func (*PscConnection) GetPscConnectionId
func (x *PscConnection) GetPscConnectionId() string
func (*PscConnection) GetPscConnectionStatus
func (x *PscConnection) GetPscConnectionStatus() PscConnectionStatus
func (*PscConnection) GetServiceAttachment
func (x *PscConnection) GetServiceAttachment() string
func (*PscConnection) ProtoMessage
func (*PscConnection) ProtoMessage()
func (*PscConnection) ProtoReflect
func (x *PscConnection) ProtoReflect() protoreflect.Message
func (*PscConnection) Reset
func (x *PscConnection) Reset()
func (*PscConnection) String
func (x *PscConnection) String() string
PscConnectionStatus
type PscConnectionStatus int32
Status of the PSC connection.
PscConnectionStatus_PSC_CONNECTION_STATUS_UNSPECIFIED, PscConnectionStatus_ACTIVE, PscConnectionStatus_NOT_FOUND
const (
// PSC connection status is not specified.
PscConnectionStatus_PSC_CONNECTION_STATUS_UNSPECIFIED PscConnectionStatus = 0
// The connection is active
PscConnectionStatus_ACTIVE PscConnectionStatus = 1
// Connection not found
PscConnectionStatus_NOT_FOUND PscConnectionStatus = 2
)
func (PscConnectionStatus) Descriptor
func (PscConnectionStatus) Descriptor() protoreflect.EnumDescriptor
func (PscConnectionStatus) Enum
func (x PscConnectionStatus) Enum() *PscConnectionStatus
func (PscConnectionStatus) EnumDescriptor
func (PscConnectionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PscConnectionStatus.Descriptor instead.
func (PscConnectionStatus) Number
func (x PscConnectionStatus) Number() protoreflect.EnumNumber
func (PscConnectionStatus) String
func (x PscConnectionStatus) String() string
func (PscConnectionStatus) Type
func (PscConnectionStatus) Type() protoreflect.EnumType
UnimplementedMemorystoreServer
type UnimplementedMemorystoreServer struct {
}
UnimplementedMemorystoreServer can be embedded to have forward compatible implementations.
func (*UnimplementedMemorystoreServer) CreateInstance
func (*UnimplementedMemorystoreServer) CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedMemorystoreServer) DeleteInstance
func (*UnimplementedMemorystoreServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedMemorystoreServer) GetCertificateAuthority
func (*UnimplementedMemorystoreServer) GetCertificateAuthority(context.Context, *GetCertificateAuthorityRequest) (*CertificateAuthority, error)
func (*UnimplementedMemorystoreServer) GetInstance
func (*UnimplementedMemorystoreServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
func (*UnimplementedMemorystoreServer) ListInstances
func (*UnimplementedMemorystoreServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
func (*UnimplementedMemorystoreServer) UpdateInstance
func (*UnimplementedMemorystoreServer) UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunningpb.Operation, error)
UpdateInstanceRequest
type UpdateInstanceRequest struct {
// Optional. The list of fields to be updated on the instance. At least one
// field must be specified.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The instance to update.
Instance *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for [UpdateInstance][].
func (*UpdateInstanceRequest) Descriptor
func (*UpdateInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.
func (*UpdateInstanceRequest) GetInstance
func (x *UpdateInstanceRequest) GetInstance() *Instance
func (*UpdateInstanceRequest) GetRequestId
func (x *UpdateInstanceRequest) GetRequestId() string
func (*UpdateInstanceRequest) GetUpdateMask
func (x *UpdateInstanceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateInstanceRequest) ProtoMessage
func (*UpdateInstanceRequest) ProtoMessage()
func (*UpdateInstanceRequest) ProtoReflect
func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Message
func (*UpdateInstanceRequest) Reset
func (x *UpdateInstanceRequest) Reset()
func (*UpdateInstanceRequest) String
func (x *UpdateInstanceRequest) String() string
ZoneDistributionConfig
type ZoneDistributionConfig struct {
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
Mode ZoneDistributionConfig_ZoneDistributionMode "" /* 143 byte string literal not displayed */
}
Zone distribution configuration for allocation of instance resources.
func (*ZoneDistributionConfig) Descriptor
func (*ZoneDistributionConfig) Descriptor() ([]byte, []int)
Deprecated: Use ZoneDistributionConfig.ProtoReflect.Descriptor instead.
func (*ZoneDistributionConfig) GetMode
func (x *ZoneDistributionConfig) GetMode() ZoneDistributionConfig_ZoneDistributionMode
func (*ZoneDistributionConfig) GetZone
func (x *ZoneDistributionConfig) GetZone() string
func (*ZoneDistributionConfig) ProtoMessage
func (*ZoneDistributionConfig) ProtoMessage()
func (*ZoneDistributionConfig) ProtoReflect
func (x *ZoneDistributionConfig) ProtoReflect() protoreflect.Message
func (*ZoneDistributionConfig) Reset
func (x *ZoneDistributionConfig) Reset()
func (*ZoneDistributionConfig) String
func (x *ZoneDistributionConfig) String() string
ZoneDistributionConfig_ZoneDistributionMode
type ZoneDistributionConfig_ZoneDistributionMode int32
Possible zone distribution modes.
ZoneDistributionConfig_ZONE_DISTRIBUTION_MODE_UNSPECIFIED, ZoneDistributionConfig_MULTI_ZONE, ZoneDistributionConfig_SINGLE_ZONE
const (
// Not Set. Default: MULTI_ZONE
ZoneDistributionConfig_ZONE_DISTRIBUTION_MODE_UNSPECIFIED ZoneDistributionConfig_ZoneDistributionMode = 0
// Distribute resources across 3 zones picked at random within the
// region.
ZoneDistributionConfig_MULTI_ZONE ZoneDistributionConfig_ZoneDistributionMode = 1
// Provision resources in a single zone. Zone field must be specified.
ZoneDistributionConfig_SINGLE_ZONE ZoneDistributionConfig_ZoneDistributionMode = 2
)
func (ZoneDistributionConfig_ZoneDistributionMode) Descriptor
func (ZoneDistributionConfig_ZoneDistributionMode) Descriptor() protoreflect.EnumDescriptor
func (ZoneDistributionConfig_ZoneDistributionMode) Enum
func (x ZoneDistributionConfig_ZoneDistributionMode) Enum() *ZoneDistributionConfig_ZoneDistributionMode
func (ZoneDistributionConfig_ZoneDistributionMode) EnumDescriptor
func (ZoneDistributionConfig_ZoneDistributionMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ZoneDistributionConfig_ZoneDistributionMode.Descriptor instead.
func (ZoneDistributionConfig_ZoneDistributionMode) Number
func (x ZoneDistributionConfig_ZoneDistributionMode) Number() protoreflect.EnumNumber
func (ZoneDistributionConfig_ZoneDistributionMode) String
func (x ZoneDistributionConfig_ZoneDistributionMode) String() string
func (ZoneDistributionConfig_ZoneDistributionMode) Type
func (ZoneDistributionConfig_ZoneDistributionMode) Type() protoreflect.EnumType