Class Instance.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
com.google.cloud.memcache.v1beta2.Instance.Builder
All Implemented Interfaces:
InstanceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Instance

public static final class Instance.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.Builder> implements InstanceOrBuilder
 A Memorystore for Memcached instance
 
Protobuf type google.cloud.memcache.v1beta2.Instance
  • 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<Instance.Builder>
    • internalGetMutableMapFieldReflection

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

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

      public Instance.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<Instance.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<Instance.Builder>
    • getDefaultInstanceForType

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

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

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

      public Instance.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<Instance.Builder>
    • mergeFrom

      public Instance.Builder mergeFrom(Instance other)
    • isInitialized

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

      public Instance.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<Instance.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. Unique name of the resource in this scope including project and
       location using the form:
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
      
       Note: Memcached instances are managed and addressed at the regional level
       so `location_id` here refers to a Google Cloud region; however, users may
       choose which zones Memcached nodes should be provisioned in within an
       instance. Refer to [zones][google.cloud.memcache.v1beta2.Instance.zones] field for more details.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface InstanceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Unique name of the resource in this scope including project and
       location using the form:
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
      
       Note: Memcached instances are managed and addressed at the regional level
       so `location_id` here refers to a Google Cloud region; however, users may
       choose which zones Memcached nodes should be provisioned in within an
       instance. Refer to [zones][google.cloud.memcache.v1beta2.Instance.zones] field for more details.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface InstanceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Instance.Builder setName(String value)
       Required. Unique name of the resource in this scope including project and
       location using the form:
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
      
       Note: Memcached instances are managed and addressed at the regional level
       so `location_id` here refers to a Google Cloud region; however, users may
       choose which zones Memcached nodes should be provisioned in within an
       instance. Refer to [zones][google.cloud.memcache.v1beta2.Instance.zones] field for more details.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Instance.Builder clearName()
       Required. Unique name of the resource in this scope including project and
       location using the form:
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
      
       Note: Memcached instances are managed and addressed at the regional level
       so `location_id` here refers to a Google Cloud region; however, users may
       choose which zones Memcached nodes should be provisioned in within an
       instance. Refer to [zones][google.cloud.memcache.v1beta2.Instance.zones] field for more details.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. Unique name of the resource in this scope including project and
       location using the form:
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
      
       Note: Memcached instances are managed and addressed at the regional level
       so `location_id` here refers to a Google Cloud region; however, users may
       choose which zones Memcached nodes should be provisioned in within an
       instance. Refer to [zones][google.cloud.memcache.v1beta2.Instance.zones] field for more details.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       User provided name for the instance, which is only used for display
       purposes. Cannot be more than 80 characters.
       
      string display_name = 2;
      Specified by:
      getDisplayName in interface InstanceOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       User provided name for the instance, which is only used for display
       purposes. Cannot be more than 80 characters.
       
      string display_name = 2;
      Specified by:
      getDisplayNameBytes in interface InstanceOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Instance.Builder setDisplayName(String value)
       User provided name for the instance, which is only used for display
       purposes. Cannot be more than 80 characters.
       
      string display_name = 2;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Instance.Builder clearDisplayName()
       User provided name for the instance, which is only used for display
       purposes. Cannot be more than 80 characters.
       
      string display_name = 2;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Instance.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       User provided name for the instance, which is only used for display
       purposes. Cannot be more than 80 characters.
       
      string display_name = 2;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: InstanceOrBuilder
       Resource labels to represent user-provided metadata.
       Refer to cloud documentation on labels for more details.
       https://cloud.google.com/compute/docs/labeling-resources
       
      map<string, string> labels = 3;
      Specified by:
      getLabelsCount in interface InstanceOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Resource labels to represent user-provided metadata.
       Refer to cloud documentation on labels for more details.
       https://cloud.google.com/compute/docs/labeling-resources
       
      map<string, string> labels = 3;
      Specified by:
      containsLabels in interface InstanceOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface InstanceOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Resource labels to represent user-provided metadata.
       Refer to cloud documentation on labels for more details.
       https://cloud.google.com/compute/docs/labeling-resources
       
      map<string, string> labels = 3;
      Specified by:
      getLabelsMap in interface InstanceOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Resource labels to represent user-provided metadata.
       Refer to cloud documentation on labels for more details.
       https://cloud.google.com/compute/docs/labeling-resources
       
      map<string, string> labels = 3;
      Specified by:
      getLabelsOrDefault in interface InstanceOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Resource labels to represent user-provided metadata.
       Refer to cloud documentation on labels for more details.
       https://cloud.google.com/compute/docs/labeling-resources
       
      map<string, string> labels = 3;
      Specified by:
      getLabelsOrThrow in interface InstanceOrBuilder
    • clearLabels

      public Instance.Builder clearLabels()
    • removeLabels

      public Instance.Builder removeLabels(String key)
       Resource labels to represent user-provided metadata.
       Refer to cloud documentation on labels for more details.
       https://cloud.google.com/compute/docs/labeling-resources
       
      map<string, string> labels = 3;
    • getMutableLabels

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

      public Instance.Builder putLabels(String key, String value)
       Resource labels to represent user-provided metadata.
       Refer to cloud documentation on labels for more details.
       https://cloud.google.com/compute/docs/labeling-resources
       
      map<string, string> labels = 3;
    • putAllLabels

      public Instance.Builder putAllLabels(Map<String,String> values)
       Resource labels to represent user-provided metadata.
       Refer to cloud documentation on labels for more details.
       https://cloud.google.com/compute/docs/labeling-resources
       
      map<string, string> labels = 3;
    • getAuthorizedNetwork

      public String getAuthorizedNetwork()
       The full name of the Google Compute Engine
       [network](https://cloud.google.com/vpc/docs/vpc) to which the
       instance is connected. If left unspecified, the `default` network
       will be used.
       
      string authorized_network = 4;
      Specified by:
      getAuthorizedNetwork in interface InstanceOrBuilder
      Returns:
      The authorizedNetwork.
    • getAuthorizedNetworkBytes

      public com.google.protobuf.ByteString getAuthorizedNetworkBytes()
       The full name of the Google Compute Engine
       [network](https://cloud.google.com/vpc/docs/vpc) to which the
       instance is connected. If left unspecified, the `default` network
       will be used.
       
      string authorized_network = 4;
      Specified by:
      getAuthorizedNetworkBytes in interface InstanceOrBuilder
      Returns:
      The bytes for authorizedNetwork.
    • setAuthorizedNetwork

      public Instance.Builder setAuthorizedNetwork(String value)
       The full name of the Google Compute Engine
       [network](https://cloud.google.com/vpc/docs/vpc) to which the
       instance is connected. If left unspecified, the `default` network
       will be used.
       
      string authorized_network = 4;
      Parameters:
      value - The authorizedNetwork to set.
      Returns:
      This builder for chaining.
    • clearAuthorizedNetwork

      public Instance.Builder clearAuthorizedNetwork()
       The full name of the Google Compute Engine
       [network](https://cloud.google.com/vpc/docs/vpc) to which the
       instance is connected. If left unspecified, the `default` network
       will be used.
       
      string authorized_network = 4;
      Returns:
      This builder for chaining.
    • setAuthorizedNetworkBytes

      public Instance.Builder setAuthorizedNetworkBytes(com.google.protobuf.ByteString value)
       The full name of the Google Compute Engine
       [network](https://cloud.google.com/vpc/docs/vpc) to which the
       instance is connected. If left unspecified, the `default` network
       will be used.
       
      string authorized_network = 4;
      Parameters:
      value - The bytes for authorizedNetwork to set.
      Returns:
      This builder for chaining.
    • getZonesList

      public com.google.protobuf.ProtocolStringList getZonesList()
       Zones in which Memcached nodes should be provisioned.
       Memcached nodes will be equally distributed across these zones. If not
       provided, the service will by default create nodes in all zones in the
       region for the instance.
       
      repeated string zones = 5;
      Specified by:
      getZonesList in interface InstanceOrBuilder
      Returns:
      A list containing the zones.
    • getZonesCount

      public int getZonesCount()
       Zones in which Memcached nodes should be provisioned.
       Memcached nodes will be equally distributed across these zones. If not
       provided, the service will by default create nodes in all zones in the
       region for the instance.
       
      repeated string zones = 5;
      Specified by:
      getZonesCount in interface InstanceOrBuilder
      Returns:
      The count of zones.
    • getZones

      public String getZones(int index)
       Zones in which Memcached nodes should be provisioned.
       Memcached nodes will be equally distributed across these zones. If not
       provided, the service will by default create nodes in all zones in the
       region for the instance.
       
      repeated string zones = 5;
      Specified by:
      getZones in interface InstanceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The zones at the given index.
    • getZonesBytes

      public com.google.protobuf.ByteString getZonesBytes(int index)
       Zones in which Memcached nodes should be provisioned.
       Memcached nodes will be equally distributed across these zones. If not
       provided, the service will by default create nodes in all zones in the
       region for the instance.
       
      repeated string zones = 5;
      Specified by:
      getZonesBytes in interface InstanceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the zones at the given index.
    • setZones

      public Instance.Builder setZones(int index, String value)
       Zones in which Memcached nodes should be provisioned.
       Memcached nodes will be equally distributed across these zones. If not
       provided, the service will by default create nodes in all zones in the
       region for the instance.
       
      repeated string zones = 5;
      Parameters:
      index - The index to set the value at.
      value - The zones to set.
      Returns:
      This builder for chaining.
    • addZones

      public Instance.Builder addZones(String value)
       Zones in which Memcached nodes should be provisioned.
       Memcached nodes will be equally distributed across these zones. If not
       provided, the service will by default create nodes in all zones in the
       region for the instance.
       
      repeated string zones = 5;
      Parameters:
      value - The zones to add.
      Returns:
      This builder for chaining.
    • addAllZones

      public Instance.Builder addAllZones(Iterable<String> values)
       Zones in which Memcached nodes should be provisioned.
       Memcached nodes will be equally distributed across these zones. If not
       provided, the service will by default create nodes in all zones in the
       region for the instance.
       
      repeated string zones = 5;
      Parameters:
      values - The zones to add.
      Returns:
      This builder for chaining.
    • clearZones

      public Instance.Builder clearZones()
       Zones in which Memcached nodes should be provisioned.
       Memcached nodes will be equally distributed across these zones. If not
       provided, the service will by default create nodes in all zones in the
       region for the instance.
       
      repeated string zones = 5;
      Returns:
      This builder for chaining.
    • addZonesBytes

      public Instance.Builder addZonesBytes(com.google.protobuf.ByteString value)
       Zones in which Memcached nodes should be provisioned.
       Memcached nodes will be equally distributed across these zones. If not
       provided, the service will by default create nodes in all zones in the
       region for the instance.
       
      repeated string zones = 5;
      Parameters:
      value - The bytes of the zones to add.
      Returns:
      This builder for chaining.
    • getNodeCount

      public int getNodeCount()
       Required. Number of nodes in the Memcached instance.
       
      int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeCount in interface InstanceOrBuilder
      Returns:
      The nodeCount.
    • setNodeCount

      public Instance.Builder setNodeCount(int value)
       Required. Number of nodes in the Memcached instance.
       
      int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The nodeCount to set.
      Returns:
      This builder for chaining.
    • clearNodeCount

      public Instance.Builder clearNodeCount()
       Required. Number of nodes in the Memcached instance.
       
      int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • hasNodeConfig

      public boolean hasNodeConfig()
       Required. Configuration for Memcached nodes.
       
      .google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasNodeConfig in interface InstanceOrBuilder
      Returns:
      Whether the nodeConfig field is set.
    • getNodeConfig

      public Instance.NodeConfig getNodeConfig()
       Required. Configuration for Memcached nodes.
       
      .google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeConfig in interface InstanceOrBuilder
      Returns:
      The nodeConfig.
    • setNodeConfig

      public Instance.Builder setNodeConfig(Instance.NodeConfig value)
       Required. Configuration for Memcached nodes.
       
      .google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
    • setNodeConfig

      public Instance.Builder setNodeConfig(Instance.NodeConfig.Builder builderForValue)
       Required. Configuration for Memcached nodes.
       
      .google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
    • mergeNodeConfig

      public Instance.Builder mergeNodeConfig(Instance.NodeConfig value)
       Required. Configuration for Memcached nodes.
       
      .google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
    • clearNodeConfig

      public Instance.Builder clearNodeConfig()
       Required. Configuration for Memcached nodes.
       
      .google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
    • getNodeConfigBuilder

      public Instance.NodeConfig.Builder getNodeConfigBuilder()
       Required. Configuration for Memcached nodes.
       
      .google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
    • getNodeConfigOrBuilder

      public Instance.NodeConfigOrBuilder getNodeConfigOrBuilder()
       Required. Configuration for Memcached nodes.
       
      .google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNodeConfigOrBuilder in interface InstanceOrBuilder
    • getMemcacheVersionValue

      public int getMemcacheVersionValue()
       The major version of Memcached software.
       If not provided, latest supported version will be used. Currently the
       latest supported major version is `MEMCACHE_1_5`.
       The minor version will be automatically determined by our system based on
       the latest supported minor version.
       
      .google.cloud.memcache.v1beta2.MemcacheVersion memcache_version = 9;
      Specified by:
      getMemcacheVersionValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for memcacheVersion.
    • setMemcacheVersionValue

      public Instance.Builder setMemcacheVersionValue(int value)
       The major version of Memcached software.
       If not provided, latest supported version will be used. Currently the
       latest supported major version is `MEMCACHE_1_5`.
       The minor version will be automatically determined by our system based on
       the latest supported minor version.
       
      .google.cloud.memcache.v1beta2.MemcacheVersion memcache_version = 9;
      Parameters:
      value - The enum numeric value on the wire for memcacheVersion to set.
      Returns:
      This builder for chaining.
    • getMemcacheVersion

      public MemcacheVersion getMemcacheVersion()
       The major version of Memcached software.
       If not provided, latest supported version will be used. Currently the
       latest supported major version is `MEMCACHE_1_5`.
       The minor version will be automatically determined by our system based on
       the latest supported minor version.
       
      .google.cloud.memcache.v1beta2.MemcacheVersion memcache_version = 9;
      Specified by:
      getMemcacheVersion in interface InstanceOrBuilder
      Returns:
      The memcacheVersion.
    • setMemcacheVersion

      public Instance.Builder setMemcacheVersion(MemcacheVersion value)
       The major version of Memcached software.
       If not provided, latest supported version will be used. Currently the
       latest supported major version is `MEMCACHE_1_5`.
       The minor version will be automatically determined by our system based on
       the latest supported minor version.
       
      .google.cloud.memcache.v1beta2.MemcacheVersion memcache_version = 9;
      Parameters:
      value - The memcacheVersion to set.
      Returns:
      This builder for chaining.
    • clearMemcacheVersion

      public Instance.Builder clearMemcacheVersion()
       The major version of Memcached software.
       If not provided, latest supported version will be used. Currently the
       latest supported major version is `MEMCACHE_1_5`.
       The minor version will be automatically determined by our system based on
       the latest supported minor version.
       
      .google.cloud.memcache.v1beta2.MemcacheVersion memcache_version = 9;
      Returns:
      This builder for chaining.
    • hasParameters

      public boolean hasParameters()
       User defined parameters to apply to the memcached process
       on each node.
       
      .google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
      Specified by:
      hasParameters in interface InstanceOrBuilder
      Returns:
      Whether the parameters field is set.
    • getParameters

      public MemcacheParameters getParameters()
       User defined parameters to apply to the memcached process
       on each node.
       
      .google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
      Specified by:
      getParameters in interface InstanceOrBuilder
      Returns:
      The parameters.
    • setParameters

      public Instance.Builder setParameters(MemcacheParameters value)
       User defined parameters to apply to the memcached process
       on each node.
       
      .google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
    • setParameters

      public Instance.Builder setParameters(MemcacheParameters.Builder builderForValue)
       User defined parameters to apply to the memcached process
       on each node.
       
      .google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
    • mergeParameters

      public Instance.Builder mergeParameters(MemcacheParameters value)
       User defined parameters to apply to the memcached process
       on each node.
       
      .google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
    • clearParameters

      public Instance.Builder clearParameters()
       User defined parameters to apply to the memcached process
       on each node.
       
      .google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
    • getParametersBuilder

      public MemcacheParameters.Builder getParametersBuilder()
       User defined parameters to apply to the memcached process
       on each node.
       
      .google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
    • getParametersOrBuilder

      public MemcacheParametersOrBuilder getParametersOrBuilder()
       User defined parameters to apply to the memcached process
       on each node.
       
      .google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
      Specified by:
      getParametersOrBuilder in interface InstanceOrBuilder
    • getMemcacheNodesList

      public List<Instance.Node> getMemcacheNodesList()
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMemcacheNodesList in interface InstanceOrBuilder
    • getMemcacheNodesCount

      public int getMemcacheNodesCount()
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMemcacheNodesCount in interface InstanceOrBuilder
    • getMemcacheNodes

      public Instance.Node getMemcacheNodes(int index)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMemcacheNodes in interface InstanceOrBuilder
    • setMemcacheNodes

      public Instance.Builder setMemcacheNodes(int index, Instance.Node value)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMemcacheNodes

      public Instance.Builder setMemcacheNodes(int index, Instance.Node.Builder builderForValue)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMemcacheNodes

      public Instance.Builder addMemcacheNodes(Instance.Node value)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMemcacheNodes

      public Instance.Builder addMemcacheNodes(int index, Instance.Node value)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMemcacheNodes

      public Instance.Builder addMemcacheNodes(Instance.Node.Builder builderForValue)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMemcacheNodes

      public Instance.Builder addMemcacheNodes(int index, Instance.Node.Builder builderForValue)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllMemcacheNodes

      public Instance.Builder addAllMemcacheNodes(Iterable<? extends Instance.Node> values)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMemcacheNodes

      public Instance.Builder clearMemcacheNodes()
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeMemcacheNodes

      public Instance.Builder removeMemcacheNodes(int index)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMemcacheNodesBuilder

      public Instance.Node.Builder getMemcacheNodesBuilder(int index)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMemcacheNodesOrBuilder

      public Instance.NodeOrBuilder getMemcacheNodesOrBuilder(int index)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMemcacheNodesOrBuilder in interface InstanceOrBuilder
    • getMemcacheNodesOrBuilderList

      public List<? extends Instance.NodeOrBuilder> getMemcacheNodesOrBuilderList()
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMemcacheNodesOrBuilderList in interface InstanceOrBuilder
    • addMemcacheNodesBuilder

      public Instance.Node.Builder addMemcacheNodesBuilder()
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addMemcacheNodesBuilder

      public Instance.Node.Builder addMemcacheNodesBuilder(int index)
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMemcacheNodesBuilderList

      public List<Instance.Node.Builder> getMemcacheNodesBuilderList()
       Output only. List of Memcached nodes.
       Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
       
      repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time the instance was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface InstanceOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time the instance was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface InstanceOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Instance.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time the instance was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Instance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time the instance was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Instance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time the instance was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Instance.Builder clearCreateTime()
       Output only. The time the instance was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time the instance was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time the instance was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface InstanceOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time the instance was updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface InstanceOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time the instance was updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface InstanceOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Instance.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time the instance was updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Instance.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time the instance was updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Instance.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time the instance was updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Instance.Builder clearUpdateTime()
       Output only. The time the instance was updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time the instance was updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time the instance was updated.
       
      .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface InstanceOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. The state of this Memcached instance.
       
      .google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Instance.Builder setStateValue(int value)
       Output only. The state of this Memcached instance.
       
      .google.cloud.memcache.v1beta2.Instance.State state = 15 [(.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 Instance.State getState()
       Output only. The state of this Memcached instance.
       
      .google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface InstanceOrBuilder
      Returns:
      The state.
    • setState

      public Instance.Builder setState(Instance.State value)
       Output only. The state of this Memcached instance.
       
      .google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Instance.Builder clearState()
       Output only. The state of this Memcached instance.
       
      .google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMemcacheFullVersion

      public String getMemcacheFullVersion()
       Output only. The full version of memcached server running on this instance.
       System automatically determines the full memcached version for an instance
       based on the input MemcacheVersion.
       The full version format will be "memcached-1.5.16".
       
      string memcache_full_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMemcacheFullVersion in interface InstanceOrBuilder
      Returns:
      The memcacheFullVersion.
    • getMemcacheFullVersionBytes

      public com.google.protobuf.ByteString getMemcacheFullVersionBytes()
       Output only. The full version of memcached server running on this instance.
       System automatically determines the full memcached version for an instance
       based on the input MemcacheVersion.
       The full version format will be "memcached-1.5.16".
       
      string memcache_full_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMemcacheFullVersionBytes in interface InstanceOrBuilder
      Returns:
      The bytes for memcacheFullVersion.
    • setMemcacheFullVersion

      public Instance.Builder setMemcacheFullVersion(String value)
       Output only. The full version of memcached server running on this instance.
       System automatically determines the full memcached version for an instance
       based on the input MemcacheVersion.
       The full version format will be "memcached-1.5.16".
       
      string memcache_full_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The memcacheFullVersion to set.
      Returns:
      This builder for chaining.
    • clearMemcacheFullVersion

      public Instance.Builder clearMemcacheFullVersion()
       Output only. The full version of memcached server running on this instance.
       System automatically determines the full memcached version for an instance
       based on the input MemcacheVersion.
       The full version format will be "memcached-1.5.16".
       
      string memcache_full_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setMemcacheFullVersionBytes

      public Instance.Builder setMemcacheFullVersionBytes(com.google.protobuf.ByteString value)
       Output only. The full version of memcached server running on this instance.
       System automatically determines the full memcached version for an instance
       based on the input MemcacheVersion.
       The full version format will be "memcached-1.5.16".
       
      string memcache_full_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for memcacheFullVersion to set.
      Returns:
      This builder for chaining.
    • getInstanceMessagesList

      public List<Instance.InstanceMessage> getInstanceMessagesList()
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
      Specified by:
      getInstanceMessagesList in interface InstanceOrBuilder
    • getInstanceMessagesCount

      public int getInstanceMessagesCount()
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
      Specified by:
      getInstanceMessagesCount in interface InstanceOrBuilder
    • getInstanceMessages

      public Instance.InstanceMessage getInstanceMessages(int index)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
      Specified by:
      getInstanceMessages in interface InstanceOrBuilder
    • setInstanceMessages

      public Instance.Builder setInstanceMessages(int index, Instance.InstanceMessage value)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • setInstanceMessages

      public Instance.Builder setInstanceMessages(int index, Instance.InstanceMessage.Builder builderForValue)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • addInstanceMessages

      public Instance.Builder addInstanceMessages(Instance.InstanceMessage value)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • addInstanceMessages

      public Instance.Builder addInstanceMessages(int index, Instance.InstanceMessage value)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • addInstanceMessages

      public Instance.Builder addInstanceMessages(Instance.InstanceMessage.Builder builderForValue)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • addInstanceMessages

      public Instance.Builder addInstanceMessages(int index, Instance.InstanceMessage.Builder builderForValue)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • addAllInstanceMessages

      public Instance.Builder addAllInstanceMessages(Iterable<? extends Instance.InstanceMessage> values)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • clearInstanceMessages

      public Instance.Builder clearInstanceMessages()
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • removeInstanceMessages

      public Instance.Builder removeInstanceMessages(int index)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • getInstanceMessagesBuilder

      public Instance.InstanceMessage.Builder getInstanceMessagesBuilder(int index)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • getInstanceMessagesOrBuilder

      public Instance.InstanceMessageOrBuilder getInstanceMessagesOrBuilder(int index)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
      Specified by:
      getInstanceMessagesOrBuilder in interface InstanceOrBuilder
    • getInstanceMessagesOrBuilderList

      public List<? extends Instance.InstanceMessageOrBuilder> getInstanceMessagesOrBuilderList()
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
      Specified by:
      getInstanceMessagesOrBuilderList in interface InstanceOrBuilder
    • addInstanceMessagesBuilder

      public Instance.InstanceMessage.Builder addInstanceMessagesBuilder()
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • addInstanceMessagesBuilder

      public Instance.InstanceMessage.Builder addInstanceMessagesBuilder(int index)
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • getInstanceMessagesBuilderList

      public List<Instance.InstanceMessage.Builder> getInstanceMessagesBuilderList()
       List of messages that describe the current state of the Memcached instance.
       
      repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
    • getDiscoveryEndpoint

      public String getDiscoveryEndpoint()
       Output only. Endpoint for the Discovery API.
       
      string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDiscoveryEndpoint in interface InstanceOrBuilder
      Returns:
      The discoveryEndpoint.
    • getDiscoveryEndpointBytes

      public com.google.protobuf.ByteString getDiscoveryEndpointBytes()
       Output only. Endpoint for the Discovery API.
       
      string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDiscoveryEndpointBytes in interface InstanceOrBuilder
      Returns:
      The bytes for discoveryEndpoint.
    • setDiscoveryEndpoint

      public Instance.Builder setDiscoveryEndpoint(String value)
       Output only. Endpoint for the Discovery API.
       
      string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The discoveryEndpoint to set.
      Returns:
      This builder for chaining.
    • clearDiscoveryEndpoint

      public Instance.Builder clearDiscoveryEndpoint()
       Output only. Endpoint for the Discovery API.
       
      string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDiscoveryEndpointBytes

      public Instance.Builder setDiscoveryEndpointBytes(com.google.protobuf.ByteString value)
       Output only. Endpoint for the Discovery API.
       
      string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for discoveryEndpoint to set.
      Returns:
      This builder for chaining.
    • getUpdateAvailable

      public boolean getUpdateAvailable()
       Output only. Returns true if there is an update waiting to be applied
       
      bool update_available = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateAvailable in interface InstanceOrBuilder
      Returns:
      The updateAvailable.
    • setUpdateAvailable

      public Instance.Builder setUpdateAvailable(boolean value)
       Output only. Returns true if there is an update waiting to be applied
       
      bool update_available = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The updateAvailable to set.
      Returns:
      This builder for chaining.
    • clearUpdateAvailable

      public Instance.Builder clearUpdateAvailable()
       Output only. Returns true if there is an update waiting to be applied
       
      bool update_available = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasMaintenancePolicy

      public boolean hasMaintenancePolicy()
       The maintenance policy for the instance. If not provided,
       the maintenance event will be performed based on Memorystore
       internal rollout schedule.
       
      .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
      Specified by:
      hasMaintenancePolicy in interface InstanceOrBuilder
      Returns:
      Whether the maintenancePolicy field is set.
    • getMaintenancePolicy

      public MaintenancePolicy getMaintenancePolicy()
       The maintenance policy for the instance. If not provided,
       the maintenance event will be performed based on Memorystore
       internal rollout schedule.
       
      .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
      Specified by:
      getMaintenancePolicy in interface InstanceOrBuilder
      Returns:
      The maintenancePolicy.
    • setMaintenancePolicy

      public Instance.Builder setMaintenancePolicy(MaintenancePolicy value)
       The maintenance policy for the instance. If not provided,
       the maintenance event will be performed based on Memorystore
       internal rollout schedule.
       
      .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
    • setMaintenancePolicy

      public Instance.Builder setMaintenancePolicy(MaintenancePolicy.Builder builderForValue)
       The maintenance policy for the instance. If not provided,
       the maintenance event will be performed based on Memorystore
       internal rollout schedule.
       
      .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
    • mergeMaintenancePolicy

      public Instance.Builder mergeMaintenancePolicy(MaintenancePolicy value)
       The maintenance policy for the instance. If not provided,
       the maintenance event will be performed based on Memorystore
       internal rollout schedule.
       
      .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
    • clearMaintenancePolicy

      public Instance.Builder clearMaintenancePolicy()
       The maintenance policy for the instance. If not provided,
       the maintenance event will be performed based on Memorystore
       internal rollout schedule.
       
      .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
    • getMaintenancePolicyBuilder

      public MaintenancePolicy.Builder getMaintenancePolicyBuilder()
       The maintenance policy for the instance. If not provided,
       the maintenance event will be performed based on Memorystore
       internal rollout schedule.
       
      .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
    • getMaintenancePolicyOrBuilder

      public MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
       The maintenance policy for the instance. If not provided,
       the maintenance event will be performed based on Memorystore
       internal rollout schedule.
       
      .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
      Specified by:
      getMaintenancePolicyOrBuilder in interface InstanceOrBuilder
    • hasMaintenanceSchedule

      public boolean hasMaintenanceSchedule()
       Output only. Published maintenance schedule.
       
      .google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMaintenanceSchedule in interface InstanceOrBuilder
      Returns:
      Whether the maintenanceSchedule field is set.
    • getMaintenanceSchedule

      public MaintenanceSchedule getMaintenanceSchedule()
       Output only. Published maintenance schedule.
       
      .google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceSchedule in interface InstanceOrBuilder
      Returns:
      The maintenanceSchedule.
    • setMaintenanceSchedule

      public Instance.Builder setMaintenanceSchedule(MaintenanceSchedule value)
       Output only. Published maintenance schedule.
       
      .google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMaintenanceSchedule

      public Instance.Builder setMaintenanceSchedule(MaintenanceSchedule.Builder builderForValue)
       Output only. Published maintenance schedule.
       
      .google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeMaintenanceSchedule

      public Instance.Builder mergeMaintenanceSchedule(MaintenanceSchedule value)
       Output only. Published maintenance schedule.
       
      .google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMaintenanceSchedule

      public Instance.Builder clearMaintenanceSchedule()
       Output only. Published maintenance schedule.
       
      .google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceScheduleBuilder

      public MaintenanceSchedule.Builder getMaintenanceScheduleBuilder()
       Output only. Published maintenance schedule.
       
      .google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceScheduleOrBuilder

      public MaintenanceScheduleOrBuilder getMaintenanceScheduleOrBuilder()
       Output only. Published maintenance schedule.
       
      .google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceScheduleOrBuilder in interface InstanceOrBuilder