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.filestore.v1beta1.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 Filestore instance.
 
Protobuf type google.cloud.filestore.v1beta1.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()
       Output only. The resource name of the instance, in the format
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface InstanceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name of the instance, in the format
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface InstanceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Instance.Builder setName(String value)
       Output only. The resource name of the instance, in the format
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Instance.Builder clearName()
       Output only. The resource name of the instance, in the format
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the instance, in the format
       `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       The description of the instance (2048 characters or less).
       
      string description = 2;
      Specified by:
      getDescription in interface InstanceOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The description of the instance (2048 characters or less).
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface InstanceOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Instance.Builder setDescription(String value)
       The description of the instance (2048 characters or less).
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Instance.Builder clearDescription()
       The description of the instance (2048 characters or less).
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Instance.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       The description of the instance (2048 characters or less).
       
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. The instance state.
       
      .google.cloud.filestore.v1beta1.Instance.State state = 5 [(.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 instance state.
       
      .google.cloud.filestore.v1beta1.Instance.State state = 5 [(.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 instance state.
       
      .google.cloud.filestore.v1beta1.Instance.State state = 5 [(.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 instance state.
       
      .google.cloud.filestore.v1beta1.Instance.State state = 5 [(.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 instance state.
       
      .google.cloud.filestore.v1beta1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getStatusMessage

      public String getStatusMessage()
       Output only. Additional information about the instance state, if available.
       
      string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusMessage in interface InstanceOrBuilder
      Returns:
      The statusMessage.
    • getStatusMessageBytes

      public com.google.protobuf.ByteString getStatusMessageBytes()
       Output only. Additional information about the instance state, if available.
       
      string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusMessageBytes in interface InstanceOrBuilder
      Returns:
      The bytes for statusMessage.
    • setStatusMessage

      public Instance.Builder setStatusMessage(String value)
       Output only. Additional information about the instance state, if available.
       
      string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The statusMessage to set.
      Returns:
      This builder for chaining.
    • clearStatusMessage

      public Instance.Builder clearStatusMessage()
       Output only. Additional information about the instance state, if available.
       
      string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setStatusMessageBytes

      public Instance.Builder setStatusMessageBytes(com.google.protobuf.ByteString value)
       Output only. Additional information about the instance state, if available.
       
      string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for statusMessage to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time when the instance was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.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 when the instance was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.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 when the instance was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

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

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

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

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

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

      public int getTierValue()
       The service tier of the instance.
       
      .google.cloud.filestore.v1beta1.Instance.Tier tier = 8;
      Specified by:
      getTierValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for tier.
    • setTierValue

      public Instance.Builder setTierValue(int value)
       The service tier of the instance.
       
      .google.cloud.filestore.v1beta1.Instance.Tier tier = 8;
      Parameters:
      value - The enum numeric value on the wire for tier to set.
      Returns:
      This builder for chaining.
    • getTier

      public Instance.Tier getTier()
       The service tier of the instance.
       
      .google.cloud.filestore.v1beta1.Instance.Tier tier = 8;
      Specified by:
      getTier in interface InstanceOrBuilder
      Returns:
      The tier.
    • setTier

      public Instance.Builder setTier(Instance.Tier value)
       The service tier of the instance.
       
      .google.cloud.filestore.v1beta1.Instance.Tier tier = 8;
      Parameters:
      value - The tier to set.
      Returns:
      This builder for chaining.
    • clearTier

      public Instance.Builder clearTier()
       The service tier of the instance.
       
      .google.cloud.filestore.v1beta1.Instance.Tier tier = 8;
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: InstanceOrBuilder
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsCount in interface InstanceOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
      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.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsMap in interface InstanceOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsOrDefault in interface InstanceOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
      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.
       
      map<string, string> labels = 9;
    • 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.
       
      map<string, string> labels = 9;
    • putAllLabels

      public Instance.Builder putAllLabels(Map<String,String> values)
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
    • getFileSharesList

      public List<FileShareConfig> getFileSharesList()
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
      Specified by:
      getFileSharesList in interface InstanceOrBuilder
    • getFileSharesCount

      public int getFileSharesCount()
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
      Specified by:
      getFileSharesCount in interface InstanceOrBuilder
    • getFileShares

      public FileShareConfig getFileShares(int index)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
      Specified by:
      getFileShares in interface InstanceOrBuilder
    • setFileShares

      public Instance.Builder setFileShares(int index, FileShareConfig value)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • setFileShares

      public Instance.Builder setFileShares(int index, FileShareConfig.Builder builderForValue)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • addFileShares

      public Instance.Builder addFileShares(FileShareConfig value)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • addFileShares

      public Instance.Builder addFileShares(int index, FileShareConfig value)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • addFileShares

      public Instance.Builder addFileShares(FileShareConfig.Builder builderForValue)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • addFileShares

      public Instance.Builder addFileShares(int index, FileShareConfig.Builder builderForValue)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • addAllFileShares

      public Instance.Builder addAllFileShares(Iterable<? extends FileShareConfig> values)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • clearFileShares

      public Instance.Builder clearFileShares()
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • removeFileShares

      public Instance.Builder removeFileShares(int index)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • getFileSharesBuilder

      public FileShareConfig.Builder getFileSharesBuilder(int index)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • getFileSharesOrBuilder

      public FileShareConfigOrBuilder getFileSharesOrBuilder(int index)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
      Specified by:
      getFileSharesOrBuilder in interface InstanceOrBuilder
    • getFileSharesOrBuilderList

      public List<? extends FileShareConfigOrBuilder> getFileSharesOrBuilderList()
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
      Specified by:
      getFileSharesOrBuilderList in interface InstanceOrBuilder
    • addFileSharesBuilder

      public FileShareConfig.Builder addFileSharesBuilder()
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • addFileSharesBuilder

      public FileShareConfig.Builder addFileSharesBuilder(int index)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • getFileSharesBuilderList

      public List<FileShareConfig.Builder> getFileSharesBuilderList()
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • getNetworksList

      public List<NetworkConfig> getNetworksList()
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
      Specified by:
      getNetworksList in interface InstanceOrBuilder
    • getNetworksCount

      public int getNetworksCount()
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
      Specified by:
      getNetworksCount in interface InstanceOrBuilder
    • getNetworks

      public NetworkConfig getNetworks(int index)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
      Specified by:
      getNetworks in interface InstanceOrBuilder
    • setNetworks

      public Instance.Builder setNetworks(int index, NetworkConfig value)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • setNetworks

      public Instance.Builder setNetworks(int index, NetworkConfig.Builder builderForValue)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • addNetworks

      public Instance.Builder addNetworks(NetworkConfig value)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • addNetworks

      public Instance.Builder addNetworks(int index, NetworkConfig value)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • addNetworks

      public Instance.Builder addNetworks(NetworkConfig.Builder builderForValue)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • addNetworks

      public Instance.Builder addNetworks(int index, NetworkConfig.Builder builderForValue)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • addAllNetworks

      public Instance.Builder addAllNetworks(Iterable<? extends NetworkConfig> values)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • clearNetworks

      public Instance.Builder clearNetworks()
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • removeNetworks

      public Instance.Builder removeNetworks(int index)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • getNetworksBuilder

      public NetworkConfig.Builder getNetworksBuilder(int index)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • getNetworksOrBuilder

      public NetworkConfigOrBuilder getNetworksOrBuilder(int index)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
      Specified by:
      getNetworksOrBuilder in interface InstanceOrBuilder
    • getNetworksOrBuilderList

      public List<? extends NetworkConfigOrBuilder> getNetworksOrBuilderList()
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
      Specified by:
      getNetworksOrBuilderList in interface InstanceOrBuilder
    • addNetworksBuilder

      public NetworkConfig.Builder addNetworksBuilder()
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • addNetworksBuilder

      public NetworkConfig.Builder addNetworksBuilder(int index)
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • getNetworksBuilderList

      public List<NetworkConfig.Builder> getNetworksBuilderList()
       VPC networks to which the instance is connected.
       For this version, only a single network is supported.
       
      repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;
    • getEtag

      public String getEtag()
       Server-specified ETag for the instance resource to prevent simultaneous
       updates from overwriting each other.
       
      string etag = 12;
      Specified by:
      getEtag in interface InstanceOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Server-specified ETag for the instance resource to prevent simultaneous
       updates from overwriting each other.
       
      string etag = 12;
      Specified by:
      getEtagBytes in interface InstanceOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public Instance.Builder setEtag(String value)
       Server-specified ETag for the instance resource to prevent simultaneous
       updates from overwriting each other.
       
      string etag = 12;
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public Instance.Builder clearEtag()
       Server-specified ETag for the instance resource to prevent simultaneous
       updates from overwriting each other.
       
      string etag = 12;
      Returns:
      This builder for chaining.
    • setEtagBytes

      public Instance.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Server-specified ETag for the instance resource to prevent simultaneous
       updates from overwriting each other.
       
      string etag = 12;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • hasSatisfiesPzs

      public boolean hasSatisfiesPzs()
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSatisfiesPzs in interface InstanceOrBuilder
      Returns:
      Whether the satisfiesPzs field is set.
    • getSatisfiesPzs

      public com.google.protobuf.BoolValue getSatisfiesPzs()
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzs in interface InstanceOrBuilder
      Returns:
      The satisfiesPzs.
    • setSatisfiesPzs

      public Instance.Builder setSatisfiesPzs(com.google.protobuf.BoolValue value)
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setSatisfiesPzs

      public Instance.Builder setSatisfiesPzs(com.google.protobuf.BoolValue.Builder builderForValue)
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeSatisfiesPzs

      public Instance.Builder mergeSatisfiesPzs(com.google.protobuf.BoolValue value)
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearSatisfiesPzs

      public Instance.Builder clearSatisfiesPzs()
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSatisfiesPzsBuilder

      public com.google.protobuf.BoolValue.Builder getSatisfiesPzsBuilder()
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSatisfiesPzsOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getSatisfiesPzsOrBuilder()
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzsOrBuilder in interface InstanceOrBuilder
    • getSatisfiesPzi

      public boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzi in interface InstanceOrBuilder
      Returns:
      The satisfiesPzi.
    • setSatisfiesPzi

      public Instance.Builder setSatisfiesPzi(boolean value)
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The satisfiesPzi to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzi

      public Instance.Builder clearSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getKmsKeyName

      public String getKmsKeyName()
       KMS key name used for data encryption.
       
      string kms_key_name = 14;
      Specified by:
      getKmsKeyName in interface InstanceOrBuilder
      Returns:
      The kmsKeyName.
    • getKmsKeyNameBytes

      public com.google.protobuf.ByteString getKmsKeyNameBytes()
       KMS key name used for data encryption.
       
      string kms_key_name = 14;
      Specified by:
      getKmsKeyNameBytes in interface InstanceOrBuilder
      Returns:
      The bytes for kmsKeyName.
    • setKmsKeyName

      public Instance.Builder setKmsKeyName(String value)
       KMS key name used for data encryption.
       
      string kms_key_name = 14;
      Parameters:
      value - The kmsKeyName to set.
      Returns:
      This builder for chaining.
    • clearKmsKeyName

      public Instance.Builder clearKmsKeyName()
       KMS key name used for data encryption.
       
      string kms_key_name = 14;
      Returns:
      This builder for chaining.
    • setKmsKeyNameBytes

      public Instance.Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value)
       KMS key name used for data encryption.
       
      string kms_key_name = 14;
      Parameters:
      value - The bytes for kmsKeyName to set.
      Returns:
      This builder for chaining.
    • getSuspensionReasonsList

      public List<Instance.SuspensionReason> getSuspensionReasonsList()
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSuspensionReasonsList in interface InstanceOrBuilder
      Returns:
      A list containing the suspensionReasons.
    • getSuspensionReasonsCount

      public int getSuspensionReasonsCount()
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSuspensionReasonsCount in interface InstanceOrBuilder
      Returns:
      The count of suspensionReasons.
    • getSuspensionReasons

      public Instance.SuspensionReason getSuspensionReasons(int index)
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSuspensionReasons in interface InstanceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The suspensionReasons at the given index.
    • setSuspensionReasons

      public Instance.Builder setSuspensionReasons(int index, Instance.SuspensionReason value)
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The suspensionReasons to set.
      Returns:
      This builder for chaining.
    • addSuspensionReasons

      public Instance.Builder addSuspensionReasons(Instance.SuspensionReason value)
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The suspensionReasons to add.
      Returns:
      This builder for chaining.
    • addAllSuspensionReasons

      public Instance.Builder addAllSuspensionReasons(Iterable<? extends Instance.SuspensionReason> values)
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The suspensionReasons to add.
      Returns:
      This builder for chaining.
    • clearSuspensionReasons

      public Instance.Builder clearSuspensionReasons()
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getSuspensionReasonsValueList

      public List<Integer> getSuspensionReasonsValueList()
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSuspensionReasonsValueList in interface InstanceOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for suspensionReasons.
    • getSuspensionReasonsValue

      public int getSuspensionReasonsValue(int index)
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSuspensionReasonsValue in interface InstanceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of suspensionReasons at the given index.
    • setSuspensionReasonsValue

      public Instance.Builder setSuspensionReasonsValue(int index, int value)
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for suspensionReasons to set.
      Returns:
      This builder for chaining.
    • addSuspensionReasonsValue

      public Instance.Builder addSuspensionReasonsValue(int value)
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for suspensionReasons to add.
      Returns:
      This builder for chaining.
    • addAllSuspensionReasonsValue

      public Instance.Builder addAllSuspensionReasonsValue(Iterable<Integer> values)
       Output only. Field indicates all the reasons the instance is in "SUSPENDED"
       state.
       
      repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The enum numeric values on the wire for suspensionReasons to add.
      Returns:
      This builder for chaining.
    • getMaxCapacityGb

      public long getMaxCapacityGb()
       Output only. The max capacity of the instance.
       
      int64 max_capacity_gb = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaxCapacityGb in interface InstanceOrBuilder
      Returns:
      The maxCapacityGb.
    • setMaxCapacityGb

      public Instance.Builder setMaxCapacityGb(long value)
       Output only. The max capacity of the instance.
       
      int64 max_capacity_gb = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The maxCapacityGb to set.
      Returns:
      This builder for chaining.
    • clearMaxCapacityGb

      public Instance.Builder clearMaxCapacityGb()
       Output only. The max capacity of the instance.
       
      int64 max_capacity_gb = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getCapacityStepSizeGb

      public long getCapacityStepSizeGb()
       Output only. The increase/decrease capacity step size.
       
      int64 capacity_step_size_gb = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCapacityStepSizeGb in interface InstanceOrBuilder
      Returns:
      The capacityStepSizeGb.
    • setCapacityStepSizeGb

      public Instance.Builder setCapacityStepSizeGb(long value)
       Output only. The increase/decrease capacity step size.
       
      int64 capacity_step_size_gb = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The capacityStepSizeGb to set.
      Returns:
      This builder for chaining.
    • clearCapacityStepSizeGb

      public Instance.Builder clearCapacityStepSizeGb()
       Output only. The increase/decrease capacity step size.
       
      int64 capacity_step_size_gb = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMaxShareCount

      public long getMaxShareCount()
       The max number of shares allowed.
       
      int64 max_share_count = 18;
      Specified by:
      getMaxShareCount in interface InstanceOrBuilder
      Returns:
      The maxShareCount.
    • setMaxShareCount

      public Instance.Builder setMaxShareCount(long value)
       The max number of shares allowed.
       
      int64 max_share_count = 18;
      Parameters:
      value - The maxShareCount to set.
      Returns:
      This builder for chaining.
    • clearMaxShareCount

      public Instance.Builder clearMaxShareCount()
       The max number of shares allowed.
       
      int64 max_share_count = 18;
      Returns:
      This builder for chaining.
    • getCapacityGb

      public long getCapacityGb()
       The storage capacity of the instance in gigabytes (GB = 1024^3 bytes).
       This capacity can be increased up to `max_capacity_gb` GB in multipliers
       of `capacity_step_size_gb` GB.
       
      int64 capacity_gb = 19;
      Specified by:
      getCapacityGb in interface InstanceOrBuilder
      Returns:
      The capacityGb.
    • setCapacityGb

      public Instance.Builder setCapacityGb(long value)
       The storage capacity of the instance in gigabytes (GB = 1024^3 bytes).
       This capacity can be increased up to `max_capacity_gb` GB in multipliers
       of `capacity_step_size_gb` GB.
       
      int64 capacity_gb = 19;
      Parameters:
      value - The capacityGb to set.
      Returns:
      This builder for chaining.
    • clearCapacityGb

      public Instance.Builder clearCapacityGb()
       The storage capacity of the instance in gigabytes (GB = 1024^3 bytes).
       This capacity can be increased up to `max_capacity_gb` GB in multipliers
       of `capacity_step_size_gb` GB.
       
      int64 capacity_gb = 19;
      Returns:
      This builder for chaining.
    • getMultiShareEnabled

      public boolean getMultiShareEnabled()
       Indicates whether this instance uses a multi-share configuration with which
       it can have more than one file-share or none at all. File-shares are added,
       updated and removed through the separate file-share APIs.
       
      bool multi_share_enabled = 20;
      Specified by:
      getMultiShareEnabled in interface InstanceOrBuilder
      Returns:
      The multiShareEnabled.
    • setMultiShareEnabled

      public Instance.Builder setMultiShareEnabled(boolean value)
       Indicates whether this instance uses a multi-share configuration with which
       it can have more than one file-share or none at all. File-shares are added,
       updated and removed through the separate file-share APIs.
       
      bool multi_share_enabled = 20;
      Parameters:
      value - The multiShareEnabled to set.
      Returns:
      This builder for chaining.
    • clearMultiShareEnabled

      public Instance.Builder clearMultiShareEnabled()
       Indicates whether this instance uses a multi-share configuration with which
       it can have more than one file-share or none at all. File-shares are added,
       updated and removed through the separate file-share APIs.
       
      bool multi_share_enabled = 20;
      Returns:
      This builder for chaining.
    • getProtocolValue

      public int getProtocolValue()
       Immutable. The protocol indicates the access protocol for all shares in the
       instance. This field is immutable and it cannot be changed after the
       instance has been created. Default value: `NFS_V3`.
       
      .google.cloud.filestore.v1beta1.Instance.FileProtocol protocol = 21 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getProtocolValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for protocol.
    • setProtocolValue

      public Instance.Builder setProtocolValue(int value)
       Immutable. The protocol indicates the access protocol for all shares in the
       instance. This field is immutable and it cannot be changed after the
       instance has been created. Default value: `NFS_V3`.
       
      .google.cloud.filestore.v1beta1.Instance.FileProtocol protocol = 21 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for protocol to set.
      Returns:
      This builder for chaining.
    • getProtocol

      public Instance.FileProtocol getProtocol()
       Immutable. The protocol indicates the access protocol for all shares in the
       instance. This field is immutable and it cannot be changed after the
       instance has been created. Default value: `NFS_V3`.
       
      .google.cloud.filestore.v1beta1.Instance.FileProtocol protocol = 21 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getProtocol in interface InstanceOrBuilder
      Returns:
      The protocol.
    • setProtocol

      public Instance.Builder setProtocol(Instance.FileProtocol value)
       Immutable. The protocol indicates the access protocol for all shares in the
       instance. This field is immutable and it cannot be changed after the
       instance has been created. Default value: `NFS_V3`.
       
      .google.cloud.filestore.v1beta1.Instance.FileProtocol protocol = 21 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The protocol to set.
      Returns:
      This builder for chaining.
    • clearProtocol

      public Instance.Builder clearProtocol()
       Immutable. The protocol indicates the access protocol for all shares in the
       instance. This field is immutable and it cannot be changed after the
       instance has been created. Default value: `NFS_V3`.
       
      .google.cloud.filestore.v1beta1.Instance.FileProtocol protocol = 21 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • hasDirectoryServices

      public boolean hasDirectoryServices()
       Optional. Directory Services configuration for Kerberos-based
       authentication. Should only be set if protocol is "NFS_V4_1".
       
      .google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDirectoryServices in interface InstanceOrBuilder
      Returns:
      Whether the directoryServices field is set.
    • getDirectoryServices

      public DirectoryServicesConfig getDirectoryServices()
       Optional. Directory Services configuration for Kerberos-based
       authentication. Should only be set if protocol is "NFS_V4_1".
       
      .google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDirectoryServices in interface InstanceOrBuilder
      Returns:
      The directoryServices.
    • setDirectoryServices

      public Instance.Builder setDirectoryServices(DirectoryServicesConfig value)
       Optional. Directory Services configuration for Kerberos-based
       authentication. Should only be set if protocol is "NFS_V4_1".
       
      .google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];
    • setDirectoryServices

      public Instance.Builder setDirectoryServices(DirectoryServicesConfig.Builder builderForValue)
       Optional. Directory Services configuration for Kerberos-based
       authentication. Should only be set if protocol is "NFS_V4_1".
       
      .google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDirectoryServices

      public Instance.Builder mergeDirectoryServices(DirectoryServicesConfig value)
       Optional. Directory Services configuration for Kerberos-based
       authentication. Should only be set if protocol is "NFS_V4_1".
       
      .google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];
    • clearDirectoryServices

      public Instance.Builder clearDirectoryServices()
       Optional. Directory Services configuration for Kerberos-based
       authentication. Should only be set if protocol is "NFS_V4_1".
       
      .google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];
    • getDirectoryServicesBuilder

      public DirectoryServicesConfig.Builder getDirectoryServicesBuilder()
       Optional. Directory Services configuration for Kerberos-based
       authentication. Should only be set if protocol is "NFS_V4_1".
       
      .google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];
    • getDirectoryServicesOrBuilder

      public DirectoryServicesConfigOrBuilder getDirectoryServicesOrBuilder()
       Optional. Directory Services configuration for Kerberos-based
       authentication. Should only be set if protocol is "NFS_V4_1".
       
      .google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDirectoryServicesOrBuilder in interface InstanceOrBuilder
    • hasReplication

      public boolean hasReplication()
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasReplication in interface InstanceOrBuilder
      Returns:
      Whether the replication field is set.
    • getReplication

      public Replication getReplication()
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReplication in interface InstanceOrBuilder
      Returns:
      The replication.
    • setReplication

      public Instance.Builder setReplication(Replication value)
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
    • setReplication

      public Instance.Builder setReplication(Replication.Builder builderForValue)
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
    • mergeReplication

      public Instance.Builder mergeReplication(Replication value)
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
    • clearReplication

      public Instance.Builder clearReplication()
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
    • getReplicationBuilder

      public Replication.Builder getReplicationBuilder()
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
    • getReplicationOrBuilder

      public ReplicationOrBuilder getReplicationOrBuilder()
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReplicationOrBuilder in interface InstanceOrBuilder
    • getTagsCount

      public int getTagsCount()
      Description copied from interface: InstanceOrBuilder
       Optional. Input only. Immutable. Tag key-value pairs bound to this
       resource. Each key must be a namespaced name and each value a short name.
       Example:
       "123456789012/environment" : "production",
       "123456789013/costCenter" : "marketing"
       See the documentation for more information:
       - Namespaced name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
       - Short name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
       
      map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTagsCount in interface InstanceOrBuilder
    • containsTags

      public boolean containsTags(String key)
       Optional. Input only. Immutable. Tag key-value pairs bound to this
       resource. Each key must be a namespaced name and each value a short name.
       Example:
       "123456789012/environment" : "production",
       "123456789013/costCenter" : "marketing"
       See the documentation for more information:
       - Namespaced name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
       - Short name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
       
      map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsTags in interface InstanceOrBuilder
    • getTags

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

      public Map<String,String> getTagsMap()
       Optional. Input only. Immutable. Tag key-value pairs bound to this
       resource. Each key must be a namespaced name and each value a short name.
       Example:
       "123456789012/environment" : "production",
       "123456789013/costCenter" : "marketing"
       See the documentation for more information:
       - Namespaced name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
       - Short name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
       
      map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTagsMap in interface InstanceOrBuilder
    • getTagsOrDefault

      public String getTagsOrDefault(String key, String defaultValue)
       Optional. Input only. Immutable. Tag key-value pairs bound to this
       resource. Each key must be a namespaced name and each value a short name.
       Example:
       "123456789012/environment" : "production",
       "123456789013/costCenter" : "marketing"
       See the documentation for more information:
       - Namespaced name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
       - Short name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
       
      map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTagsOrDefault in interface InstanceOrBuilder
    • getTagsOrThrow

      public String getTagsOrThrow(String key)
       Optional. Input only. Immutable. Tag key-value pairs bound to this
       resource. Each key must be a namespaced name and each value a short name.
       Example:
       "123456789012/environment" : "production",
       "123456789013/costCenter" : "marketing"
       See the documentation for more information:
       - Namespaced name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
       - Short name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
       
      map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTagsOrThrow in interface InstanceOrBuilder
    • clearTags

      public Instance.Builder clearTags()
    • removeTags

      public Instance.Builder removeTags(String key)
       Optional. Input only. Immutable. Tag key-value pairs bound to this
       resource. Each key must be a namespaced name and each value a short name.
       Example:
       "123456789012/environment" : "production",
       "123456789013/costCenter" : "marketing"
       See the documentation for more information:
       - Namespaced name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
       - Short name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
       
      map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
    • getMutableTags

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

      public Instance.Builder putTags(String key, String value)
       Optional. Input only. Immutable. Tag key-value pairs bound to this
       resource. Each key must be a namespaced name and each value a short name.
       Example:
       "123456789012/environment" : "production",
       "123456789013/costCenter" : "marketing"
       See the documentation for more information:
       - Namespaced name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
       - Short name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
       
      map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
    • putAllTags

      public Instance.Builder putAllTags(Map<String,String> values)
       Optional. Input only. Immutable. Tag key-value pairs bound to this
       resource. Each key must be a namespaced name and each value a short name.
       Example:
       "123456789012/environment" : "production",
       "123456789013/costCenter" : "marketing"
       See the documentation for more information:
       - Namespaced name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key
       - Short name:
       https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
       
      map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
    • getCustomPerformanceSupported

      public boolean getCustomPerformanceSupported()
       Output only. Indicates whether this instance supports configuring its
       performance. If true, the user can configure the instance's performance by
       using the 'performance_config' field.
       
      bool custom_performance_supported = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomPerformanceSupported in interface InstanceOrBuilder
      Returns:
      The customPerformanceSupported.
    • setCustomPerformanceSupported

      public Instance.Builder setCustomPerformanceSupported(boolean value)
       Output only. Indicates whether this instance supports configuring its
       performance. If true, the user can configure the instance's performance by
       using the 'performance_config' field.
       
      bool custom_performance_supported = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The customPerformanceSupported to set.
      Returns:
      This builder for chaining.
    • clearCustomPerformanceSupported

      public Instance.Builder clearCustomPerformanceSupported()
       Output only. Indicates whether this instance supports configuring its
       performance. If true, the user can configure the instance's performance by
       using the 'performance_config' field.
       
      bool custom_performance_supported = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasPerformanceConfig

      public boolean hasPerformanceConfig()
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPerformanceConfig in interface InstanceOrBuilder
      Returns:
      Whether the performanceConfig field is set.
    • getPerformanceConfig

      public Instance.PerformanceConfig getPerformanceConfig()
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPerformanceConfig in interface InstanceOrBuilder
      Returns:
      The performanceConfig.
    • setPerformanceConfig

      public Instance.Builder setPerformanceConfig(Instance.PerformanceConfig value)
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • setPerformanceConfig

      public Instance.Builder setPerformanceConfig(Instance.PerformanceConfig.Builder builderForValue)
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • mergePerformanceConfig

      public Instance.Builder mergePerformanceConfig(Instance.PerformanceConfig value)
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • clearPerformanceConfig

      public Instance.Builder clearPerformanceConfig()
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • getPerformanceConfigBuilder

      public Instance.PerformanceConfig.Builder getPerformanceConfigBuilder()
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • getPerformanceConfigOrBuilder

      public Instance.PerformanceConfigOrBuilder getPerformanceConfigOrBuilder()
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPerformanceConfigOrBuilder in interface InstanceOrBuilder
    • hasPerformanceLimits

      public boolean hasPerformanceLimits()
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPerformanceLimits in interface InstanceOrBuilder
      Returns:
      Whether the performanceLimits field is set.
    • getPerformanceLimits

      public Instance.PerformanceLimits getPerformanceLimits()
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceLimits in interface InstanceOrBuilder
      Returns:
      The performanceLimits.
    • setPerformanceLimits

      public Instance.Builder setPerformanceLimits(Instance.PerformanceLimits value)
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPerformanceLimits

      public Instance.Builder setPerformanceLimits(Instance.PerformanceLimits.Builder builderForValue)
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergePerformanceLimits

      public Instance.Builder mergePerformanceLimits(Instance.PerformanceLimits value)
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPerformanceLimits

      public Instance.Builder clearPerformanceLimits()
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPerformanceLimitsBuilder

      public Instance.PerformanceLimits.Builder getPerformanceLimitsBuilder()
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPerformanceLimitsOrBuilder

      public Instance.PerformanceLimitsOrBuilder getPerformanceLimitsOrBuilder()
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceLimitsOrBuilder in interface InstanceOrBuilder
    • getDeletionProtectionEnabled

      public boolean getDeletionProtectionEnabled()
       Optional. Indicates whether the instance is protected against deletion.
       
      bool deletion_protection_enabled = 31 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeletionProtectionEnabled in interface InstanceOrBuilder
      Returns:
      The deletionProtectionEnabled.
    • setDeletionProtectionEnabled

      public Instance.Builder setDeletionProtectionEnabled(boolean value)
       Optional. Indicates whether the instance is protected against deletion.
       
      bool deletion_protection_enabled = 31 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The deletionProtectionEnabled to set.
      Returns:
      This builder for chaining.
    • clearDeletionProtectionEnabled

      public Instance.Builder clearDeletionProtectionEnabled()
       Optional. Indicates whether the instance is protected against deletion.
       
      bool deletion_protection_enabled = 31 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getDeletionProtectionReason

      public String getDeletionProtectionReason()
       Optional. The reason for enabling deletion protection.
       
      string deletion_protection_reason = 32 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeletionProtectionReason in interface InstanceOrBuilder
      Returns:
      The deletionProtectionReason.
    • getDeletionProtectionReasonBytes

      public com.google.protobuf.ByteString getDeletionProtectionReasonBytes()
       Optional. The reason for enabling deletion protection.
       
      string deletion_protection_reason = 32 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeletionProtectionReasonBytes in interface InstanceOrBuilder
      Returns:
      The bytes for deletionProtectionReason.
    • setDeletionProtectionReason

      public Instance.Builder setDeletionProtectionReason(String value)
       Optional. The reason for enabling deletion protection.
       
      string deletion_protection_reason = 32 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The deletionProtectionReason to set.
      Returns:
      This builder for chaining.
    • clearDeletionProtectionReason

      public Instance.Builder clearDeletionProtectionReason()
       Optional. The reason for enabling deletion protection.
       
      string deletion_protection_reason = 32 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDeletionProtectionReasonBytes

      public Instance.Builder setDeletionProtectionReasonBytes(com.google.protobuf.ByteString value)
       Optional. The reason for enabling deletion protection.
       
      string deletion_protection_reason = 32 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for deletionProtectionReason to set.
      Returns:
      This builder for chaining.