Class Cluster.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
com.google.cloud.redis.cluster.v1beta1.Cluster.Builder
All Implemented Interfaces:
ClusterOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Cluster

public static final class Cluster.Builder extends com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder> implements ClusterOrBuilder
 A cluster instance.
 
Protobuf type google.cloud.redis.cluster.v1beta1.Cluster
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • clear

      public Cluster.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • getDefaultInstanceForType

      public Cluster getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Cluster build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Cluster buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Cluster.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.Builder>
    • mergeFrom

      public Cluster.Builder mergeFrom(Cluster other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Cluster.Builder>
    • mergeFrom

      public Cluster.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.Builder>
      Throws:
      IOException
    • getImportSourcesCase

      public Cluster.ImportSourcesCase getImportSourcesCase()
      Specified by:
      getImportSourcesCase in interface ClusterOrBuilder
    • clearImportSources

      public Cluster.Builder clearImportSources()
    • hasGcsSource

      public boolean hasGcsSource()
       Optional. Backups stored in Cloud Storage buckets.
       The Cloud Storage buckets need to be the same region as the clusters.
       Read permission is required to import from the provided Cloud Storage
       objects.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.GcsBackupSource gcs_source = 34 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGcsSource in interface ClusterOrBuilder
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      public Cluster.GcsBackupSource getGcsSource()
       Optional. Backups stored in Cloud Storage buckets.
       The Cloud Storage buckets need to be the same region as the clusters.
       Read permission is required to import from the provided Cloud Storage
       objects.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.GcsBackupSource gcs_source = 34 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcsSource in interface ClusterOrBuilder
      Returns:
      The gcsSource.
    • setGcsSource

      public Cluster.Builder setGcsSource(Cluster.GcsBackupSource value)
       Optional. Backups stored in Cloud Storage buckets.
       The Cloud Storage buckets need to be the same region as the clusters.
       Read permission is required to import from the provided Cloud Storage
       objects.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.GcsBackupSource gcs_source = 34 [(.google.api.field_behavior) = OPTIONAL];
    • setGcsSource

      public Cluster.Builder setGcsSource(Cluster.GcsBackupSource.Builder builderForValue)
       Optional. Backups stored in Cloud Storage buckets.
       The Cloud Storage buckets need to be the same region as the clusters.
       Read permission is required to import from the provided Cloud Storage
       objects.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.GcsBackupSource gcs_source = 34 [(.google.api.field_behavior) = OPTIONAL];
    • mergeGcsSource

      public Cluster.Builder mergeGcsSource(Cluster.GcsBackupSource value)
       Optional. Backups stored in Cloud Storage buckets.
       The Cloud Storage buckets need to be the same region as the clusters.
       Read permission is required to import from the provided Cloud Storage
       objects.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.GcsBackupSource gcs_source = 34 [(.google.api.field_behavior) = OPTIONAL];
    • clearGcsSource

      public Cluster.Builder clearGcsSource()
       Optional. Backups stored in Cloud Storage buckets.
       The Cloud Storage buckets need to be the same region as the clusters.
       Read permission is required to import from the provided Cloud Storage
       objects.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.GcsBackupSource gcs_source = 34 [(.google.api.field_behavior) = OPTIONAL];
    • getGcsSourceBuilder

      public Cluster.GcsBackupSource.Builder getGcsSourceBuilder()
       Optional. Backups stored in Cloud Storage buckets.
       The Cloud Storage buckets need to be the same region as the clusters.
       Read permission is required to import from the provided Cloud Storage
       objects.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.GcsBackupSource gcs_source = 34 [(.google.api.field_behavior) = OPTIONAL];
    • getGcsSourceOrBuilder

      public Cluster.GcsBackupSourceOrBuilder getGcsSourceOrBuilder()
       Optional. Backups stored in Cloud Storage buckets.
       The Cloud Storage buckets need to be the same region as the clusters.
       Read permission is required to import from the provided Cloud Storage
       objects.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.GcsBackupSource gcs_source = 34 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcsSourceOrBuilder in interface ClusterOrBuilder
    • hasManagedBackupSource

      public boolean hasManagedBackupSource()
       Optional. Backups generated and managed by memorystore service.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.ManagedBackupSource managed_backup_source = 35 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasManagedBackupSource in interface ClusterOrBuilder
      Returns:
      Whether the managedBackupSource field is set.
    • getManagedBackupSource

      public Cluster.ManagedBackupSource getManagedBackupSource()
       Optional. Backups generated and managed by memorystore service.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.ManagedBackupSource managed_backup_source = 35 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getManagedBackupSource in interface ClusterOrBuilder
      Returns:
      The managedBackupSource.
    • setManagedBackupSource

      public Cluster.Builder setManagedBackupSource(Cluster.ManagedBackupSource value)
       Optional. Backups generated and managed by memorystore service.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.ManagedBackupSource managed_backup_source = 35 [(.google.api.field_behavior) = OPTIONAL];
    • setManagedBackupSource

      public Cluster.Builder setManagedBackupSource(Cluster.ManagedBackupSource.Builder builderForValue)
       Optional. Backups generated and managed by memorystore service.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.ManagedBackupSource managed_backup_source = 35 [(.google.api.field_behavior) = OPTIONAL];
    • mergeManagedBackupSource

      public Cluster.Builder mergeManagedBackupSource(Cluster.ManagedBackupSource value)
       Optional. Backups generated and managed by memorystore service.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.ManagedBackupSource managed_backup_source = 35 [(.google.api.field_behavior) = OPTIONAL];
    • clearManagedBackupSource

      public Cluster.Builder clearManagedBackupSource()
       Optional. Backups generated and managed by memorystore service.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.ManagedBackupSource managed_backup_source = 35 [(.google.api.field_behavior) = OPTIONAL];
    • getManagedBackupSourceBuilder

      public Cluster.ManagedBackupSource.Builder getManagedBackupSourceBuilder()
       Optional. Backups generated and managed by memorystore service.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.ManagedBackupSource managed_backup_source = 35 [(.google.api.field_behavior) = OPTIONAL];
    • getManagedBackupSourceOrBuilder

      public Cluster.ManagedBackupSourceOrBuilder getManagedBackupSourceOrBuilder()
       Optional. Backups generated and managed by memorystore service.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.ManagedBackupSource managed_backup_source = 35 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getManagedBackupSourceOrBuilder in interface ClusterOrBuilder
    • getName

      public String getName()
       Required. Identifier. Unique name of the resource in this scope including
       project and location using the form:
       `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ClusterOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Identifier. Unique name of the resource in this scope including
       project and location using the form:
       `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ClusterOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Cluster.Builder setName(String value)
       Required. Identifier. Unique name of the resource in this scope including
       project and location using the form:
       `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Cluster.Builder clearName()
       Required. Identifier. Unique name of the resource in this scope including
       project and location using the form:
       `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Cluster.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. Identifier. Unique name of the resource in this scope including
       project and location using the form:
       `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp associated with the cluster creation request.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ClusterOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp associated with the cluster creation request.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ClusterOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Cluster.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp associated with the cluster creation request.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Cluster.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp associated with the cluster creation request.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Cluster.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp associated with the cluster creation request.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Cluster.Builder clearCreateTime()
       Output only. The timestamp associated with the cluster creation request.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp associated with the cluster creation request.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp associated with the cluster creation request.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ClusterOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. The current state of this cluster.
       Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
       
      .google.cloud.redis.cluster.v1beta1.Cluster.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface ClusterOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Cluster.Builder setStateValue(int value)
       Output only. The current state of this cluster.
       Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
       
      .google.cloud.redis.cluster.v1beta1.Cluster.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Cluster.State getState()
       Output only. The current state of this cluster.
       Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
       
      .google.cloud.redis.cluster.v1beta1.Cluster.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface ClusterOrBuilder
      Returns:
      The state.
    • setState

      public Cluster.Builder setState(Cluster.State value)
       Output only. The current state of this cluster.
       Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
       
      .google.cloud.redis.cluster.v1beta1.Cluster.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Cluster.Builder clearState()
       Output only. The current state of this cluster.
       Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
       
      .google.cloud.redis.cluster.v1beta1.Cluster.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getUid

      public String getUid()
       Output only. System assigned, unique identifier for the cluster.
       
      string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUid in interface ClusterOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. System assigned, unique identifier for the cluster.
       
      string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUidBytes in interface ClusterOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public Cluster.Builder setUid(String value)
       Output only. System assigned, unique identifier for the cluster.
       
      string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public Cluster.Builder clearUid()
       Output only. System assigned, unique identifier for the cluster.
       
      string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setUidBytes

      public Cluster.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. System assigned, unique identifier for the cluster.
       
      string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • hasReplicaCount

      public boolean hasReplicaCount()
       Optional. The number of replica nodes per shard.
       
      optional int32 replica_count = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasReplicaCount in interface ClusterOrBuilder
      Returns:
      Whether the replicaCount field is set.
    • getReplicaCount

      public int getReplicaCount()
       Optional. The number of replica nodes per shard.
       
      optional int32 replica_count = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReplicaCount in interface ClusterOrBuilder
      Returns:
      The replicaCount.
    • setReplicaCount

      public Cluster.Builder setReplicaCount(int value)
       Optional. The number of replica nodes per shard.
       
      optional int32 replica_count = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The replicaCount to set.
      Returns:
      This builder for chaining.
    • clearReplicaCount

      public Cluster.Builder clearReplicaCount()
       Optional. The number of replica nodes per shard.
       
      optional int32 replica_count = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getAuthorizationModeValue

      public int getAuthorizationModeValue()
       Optional. The authorization mode of the Redis cluster.
       If not provided, auth feature is disabled for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AuthorizationMode authorization_mode = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAuthorizationModeValue in interface ClusterOrBuilder
      Returns:
      The enum numeric value on the wire for authorizationMode.
    • setAuthorizationModeValue

      public Cluster.Builder setAuthorizationModeValue(int value)
       Optional. The authorization mode of the Redis cluster.
       If not provided, auth feature is disabled for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AuthorizationMode authorization_mode = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for authorizationMode to set.
      Returns:
      This builder for chaining.
    • getAuthorizationMode

      public AuthorizationMode getAuthorizationMode()
       Optional. The authorization mode of the Redis cluster.
       If not provided, auth feature is disabled for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AuthorizationMode authorization_mode = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAuthorizationMode in interface ClusterOrBuilder
      Returns:
      The authorizationMode.
    • setAuthorizationMode

      public Cluster.Builder setAuthorizationMode(AuthorizationMode value)
       Optional. The authorization mode of the Redis cluster.
       If not provided, auth feature is disabled for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AuthorizationMode authorization_mode = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The authorizationMode to set.
      Returns:
      This builder for chaining.
    • clearAuthorizationMode

      public Cluster.Builder clearAuthorizationMode()
       Optional. The authorization mode of the Redis cluster.
       If not provided, auth feature is disabled for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AuthorizationMode authorization_mode = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getTransitEncryptionModeValue

      public int getTransitEncryptionModeValue()
       Optional. The in-transit encryption for the Redis cluster.
       If not provided, encryption  is disabled for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.TransitEncryptionMode transit_encryption_mode = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTransitEncryptionModeValue in interface ClusterOrBuilder
      Returns:
      The enum numeric value on the wire for transitEncryptionMode.
    • setTransitEncryptionModeValue

      public Cluster.Builder setTransitEncryptionModeValue(int value)
       Optional. The in-transit encryption for the Redis cluster.
       If not provided, encryption  is disabled for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.TransitEncryptionMode transit_encryption_mode = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for transitEncryptionMode to set.
      Returns:
      This builder for chaining.
    • getTransitEncryptionMode

      public TransitEncryptionMode getTransitEncryptionMode()
       Optional. The in-transit encryption for the Redis cluster.
       If not provided, encryption  is disabled for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.TransitEncryptionMode transit_encryption_mode = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTransitEncryptionMode in interface ClusterOrBuilder
      Returns:
      The transitEncryptionMode.
    • setTransitEncryptionMode

      public Cluster.Builder setTransitEncryptionMode(TransitEncryptionMode value)
       Optional. The in-transit encryption for the Redis cluster.
       If not provided, encryption  is disabled for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.TransitEncryptionMode transit_encryption_mode = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The transitEncryptionMode to set.
      Returns:
      This builder for chaining.
    • clearTransitEncryptionMode

      public Cluster.Builder clearTransitEncryptionMode()
       Optional. The in-transit encryption for the Redis cluster.
       If not provided, encryption  is disabled for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.TransitEncryptionMode transit_encryption_mode = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasSizeGb

      public boolean hasSizeGb()
       Output only. Redis memory size in GB for the entire cluster rounded up to
       the next integer.
       
      optional int32 size_gb = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSizeGb in interface ClusterOrBuilder
      Returns:
      Whether the sizeGb field is set.
    • getSizeGb

      public int getSizeGb()
       Output only. Redis memory size in GB for the entire cluster rounded up to
       the next integer.
       
      optional int32 size_gb = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSizeGb in interface ClusterOrBuilder
      Returns:
      The sizeGb.
    • setSizeGb

      public Cluster.Builder setSizeGb(int value)
       Output only. Redis memory size in GB for the entire cluster rounded up to
       the next integer.
       
      optional int32 size_gb = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The sizeGb to set.
      Returns:
      This builder for chaining.
    • clearSizeGb

      public Cluster.Builder clearSizeGb()
       Output only. Redis memory size in GB for the entire cluster rounded up to
       the next integer.
       
      optional int32 size_gb = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasShardCount

      public boolean hasShardCount()
       Optional. Number of shards for the Redis cluster.
       
      optional int32 shard_count = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasShardCount in interface ClusterOrBuilder
      Returns:
      Whether the shardCount field is set.
    • getShardCount

      public int getShardCount()
       Optional. Number of shards for the Redis cluster.
       
      optional int32 shard_count = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getShardCount in interface ClusterOrBuilder
      Returns:
      The shardCount.
    • setShardCount

      public Cluster.Builder setShardCount(int value)
       Optional. Number of shards for the Redis cluster.
       
      optional int32 shard_count = 14 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The shardCount to set.
      Returns:
      This builder for chaining.
    • clearShardCount

      public Cluster.Builder clearShardCount()
       Optional. Number of shards for the Redis cluster.
       
      optional int32 shard_count = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPscConfigsList

      public List<PscConfig> getPscConfigsList()
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscConfigsList in interface ClusterOrBuilder
    • getPscConfigsCount

      public int getPscConfigsCount()
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscConfigsCount in interface ClusterOrBuilder
    • getPscConfigs

      public PscConfig getPscConfigs(int index)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscConfigs in interface ClusterOrBuilder
    • setPscConfigs

      public Cluster.Builder setPscConfigs(int index, PscConfig value)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • setPscConfigs

      public Cluster.Builder setPscConfigs(int index, PscConfig.Builder builderForValue)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • addPscConfigs

      public Cluster.Builder addPscConfigs(PscConfig value)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • addPscConfigs

      public Cluster.Builder addPscConfigs(int index, PscConfig value)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • addPscConfigs

      public Cluster.Builder addPscConfigs(PscConfig.Builder builderForValue)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • addPscConfigs

      public Cluster.Builder addPscConfigs(int index, PscConfig.Builder builderForValue)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • addAllPscConfigs

      public Cluster.Builder addAllPscConfigs(Iterable<? extends PscConfig> values)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • clearPscConfigs

      public Cluster.Builder clearPscConfigs()
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • removePscConfigs

      public Cluster.Builder removePscConfigs(int index)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • getPscConfigsBuilder

      public PscConfig.Builder getPscConfigsBuilder(int index)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • getPscConfigsOrBuilder

      public PscConfigOrBuilder getPscConfigsOrBuilder(int index)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscConfigsOrBuilder in interface ClusterOrBuilder
    • getPscConfigsOrBuilderList

      public List<? extends PscConfigOrBuilder> getPscConfigsOrBuilderList()
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscConfigsOrBuilderList in interface ClusterOrBuilder
    • addPscConfigsBuilder

      public PscConfig.Builder addPscConfigsBuilder()
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • addPscConfigsBuilder

      public PscConfig.Builder addPscConfigsBuilder(int index)
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • getPscConfigsBuilderList

      public List<PscConfig.Builder> getPscConfigsBuilderList()
       Optional. Each PscConfig configures the consumer network where IPs will
       be designated to the cluster for client access through Private Service
       Connect Automation. Currently, only one PscConfig is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConfig psc_configs = 15 [(.google.api.field_behavior) = OPTIONAL];
    • getDiscoveryEndpointsList

      public List<DiscoveryEndpoint> getDiscoveryEndpointsList()
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDiscoveryEndpointsList in interface ClusterOrBuilder
    • getDiscoveryEndpointsCount

      public int getDiscoveryEndpointsCount()
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDiscoveryEndpointsCount in interface ClusterOrBuilder
    • getDiscoveryEndpoints

      public DiscoveryEndpoint getDiscoveryEndpoints(int index)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDiscoveryEndpoints in interface ClusterOrBuilder
    • setDiscoveryEndpoints

      public Cluster.Builder setDiscoveryEndpoints(int index, DiscoveryEndpoint value)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDiscoveryEndpoints

      public Cluster.Builder setDiscoveryEndpoints(int index, DiscoveryEndpoint.Builder builderForValue)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addDiscoveryEndpoints

      public Cluster.Builder addDiscoveryEndpoints(DiscoveryEndpoint value)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addDiscoveryEndpoints

      public Cluster.Builder addDiscoveryEndpoints(int index, DiscoveryEndpoint value)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addDiscoveryEndpoints

      public Cluster.Builder addDiscoveryEndpoints(DiscoveryEndpoint.Builder builderForValue)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addDiscoveryEndpoints

      public Cluster.Builder addDiscoveryEndpoints(int index, DiscoveryEndpoint.Builder builderForValue)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllDiscoveryEndpoints

      public Cluster.Builder addAllDiscoveryEndpoints(Iterable<? extends DiscoveryEndpoint> values)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDiscoveryEndpoints

      public Cluster.Builder clearDiscoveryEndpoints()
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeDiscoveryEndpoints

      public Cluster.Builder removeDiscoveryEndpoints(int index)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDiscoveryEndpointsBuilder

      public DiscoveryEndpoint.Builder getDiscoveryEndpointsBuilder(int index)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDiscoveryEndpointsOrBuilder

      public DiscoveryEndpointOrBuilder getDiscoveryEndpointsOrBuilder(int index)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDiscoveryEndpointsOrBuilder in interface ClusterOrBuilder
    • getDiscoveryEndpointsOrBuilderList

      public List<? extends DiscoveryEndpointOrBuilder> getDiscoveryEndpointsOrBuilderList()
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDiscoveryEndpointsOrBuilderList in interface ClusterOrBuilder
    • addDiscoveryEndpointsBuilder

      public DiscoveryEndpoint.Builder addDiscoveryEndpointsBuilder()
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addDiscoveryEndpointsBuilder

      public DiscoveryEndpoint.Builder addDiscoveryEndpointsBuilder(int index)
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDiscoveryEndpointsBuilderList

      public List<DiscoveryEndpoint.Builder> getDiscoveryEndpointsBuilderList()
       Output only. Endpoints created on each given network, for Redis clients to
       connect to the cluster. Currently only one discovery endpoint is supported.
       
      repeated .google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint discovery_endpoints = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPscConnectionsList

      public List<PscConnection> getPscConnectionsList()
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscConnectionsList in interface ClusterOrBuilder
    • getPscConnectionsCount

      public int getPscConnectionsCount()
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscConnectionsCount in interface ClusterOrBuilder
    • getPscConnections

      public PscConnection getPscConnections(int index)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscConnections in interface ClusterOrBuilder
    • setPscConnections

      public Cluster.Builder setPscConnections(int index, PscConnection value)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPscConnections

      public Cluster.Builder setPscConnections(int index, PscConnection.Builder builderForValue)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscConnections

      public Cluster.Builder addPscConnections(PscConnection value)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscConnections

      public Cluster.Builder addPscConnections(int index, PscConnection value)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscConnections

      public Cluster.Builder addPscConnections(PscConnection.Builder builderForValue)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscConnections

      public Cluster.Builder addPscConnections(int index, PscConnection.Builder builderForValue)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllPscConnections

      public Cluster.Builder addAllPscConnections(Iterable<? extends PscConnection> values)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPscConnections

      public Cluster.Builder clearPscConnections()
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removePscConnections

      public Cluster.Builder removePscConnections(int index)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPscConnectionsBuilder

      public PscConnection.Builder getPscConnectionsBuilder(int index)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPscConnectionsOrBuilder

      public PscConnectionOrBuilder getPscConnectionsOrBuilder(int index)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscConnectionsOrBuilder in interface ClusterOrBuilder
    • getPscConnectionsOrBuilderList

      public List<? extends PscConnectionOrBuilder> getPscConnectionsOrBuilderList()
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscConnectionsOrBuilderList in interface ClusterOrBuilder
    • addPscConnectionsBuilder

      public PscConnection.Builder addPscConnectionsBuilder()
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscConnectionsBuilder

      public PscConnection.Builder addPscConnectionsBuilder(int index)
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPscConnectionsBuilderList

      public List<PscConnection.Builder> getPscConnectionsBuilderList()
       Output only. The list of PSC connections that are auto-created through
       service connectivity automation.
       
      repeated .google.cloud.redis.cluster.v1beta1.PscConnection psc_connections = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasStateInfo

      public boolean hasStateInfo()
       Output only. Additional information about the current state of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.StateInfo state_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStateInfo in interface ClusterOrBuilder
      Returns:
      Whether the stateInfo field is set.
    • getStateInfo

      public Cluster.StateInfo getStateInfo()
       Output only. Additional information about the current state of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.StateInfo state_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateInfo in interface ClusterOrBuilder
      Returns:
      The stateInfo.
    • setStateInfo

      public Cluster.Builder setStateInfo(Cluster.StateInfo value)
       Output only. Additional information about the current state of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.StateInfo state_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStateInfo

      public Cluster.Builder setStateInfo(Cluster.StateInfo.Builder builderForValue)
       Output only. Additional information about the current state of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.StateInfo state_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStateInfo

      public Cluster.Builder mergeStateInfo(Cluster.StateInfo value)
       Output only. Additional information about the current state of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.StateInfo state_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStateInfo

      public Cluster.Builder clearStateInfo()
       Output only. Additional information about the current state of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.StateInfo state_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStateInfoBuilder

      public Cluster.StateInfo.Builder getStateInfoBuilder()
       Output only. Additional information about the current state of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.StateInfo state_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStateInfoOrBuilder

      public Cluster.StateInfoOrBuilder getStateInfoOrBuilder()
       Output only. Additional information about the current state of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.Cluster.StateInfo state_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateInfoOrBuilder in interface ClusterOrBuilder
    • getNodeTypeValue

      public int getNodeTypeValue()
       Optional. The type of a redis node in the cluster. NodeType determines the
       underlying machine-type of a redis node.
       
      .google.cloud.redis.cluster.v1beta1.NodeType node_type = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNodeTypeValue in interface ClusterOrBuilder
      Returns:
      The enum numeric value on the wire for nodeType.
    • setNodeTypeValue

      public Cluster.Builder setNodeTypeValue(int value)
       Optional. The type of a redis node in the cluster. NodeType determines the
       underlying machine-type of a redis node.
       
      .google.cloud.redis.cluster.v1beta1.NodeType node_type = 19 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for nodeType to set.
      Returns:
      This builder for chaining.
    • getNodeType

      public NodeType getNodeType()
       Optional. The type of a redis node in the cluster. NodeType determines the
       underlying machine-type of a redis node.
       
      .google.cloud.redis.cluster.v1beta1.NodeType node_type = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNodeType in interface ClusterOrBuilder
      Returns:
      The nodeType.
    • setNodeType

      public Cluster.Builder setNodeType(NodeType value)
       Optional. The type of a redis node in the cluster. NodeType determines the
       underlying machine-type of a redis node.
       
      .google.cloud.redis.cluster.v1beta1.NodeType node_type = 19 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The nodeType to set.
      Returns:
      This builder for chaining.
    • clearNodeType

      public Cluster.Builder clearNodeType()
       Optional. The type of a redis node in the cluster. NodeType determines the
       underlying machine-type of a redis node.
       
      .google.cloud.redis.cluster.v1beta1.NodeType node_type = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasPersistenceConfig

      public boolean hasPersistenceConfig()
       Optional. Persistence config (RDB, AOF) for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig persistence_config = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPersistenceConfig in interface ClusterOrBuilder
      Returns:
      Whether the persistenceConfig field is set.
    • getPersistenceConfig

      public ClusterPersistenceConfig getPersistenceConfig()
       Optional. Persistence config (RDB, AOF) for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig persistence_config = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPersistenceConfig in interface ClusterOrBuilder
      Returns:
      The persistenceConfig.
    • setPersistenceConfig

      public Cluster.Builder setPersistenceConfig(ClusterPersistenceConfig value)
       Optional. Persistence config (RDB, AOF) for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig persistence_config = 20 [(.google.api.field_behavior) = OPTIONAL];
    • setPersistenceConfig

      public Cluster.Builder setPersistenceConfig(ClusterPersistenceConfig.Builder builderForValue)
       Optional. Persistence config (RDB, AOF) for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig persistence_config = 20 [(.google.api.field_behavior) = OPTIONAL];
    • mergePersistenceConfig

      public Cluster.Builder mergePersistenceConfig(ClusterPersistenceConfig value)
       Optional. Persistence config (RDB, AOF) for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig persistence_config = 20 [(.google.api.field_behavior) = OPTIONAL];
    • clearPersistenceConfig

      public Cluster.Builder clearPersistenceConfig()
       Optional. Persistence config (RDB, AOF) for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig persistence_config = 20 [(.google.api.field_behavior) = OPTIONAL];
    • getPersistenceConfigBuilder

      public ClusterPersistenceConfig.Builder getPersistenceConfigBuilder()
       Optional. Persistence config (RDB, AOF) for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig persistence_config = 20 [(.google.api.field_behavior) = OPTIONAL];
    • getPersistenceConfigOrBuilder

      public ClusterPersistenceConfigOrBuilder getPersistenceConfigOrBuilder()
       Optional. Persistence config (RDB, AOF) for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.ClusterPersistenceConfig persistence_config = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPersistenceConfigOrBuilder in interface ClusterOrBuilder
    • getRedisConfigsCount

      public int getRedisConfigsCount()
      Description copied from interface: ClusterOrBuilder
       Optional. Key/Value pairs of customer overrides for mutable Redis Configs
       
      map<string, string> redis_configs = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRedisConfigsCount in interface ClusterOrBuilder
    • containsRedisConfigs

      public boolean containsRedisConfigs(String key)
       Optional. Key/Value pairs of customer overrides for mutable Redis Configs
       
      map<string, string> redis_configs = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsRedisConfigs in interface ClusterOrBuilder
    • getRedisConfigs

      @Deprecated public Map<String,String> getRedisConfigs()
      Deprecated.
      Specified by:
      getRedisConfigs in interface ClusterOrBuilder
    • getRedisConfigsMap

      public Map<String,String> getRedisConfigsMap()
       Optional. Key/Value pairs of customer overrides for mutable Redis Configs
       
      map<string, string> redis_configs = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRedisConfigsMap in interface ClusterOrBuilder
    • getRedisConfigsOrDefault

      public String getRedisConfigsOrDefault(String key, String defaultValue)
       Optional. Key/Value pairs of customer overrides for mutable Redis Configs
       
      map<string, string> redis_configs = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRedisConfigsOrDefault in interface ClusterOrBuilder
    • getRedisConfigsOrThrow

      public String getRedisConfigsOrThrow(String key)
       Optional. Key/Value pairs of customer overrides for mutable Redis Configs
       
      map<string, string> redis_configs = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRedisConfigsOrThrow in interface ClusterOrBuilder
    • clearRedisConfigs

      public Cluster.Builder clearRedisConfigs()
    • removeRedisConfigs

      public Cluster.Builder removeRedisConfigs(String key)
       Optional. Key/Value pairs of customer overrides for mutable Redis Configs
       
      map<string, string> redis_configs = 21 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableRedisConfigs

      @Deprecated public Map<String,String> getMutableRedisConfigs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putRedisConfigs

      public Cluster.Builder putRedisConfigs(String key, String value)
       Optional. Key/Value pairs of customer overrides for mutable Redis Configs
       
      map<string, string> redis_configs = 21 [(.google.api.field_behavior) = OPTIONAL];
    • putAllRedisConfigs

      public Cluster.Builder putAllRedisConfigs(Map<String,String> values)
       Optional. Key/Value pairs of customer overrides for mutable Redis Configs
       
      map<string, string> redis_configs = 21 [(.google.api.field_behavior) = OPTIONAL];
    • hasPreciseSizeGb

      public boolean hasPreciseSizeGb()
       Output only. Precise value of redis memory size in GB for the entire
       cluster.
       
      optional double precise_size_gb = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPreciseSizeGb in interface ClusterOrBuilder
      Returns:
      Whether the preciseSizeGb field is set.
    • getPreciseSizeGb

      public double getPreciseSizeGb()
       Output only. Precise value of redis memory size in GB for the entire
       cluster.
       
      optional double precise_size_gb = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPreciseSizeGb in interface ClusterOrBuilder
      Returns:
      The preciseSizeGb.
    • setPreciseSizeGb

      public Cluster.Builder setPreciseSizeGb(double value)
       Output only. Precise value of redis memory size in GB for the entire
       cluster.
       
      optional double precise_size_gb = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The preciseSizeGb to set.
      Returns:
      This builder for chaining.
    • clearPreciseSizeGb

      public Cluster.Builder clearPreciseSizeGb()
       Output only. Precise value of redis memory size in GB for the entire
       cluster.
       
      optional double precise_size_gb = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasZoneDistributionConfig

      public boolean hasZoneDistributionConfig()
       Optional. This config will be used to determine how the customer wants us
       to distribute cluster resources within the region.
       
      .google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig zone_distribution_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasZoneDistributionConfig in interface ClusterOrBuilder
      Returns:
      Whether the zoneDistributionConfig field is set.
    • getZoneDistributionConfig

      public ZoneDistributionConfig getZoneDistributionConfig()
       Optional. This config will be used to determine how the customer wants us
       to distribute cluster resources within the region.
       
      .google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig zone_distribution_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getZoneDistributionConfig in interface ClusterOrBuilder
      Returns:
      The zoneDistributionConfig.
    • setZoneDistributionConfig

      public Cluster.Builder setZoneDistributionConfig(ZoneDistributionConfig value)
       Optional. This config will be used to determine how the customer wants us
       to distribute cluster resources within the region.
       
      .google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig zone_distribution_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • setZoneDistributionConfig

      public Cluster.Builder setZoneDistributionConfig(ZoneDistributionConfig.Builder builderForValue)
       Optional. This config will be used to determine how the customer wants us
       to distribute cluster resources within the region.
       
      .google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig zone_distribution_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • mergeZoneDistributionConfig

      public Cluster.Builder mergeZoneDistributionConfig(ZoneDistributionConfig value)
       Optional. This config will be used to determine how the customer wants us
       to distribute cluster resources within the region.
       
      .google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig zone_distribution_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • clearZoneDistributionConfig

      public Cluster.Builder clearZoneDistributionConfig()
       Optional. This config will be used to determine how the customer wants us
       to distribute cluster resources within the region.
       
      .google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig zone_distribution_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • getZoneDistributionConfigBuilder

      public ZoneDistributionConfig.Builder getZoneDistributionConfigBuilder()
       Optional. This config will be used to determine how the customer wants us
       to distribute cluster resources within the region.
       
      .google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig zone_distribution_config = 23 [(.google.api.field_behavior) = OPTIONAL];
    • getZoneDistributionConfigOrBuilder

      public ZoneDistributionConfigOrBuilder getZoneDistributionConfigOrBuilder()
       Optional. This config will be used to determine how the customer wants us
       to distribute cluster resources within the region.
       
      .google.cloud.redis.cluster.v1beta1.ZoneDistributionConfig zone_distribution_config = 23 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getZoneDistributionConfigOrBuilder in interface ClusterOrBuilder
    • hasCrossClusterReplicationConfig

      public boolean hasCrossClusterReplicationConfig()
       Optional. Cross cluster replication config.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig cross_cluster_replication_config = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCrossClusterReplicationConfig in interface ClusterOrBuilder
      Returns:
      Whether the crossClusterReplicationConfig field is set.
    • getCrossClusterReplicationConfig

      public CrossClusterReplicationConfig getCrossClusterReplicationConfig()
       Optional. Cross cluster replication config.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig cross_cluster_replication_config = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCrossClusterReplicationConfig in interface ClusterOrBuilder
      Returns:
      The crossClusterReplicationConfig.
    • setCrossClusterReplicationConfig

      public Cluster.Builder setCrossClusterReplicationConfig(CrossClusterReplicationConfig value)
       Optional. Cross cluster replication config.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig cross_cluster_replication_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • setCrossClusterReplicationConfig

      public Cluster.Builder setCrossClusterReplicationConfig(CrossClusterReplicationConfig.Builder builderForValue)
       Optional. Cross cluster replication config.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig cross_cluster_replication_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • mergeCrossClusterReplicationConfig

      public Cluster.Builder mergeCrossClusterReplicationConfig(CrossClusterReplicationConfig value)
       Optional. Cross cluster replication config.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig cross_cluster_replication_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • clearCrossClusterReplicationConfig

      public Cluster.Builder clearCrossClusterReplicationConfig()
       Optional. Cross cluster replication config.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig cross_cluster_replication_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • getCrossClusterReplicationConfigBuilder

      public CrossClusterReplicationConfig.Builder getCrossClusterReplicationConfigBuilder()
       Optional. Cross cluster replication config.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig cross_cluster_replication_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • getCrossClusterReplicationConfigOrBuilder

      public CrossClusterReplicationConfigOrBuilder getCrossClusterReplicationConfigOrBuilder()
       Optional. Cross cluster replication config.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig cross_cluster_replication_config = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCrossClusterReplicationConfigOrBuilder in interface ClusterOrBuilder
    • hasDeletionProtectionEnabled

      public boolean hasDeletionProtectionEnabled()
       Optional. The delete operation will fail when the value is set to true.
       
      optional bool deletion_protection_enabled = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDeletionProtectionEnabled in interface ClusterOrBuilder
      Returns:
      Whether the deletionProtectionEnabled field is set.
    • getDeletionProtectionEnabled

      public boolean getDeletionProtectionEnabled()
       Optional. The delete operation will fail when the value is set to true.
       
      optional bool deletion_protection_enabled = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeletionProtectionEnabled in interface ClusterOrBuilder
      Returns:
      The deletionProtectionEnabled.
    • setDeletionProtectionEnabled

      public Cluster.Builder setDeletionProtectionEnabled(boolean value)
       Optional. The delete operation will fail when the value is set to true.
       
      optional bool deletion_protection_enabled = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The deletionProtectionEnabled to set.
      Returns:
      This builder for chaining.
    • clearDeletionProtectionEnabled

      public Cluster.Builder clearDeletionProtectionEnabled()
       Optional. The delete operation will fail when the value is set to true.
       
      optional bool deletion_protection_enabled = 25 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasMaintenancePolicy

      public boolean hasMaintenancePolicy()
       Optional. ClusterMaintenancePolicy determines when to allow or deny
       updates.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenancePolicy maintenance_policy = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMaintenancePolicy in interface ClusterOrBuilder
      Returns:
      Whether the maintenancePolicy field is set.
    • getMaintenancePolicy

      public ClusterMaintenancePolicy getMaintenancePolicy()
       Optional. ClusterMaintenancePolicy determines when to allow or deny
       updates.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenancePolicy maintenance_policy = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaintenancePolicy in interface ClusterOrBuilder
      Returns:
      The maintenancePolicy.
    • setMaintenancePolicy

      public Cluster.Builder setMaintenancePolicy(ClusterMaintenancePolicy value)
       Optional. ClusterMaintenancePolicy determines when to allow or deny
       updates.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenancePolicy maintenance_policy = 26 [(.google.api.field_behavior) = OPTIONAL];
    • setMaintenancePolicy

      public Cluster.Builder setMaintenancePolicy(ClusterMaintenancePolicy.Builder builderForValue)
       Optional. ClusterMaintenancePolicy determines when to allow or deny
       updates.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenancePolicy maintenance_policy = 26 [(.google.api.field_behavior) = OPTIONAL];
    • mergeMaintenancePolicy

      public Cluster.Builder mergeMaintenancePolicy(ClusterMaintenancePolicy value)
       Optional. ClusterMaintenancePolicy determines when to allow or deny
       updates.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenancePolicy maintenance_policy = 26 [(.google.api.field_behavior) = OPTIONAL];
    • clearMaintenancePolicy

      public Cluster.Builder clearMaintenancePolicy()
       Optional. ClusterMaintenancePolicy determines when to allow or deny
       updates.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenancePolicy maintenance_policy = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getMaintenancePolicyBuilder

      public ClusterMaintenancePolicy.Builder getMaintenancePolicyBuilder()
       Optional. ClusterMaintenancePolicy determines when to allow or deny
       updates.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenancePolicy maintenance_policy = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getMaintenancePolicyOrBuilder

      public ClusterMaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
       Optional. ClusterMaintenancePolicy determines when to allow or deny
       updates.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenancePolicy maintenance_policy = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaintenancePolicyOrBuilder in interface ClusterOrBuilder
    • hasMaintenanceSchedule

      public boolean hasMaintenanceSchedule()
       Output only. ClusterMaintenanceSchedule Output only Published maintenance
       schedule.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenanceSchedule maintenance_schedule = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMaintenanceSchedule in interface ClusterOrBuilder
      Returns:
      Whether the maintenanceSchedule field is set.
    • getMaintenanceSchedule

      public ClusterMaintenanceSchedule getMaintenanceSchedule()
       Output only. ClusterMaintenanceSchedule Output only Published maintenance
       schedule.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenanceSchedule maintenance_schedule = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceSchedule in interface ClusterOrBuilder
      Returns:
      The maintenanceSchedule.
    • setMaintenanceSchedule

      public Cluster.Builder setMaintenanceSchedule(ClusterMaintenanceSchedule value)
       Output only. ClusterMaintenanceSchedule Output only Published maintenance
       schedule.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenanceSchedule maintenance_schedule = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMaintenanceSchedule

      public Cluster.Builder setMaintenanceSchedule(ClusterMaintenanceSchedule.Builder builderForValue)
       Output only. ClusterMaintenanceSchedule Output only Published maintenance
       schedule.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenanceSchedule maintenance_schedule = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeMaintenanceSchedule

      public Cluster.Builder mergeMaintenanceSchedule(ClusterMaintenanceSchedule value)
       Output only. ClusterMaintenanceSchedule Output only Published maintenance
       schedule.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenanceSchedule maintenance_schedule = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMaintenanceSchedule

      public Cluster.Builder clearMaintenanceSchedule()
       Output only. ClusterMaintenanceSchedule Output only Published maintenance
       schedule.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenanceSchedule maintenance_schedule = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceScheduleBuilder

      public ClusterMaintenanceSchedule.Builder getMaintenanceScheduleBuilder()
       Output only. ClusterMaintenanceSchedule Output only Published maintenance
       schedule.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenanceSchedule maintenance_schedule = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceScheduleOrBuilder

      public ClusterMaintenanceScheduleOrBuilder getMaintenanceScheduleOrBuilder()
       Output only. ClusterMaintenanceSchedule Output only Published maintenance
       schedule.
       
      optional .google.cloud.redis.cluster.v1beta1.ClusterMaintenanceSchedule maintenance_schedule = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceScheduleOrBuilder in interface ClusterOrBuilder
    • getPscServiceAttachmentsList

      public List<PscServiceAttachment> getPscServiceAttachmentsList()
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscServiceAttachmentsList in interface ClusterOrBuilder
    • getPscServiceAttachmentsCount

      public int getPscServiceAttachmentsCount()
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscServiceAttachmentsCount in interface ClusterOrBuilder
    • getPscServiceAttachments

      public PscServiceAttachment getPscServiceAttachments(int index)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscServiceAttachments in interface ClusterOrBuilder
    • setPscServiceAttachments

      public Cluster.Builder setPscServiceAttachments(int index, PscServiceAttachment value)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPscServiceAttachments

      public Cluster.Builder setPscServiceAttachments(int index, PscServiceAttachment.Builder builderForValue)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscServiceAttachments

      public Cluster.Builder addPscServiceAttachments(PscServiceAttachment value)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscServiceAttachments

      public Cluster.Builder addPscServiceAttachments(int index, PscServiceAttachment value)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscServiceAttachments

      public Cluster.Builder addPscServiceAttachments(PscServiceAttachment.Builder builderForValue)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscServiceAttachments

      public Cluster.Builder addPscServiceAttachments(int index, PscServiceAttachment.Builder builderForValue)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllPscServiceAttachments

      public Cluster.Builder addAllPscServiceAttachments(Iterable<? extends PscServiceAttachment> values)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPscServiceAttachments

      public Cluster.Builder clearPscServiceAttachments()
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removePscServiceAttachments

      public Cluster.Builder removePscServiceAttachments(int index)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPscServiceAttachmentsBuilder

      public PscServiceAttachment.Builder getPscServiceAttachmentsBuilder(int index)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPscServiceAttachmentsOrBuilder

      public PscServiceAttachmentOrBuilder getPscServiceAttachmentsOrBuilder(int index)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscServiceAttachmentsOrBuilder in interface ClusterOrBuilder
    • getPscServiceAttachmentsOrBuilderList

      public List<? extends PscServiceAttachmentOrBuilder> getPscServiceAttachmentsOrBuilderList()
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPscServiceAttachmentsOrBuilderList in interface ClusterOrBuilder
    • addPscServiceAttachmentsBuilder

      public PscServiceAttachment.Builder addPscServiceAttachmentsBuilder()
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPscServiceAttachmentsBuilder

      public PscServiceAttachment.Builder addPscServiceAttachmentsBuilder(int index)
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPscServiceAttachmentsBuilderList

      public List<PscServiceAttachment.Builder> getPscServiceAttachmentsBuilderList()
       Output only. Service attachment details to configure Psc connections
       
      repeated .google.cloud.redis.cluster.v1beta1.PscServiceAttachment psc_service_attachments = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getClusterEndpointsList

      public List<ClusterEndpoint> getClusterEndpointsList()
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getClusterEndpointsList in interface ClusterOrBuilder
    • getClusterEndpointsCount

      public int getClusterEndpointsCount()
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getClusterEndpointsCount in interface ClusterOrBuilder
    • getClusterEndpoints

      public ClusterEndpoint getClusterEndpoints(int index)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getClusterEndpoints in interface ClusterOrBuilder
    • setClusterEndpoints

      public Cluster.Builder setClusterEndpoints(int index, ClusterEndpoint value)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • setClusterEndpoints

      public Cluster.Builder setClusterEndpoints(int index, ClusterEndpoint.Builder builderForValue)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • addClusterEndpoints

      public Cluster.Builder addClusterEndpoints(ClusterEndpoint value)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • addClusterEndpoints

      public Cluster.Builder addClusterEndpoints(int index, ClusterEndpoint value)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • addClusterEndpoints

      public Cluster.Builder addClusterEndpoints(ClusterEndpoint.Builder builderForValue)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • addClusterEndpoints

      public Cluster.Builder addClusterEndpoints(int index, ClusterEndpoint.Builder builderForValue)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • addAllClusterEndpoints

      public Cluster.Builder addAllClusterEndpoints(Iterable<? extends ClusterEndpoint> values)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • clearClusterEndpoints

      public Cluster.Builder clearClusterEndpoints()
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • removeClusterEndpoints

      public Cluster.Builder removeClusterEndpoints(int index)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • getClusterEndpointsBuilder

      public ClusterEndpoint.Builder getClusterEndpointsBuilder(int index)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • getClusterEndpointsOrBuilder

      public ClusterEndpointOrBuilder getClusterEndpointsOrBuilder(int index)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getClusterEndpointsOrBuilder in interface ClusterOrBuilder
    • getClusterEndpointsOrBuilderList

      public List<? extends ClusterEndpointOrBuilder> getClusterEndpointsOrBuilderList()
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getClusterEndpointsOrBuilderList in interface ClusterOrBuilder
    • addClusterEndpointsBuilder

      public ClusterEndpoint.Builder addClusterEndpointsBuilder()
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • addClusterEndpointsBuilder

      public ClusterEndpoint.Builder addClusterEndpointsBuilder(int index)
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • getClusterEndpointsBuilderList

      public List<ClusterEndpoint.Builder> getClusterEndpointsBuilderList()
       Optional. A list of cluster enpoints.
       
      repeated .google.cloud.redis.cluster.v1beta1.ClusterEndpoint cluster_endpoints = 36 [(.google.api.field_behavior) = OPTIONAL];
    • hasBackupCollection

      public boolean hasBackupCollection()
       Optional. Output only. The backup collection full resource name. Example:
       projects/{project}/locations/{location}/backupCollections/{collection}
       
      optional string backup_collection = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      hasBackupCollection in interface ClusterOrBuilder
      Returns:
      Whether the backupCollection field is set.
    • getBackupCollection

      public String getBackupCollection()
       Optional. Output only. The backup collection full resource name. Example:
       projects/{project}/locations/{location}/backupCollections/{collection}
       
      optional string backup_collection = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getBackupCollection in interface ClusterOrBuilder
      Returns:
      The backupCollection.
    • getBackupCollectionBytes

      public com.google.protobuf.ByteString getBackupCollectionBytes()
       Optional. Output only. The backup collection full resource name. Example:
       projects/{project}/locations/{location}/backupCollections/{collection}
       
      optional string backup_collection = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getBackupCollectionBytes in interface ClusterOrBuilder
      Returns:
      The bytes for backupCollection.
    • setBackupCollection

      public Cluster.Builder setBackupCollection(String value)
       Optional. Output only. The backup collection full resource name. Example:
       projects/{project}/locations/{location}/backupCollections/{collection}
       
      optional string backup_collection = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The backupCollection to set.
      Returns:
      This builder for chaining.
    • clearBackupCollection

      public Cluster.Builder clearBackupCollection()
       Optional. Output only. The backup collection full resource name. Example:
       projects/{project}/locations/{location}/backupCollections/{collection}
       
      optional string backup_collection = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setBackupCollectionBytes

      public Cluster.Builder setBackupCollectionBytes(com.google.protobuf.ByteString value)
       Optional. Output only. The backup collection full resource name. Example:
       projects/{project}/locations/{location}/backupCollections/{collection}
       
      optional string backup_collection = 39 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for backupCollection to set.
      Returns:
      This builder for chaining.
    • hasKmsKey

      public boolean hasKmsKey()
       Optional. The KMS key used to encrypt the at-rest data of the cluster.
       
      optional string kms_key = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      hasKmsKey in interface ClusterOrBuilder
      Returns:
      Whether the kmsKey field is set.
    • getKmsKey

      public String getKmsKey()
       Optional. The KMS key used to encrypt the at-rest data of the cluster.
       
      optional string kms_key = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getKmsKey in interface ClusterOrBuilder
      Returns:
      The kmsKey.
    • getKmsKeyBytes

      public com.google.protobuf.ByteString getKmsKeyBytes()
       Optional. The KMS key used to encrypt the at-rest data of the cluster.
       
      optional string kms_key = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getKmsKeyBytes in interface ClusterOrBuilder
      Returns:
      The bytes for kmsKey.
    • setKmsKey

      public Cluster.Builder setKmsKey(String value)
       Optional. The KMS key used to encrypt the at-rest data of the cluster.
       
      optional string kms_key = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The kmsKey to set.
      Returns:
      This builder for chaining.
    • clearKmsKey

      public Cluster.Builder clearKmsKey()
       Optional. The KMS key used to encrypt the at-rest data of the cluster.
       
      optional string kms_key = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setKmsKeyBytes

      public Cluster.Builder setKmsKeyBytes(com.google.protobuf.ByteString value)
       Optional. The KMS key used to encrypt the at-rest data of the cluster.
       
      optional string kms_key = 40 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for kmsKey to set.
      Returns:
      This builder for chaining.
    • hasAutomatedBackupConfig

      public boolean hasAutomatedBackupConfig()
       Optional. The automated backup config for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig automated_backup_config = 42 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAutomatedBackupConfig in interface ClusterOrBuilder
      Returns:
      Whether the automatedBackupConfig field is set.
    • getAutomatedBackupConfig

      public AutomatedBackupConfig getAutomatedBackupConfig()
       Optional. The automated backup config for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig automated_backup_config = 42 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutomatedBackupConfig in interface ClusterOrBuilder
      Returns:
      The automatedBackupConfig.
    • setAutomatedBackupConfig

      public Cluster.Builder setAutomatedBackupConfig(AutomatedBackupConfig value)
       Optional. The automated backup config for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig automated_backup_config = 42 [(.google.api.field_behavior) = OPTIONAL];
    • setAutomatedBackupConfig

      public Cluster.Builder setAutomatedBackupConfig(AutomatedBackupConfig.Builder builderForValue)
       Optional. The automated backup config for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig automated_backup_config = 42 [(.google.api.field_behavior) = OPTIONAL];
    • mergeAutomatedBackupConfig

      public Cluster.Builder mergeAutomatedBackupConfig(AutomatedBackupConfig value)
       Optional. The automated backup config for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig automated_backup_config = 42 [(.google.api.field_behavior) = OPTIONAL];
    • clearAutomatedBackupConfig

      public Cluster.Builder clearAutomatedBackupConfig()
       Optional. The automated backup config for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig automated_backup_config = 42 [(.google.api.field_behavior) = OPTIONAL];
    • getAutomatedBackupConfigBuilder

      public AutomatedBackupConfig.Builder getAutomatedBackupConfigBuilder()
       Optional. The automated backup config for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig automated_backup_config = 42 [(.google.api.field_behavior) = OPTIONAL];
    • getAutomatedBackupConfigOrBuilder

      public AutomatedBackupConfigOrBuilder getAutomatedBackupConfigOrBuilder()
       Optional. The automated backup config for the cluster.
       
      .google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig automated_backup_config = 42 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutomatedBackupConfigOrBuilder in interface ClusterOrBuilder
    • hasEncryptionInfo

      public boolean hasEncryptionInfo()
       Output only. Encryption information of the data at rest of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEncryptionInfo in interface ClusterOrBuilder
      Returns:
      Whether the encryptionInfo field is set.
    • getEncryptionInfo

      public EncryptionInfo getEncryptionInfo()
       Output only. Encryption information of the data at rest of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEncryptionInfo in interface ClusterOrBuilder
      Returns:
      The encryptionInfo.
    • setEncryptionInfo

      public Cluster.Builder setEncryptionInfo(EncryptionInfo value)
       Output only. Encryption information of the data at rest of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEncryptionInfo

      public Cluster.Builder setEncryptionInfo(EncryptionInfo.Builder builderForValue)
       Output only. Encryption information of the data at rest of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEncryptionInfo

      public Cluster.Builder mergeEncryptionInfo(EncryptionInfo value)
       Output only. Encryption information of the data at rest of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEncryptionInfo

      public Cluster.Builder clearEncryptionInfo()
       Output only. Encryption information of the data at rest of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEncryptionInfoBuilder

      public EncryptionInfo.Builder getEncryptionInfoBuilder()
       Output only. Encryption information of the data at rest of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEncryptionInfoOrBuilder

      public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
       Output only. Encryption information of the data at rest of the cluster.
       
      .google.cloud.redis.cluster.v1beta1.EncryptionInfo encryption_info = 43 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEncryptionInfoOrBuilder in interface ClusterOrBuilder
    • hasServerCaMode

      public boolean hasServerCaMode()
       Optional. Server CA mode for the cluster.
       
      optional .google.cloud.redis.cluster.v1beta1.ServerCaMode server_ca_mode = 53 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasServerCaMode in interface ClusterOrBuilder
      Returns:
      Whether the serverCaMode field is set.
    • getServerCaModeValue

      public int getServerCaModeValue()
       Optional. Server CA mode for the cluster.
       
      optional .google.cloud.redis.cluster.v1beta1.ServerCaMode server_ca_mode = 53 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServerCaModeValue in interface ClusterOrBuilder
      Returns:
      The enum numeric value on the wire for serverCaMode.
    • setServerCaModeValue

      public Cluster.Builder setServerCaModeValue(int value)
       Optional. Server CA mode for the cluster.
       
      optional .google.cloud.redis.cluster.v1beta1.ServerCaMode server_ca_mode = 53 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for serverCaMode to set.
      Returns:
      This builder for chaining.
    • getServerCaMode

      public ServerCaMode getServerCaMode()
       Optional. Server CA mode for the cluster.
       
      optional .google.cloud.redis.cluster.v1beta1.ServerCaMode server_ca_mode = 53 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServerCaMode in interface ClusterOrBuilder
      Returns:
      The serverCaMode.
    • setServerCaMode

      public Cluster.Builder setServerCaMode(ServerCaMode value)
       Optional. Server CA mode for the cluster.
       
      optional .google.cloud.redis.cluster.v1beta1.ServerCaMode server_ca_mode = 53 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The serverCaMode to set.
      Returns:
      This builder for chaining.
    • clearServerCaMode

      public Cluster.Builder clearServerCaMode()
       Optional. Server CA mode for the cluster.
       
      optional .google.cloud.redis.cluster.v1beta1.ServerCaMode server_ca_mode = 53 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasServerCaPool

      public boolean hasServerCaPool()
       Optional. Customer-managed CA pool for the cluster. Only applicable for
       BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA.
       Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".
       
      optional string server_ca_pool = 54 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      hasServerCaPool in interface ClusterOrBuilder
      Returns:
      Whether the serverCaPool field is set.
    • getServerCaPool

      public String getServerCaPool()
       Optional. Customer-managed CA pool for the cluster. Only applicable for
       BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA.
       Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".
       
      optional string server_ca_pool = 54 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getServerCaPool in interface ClusterOrBuilder
      Returns:
      The serverCaPool.
    • getServerCaPoolBytes

      public com.google.protobuf.ByteString getServerCaPoolBytes()
       Optional. Customer-managed CA pool for the cluster. Only applicable for
       BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA.
       Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".
       
      optional string server_ca_pool = 54 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getServerCaPoolBytes in interface ClusterOrBuilder
      Returns:
      The bytes for serverCaPool.
    • setServerCaPool

      public Cluster.Builder setServerCaPool(String value)
       Optional. Customer-managed CA pool for the cluster. Only applicable for
       BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA.
       Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".
       
      optional string server_ca_pool = 54 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The serverCaPool to set.
      Returns:
      This builder for chaining.
    • clearServerCaPool

      public Cluster.Builder clearServerCaPool()
       Optional. Customer-managed CA pool for the cluster. Only applicable for
       BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA.
       Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".
       
      optional string server_ca_pool = 54 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setServerCaPoolBytes

      public Cluster.Builder setServerCaPoolBytes(com.google.protobuf.ByteString value)
       Optional. Customer-managed CA pool for the cluster. Only applicable for
       BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA.
       Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".
       
      optional string server_ca_pool = 54 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for serverCaPool to set.
      Returns:
      This builder for chaining.
    • hasRotateServerCertificate

      public boolean hasRotateServerCertificate()
       Optional. Input only. Rotate the server certificates.
       
      optional bool rotate_server_certificate = 55 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      hasRotateServerCertificate in interface ClusterOrBuilder
      Returns:
      Whether the rotateServerCertificate field is set.
    • getRotateServerCertificate

      public boolean getRotateServerCertificate()
       Optional. Input only. Rotate the server certificates.
       
      optional bool rotate_server_certificate = 55 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getRotateServerCertificate in interface ClusterOrBuilder
      Returns:
      The rotateServerCertificate.
    • setRotateServerCertificate

      public Cluster.Builder setRotateServerCertificate(boolean value)
       Optional. Input only. Rotate the server certificates.
       
      optional bool rotate_server_certificate = 55 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
      Parameters:
      value - The rotateServerCertificate to set.
      Returns:
      This builder for chaining.
    • clearRotateServerCertificate

      public Cluster.Builder clearRotateServerCertificate()
       Optional. Input only. Rotate the server certificates.
       
      optional bool rotate_server_certificate = 55 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      This builder for chaining.