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.securesourcemanager.v1.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 resource that represents a Secure Source Manager instance.
 
Protobuf type google.cloud.securesourcemanager.v1.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()
       Identifier. A unique identifier for an instance. The name should be of the
       format:
       `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
      
       `project_number`: Maps to a unique int64 id assigned to each project.
      
       `location_id`: Refers to the region where the instance will be deployed.
       Since Secure Source Manager is a regional service, it must be one of the
       valid GCP regions.
      
       `instance_id`: User provided name for the instance, must be unique for a
       project_number and location_id combination.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface InstanceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. A unique identifier for an instance. The name should be of the
       format:
       `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
      
       `project_number`: Maps to a unique int64 id assigned to each project.
      
       `location_id`: Refers to the region where the instance will be deployed.
       Since Secure Source Manager is a regional service, it must be one of the
       valid GCP regions.
      
       `instance_id`: User provided name for the instance, must be unique for a
       project_number and location_id combination.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface InstanceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Instance.Builder setName(String value)
       Identifier. A unique identifier for an instance. The name should be of the
       format:
       `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
      
       `project_number`: Maps to a unique int64 id assigned to each project.
      
       `location_id`: Refers to the region where the instance will be deployed.
       Since Secure Source Manager is a regional service, it must be one of the
       valid GCP regions.
      
       `instance_id`: User provided name for the instance, must be unique for a
       project_number and location_id combination.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Instance.Builder clearName()
       Identifier. A unique identifier for an instance. The name should be of the
       format:
       `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
      
       `project_number`: Maps to a unique int64 id assigned to each project.
      
       `location_id`: Refers to the region where the instance will be deployed.
       Since Secure Source Manager is a regional service, it must be one of the
       valid GCP regions.
      
       `instance_id`: User provided name for the instance, must be unique for a
       project_number and location_id combination.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. A unique identifier for an instance. The name should be of the
       format:
       `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
      
       `project_number`: Maps to a unique int64 id assigned to each project.
      
       `location_id`: Refers to the region where the instance will be deployed.
       Since Secure Source Manager is a regional service, it must be one of the
       valid GCP regions.
      
       `instance_id`: User provided name for the instance, must be unique for a
       project_number and location_id combination.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.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. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.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. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Instance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Instance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Instance.Builder clearCreateTime()
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Create timestamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface InstanceOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.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. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.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. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Instance.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Instance.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Instance.Builder clearUpdateTime()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface InstanceOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: InstanceOrBuilder
       Optional. Labels as key value pairs.
       Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       For more information, see [Requirements for
       labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface InstanceOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Labels as key value pairs.
       Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       For more information, see [Requirements for
       labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      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()
       Optional. Labels as key value pairs.
       Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       For more information, see [Requirements for
       labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface InstanceOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels as key value pairs.
       Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       For more information, see [Requirements for
       labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface InstanceOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Labels as key value pairs.
       Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       For more information, see [Requirements for
       labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface InstanceOrBuilder
    • clearLabels

      public Instance.Builder clearLabels()
    • removeLabels

      public Instance.Builder removeLabels(String key)
       Optional. Labels as key value pairs.
       Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       For more information, see [Requirements for
       labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

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

      public Instance.Builder putLabels(String key, String value)
       Optional. Labels as key value pairs.
       Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       For more information, see [Requirements for
       labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Instance.Builder putAllLabels(Map<String,String> values)
       Optional. Labels as key value pairs.
       Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       For more information, see [Requirements for
       labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasPrivateConfig

      public boolean hasPrivateConfig()
       Optional. Private settings for private instance.
       
      .google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPrivateConfig in interface InstanceOrBuilder
      Returns:
      Whether the privateConfig field is set.
    • getPrivateConfig

      public Instance.PrivateConfig getPrivateConfig()
       Optional. Private settings for private instance.
       
      .google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPrivateConfig in interface InstanceOrBuilder
      Returns:
      The privateConfig.
    • setPrivateConfig

      public Instance.Builder setPrivateConfig(Instance.PrivateConfig value)
       Optional. Private settings for private instance.
       
      .google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
    • setPrivateConfig

      public Instance.Builder setPrivateConfig(Instance.PrivateConfig.Builder builderForValue)
       Optional. Private settings for private instance.
       
      .google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
    • mergePrivateConfig

      public Instance.Builder mergePrivateConfig(Instance.PrivateConfig value)
       Optional. Private settings for private instance.
       
      .google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
    • clearPrivateConfig

      public Instance.Builder clearPrivateConfig()
       Optional. Private settings for private instance.
       
      .google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getPrivateConfigBuilder

      public Instance.PrivateConfig.Builder getPrivateConfigBuilder()
       Optional. Private settings for private instance.
       
      .google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getPrivateConfigOrBuilder

      public Instance.PrivateConfigOrBuilder getPrivateConfigOrBuilder()
       Optional. Private settings for private instance.
       
      .google.cloud.securesourcemanager.v1.Instance.PrivateConfig private_config = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPrivateConfigOrBuilder in interface InstanceOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. Current state of the instance.
       
      .google.cloud.securesourcemanager.v1.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. Current state of the instance.
       
      .google.cloud.securesourcemanager.v1.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. Current state of the instance.
       
      .google.cloud.securesourcemanager.v1.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. Current state of the instance.
       
      .google.cloud.securesourcemanager.v1.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. Current state of the instance.
       
      .google.cloud.securesourcemanager.v1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getStateNoteValue

      public int getStateNoteValue()
       Output only. An optional field providing information about the current
       instance state.
       
      .google.cloud.securesourcemanager.v1.Instance.StateNote state_note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateNoteValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for stateNote.
    • setStateNoteValue

      public Instance.Builder setStateNoteValue(int value)
       Output only. An optional field providing information about the current
       instance state.
       
      .google.cloud.securesourcemanager.v1.Instance.StateNote state_note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for stateNote to set.
      Returns:
      This builder for chaining.
    • getStateNote

      public Instance.StateNote getStateNote()
       Output only. An optional field providing information about the current
       instance state.
       
      .google.cloud.securesourcemanager.v1.Instance.StateNote state_note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateNote in interface InstanceOrBuilder
      Returns:
      The stateNote.
    • setStateNote

      public Instance.Builder setStateNote(Instance.StateNote value)
       Output only. An optional field providing information about the current
       instance state.
       
      .google.cloud.securesourcemanager.v1.Instance.StateNote state_note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The stateNote to set.
      Returns:
      This builder for chaining.
    • clearStateNote

      public Instance.Builder clearStateNote()
       Output only. An optional field providing information about the current
       instance state.
       
      .google.cloud.securesourcemanager.v1.Instance.StateNote state_note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getKmsKey

      public String getKmsKey()
       Optional. Immutable. Customer-managed encryption key name, in the format
       projects/*/locations/*/keyRings/*/cryptoKeys/*.
       
      string kms_key = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getKmsKey in interface InstanceOrBuilder
      Returns:
      The kmsKey.
    • getKmsKeyBytes

      public com.google.protobuf.ByteString getKmsKeyBytes()
       Optional. Immutable. Customer-managed encryption key name, in the format
       projects/*/locations/*/keyRings/*/cryptoKeys/*.
       
      string kms_key = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getKmsKeyBytes in interface InstanceOrBuilder
      Returns:
      The bytes for kmsKey.
    • setKmsKey

      public Instance.Builder setKmsKey(String value)
       Optional. Immutable. Customer-managed encryption key name, in the format
       projects/*/locations/*/keyRings/*/cryptoKeys/*.
       
      string kms_key = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The kmsKey to set.
      Returns:
      This builder for chaining.
    • clearKmsKey

      public Instance.Builder clearKmsKey()
       Optional. Immutable. Customer-managed encryption key name, in the format
       projects/*/locations/*/keyRings/*/cryptoKeys/*.
       
      string kms_key = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setKmsKeyBytes

      public Instance.Builder setKmsKeyBytes(com.google.protobuf.ByteString value)
       Optional. Immutable. Customer-managed encryption key name, in the format
       projects/*/locations/*/keyRings/*/cryptoKeys/*.
       
      string kms_key = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for kmsKey to set.
      Returns:
      This builder for chaining.
    • hasHostConfig

      public boolean hasHostConfig()
       Output only. A list of hostnames for this instance.
       
      .google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasHostConfig in interface InstanceOrBuilder
      Returns:
      Whether the hostConfig field is set.
    • getHostConfig

      public Instance.HostConfig getHostConfig()
       Output only. A list of hostnames for this instance.
       
      .google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHostConfig in interface InstanceOrBuilder
      Returns:
      The hostConfig.
    • setHostConfig

      public Instance.Builder setHostConfig(Instance.HostConfig value)
       Output only. A list of hostnames for this instance.
       
      .google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setHostConfig

      public Instance.Builder setHostConfig(Instance.HostConfig.Builder builderForValue)
       Output only. A list of hostnames for this instance.
       
      .google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeHostConfig

      public Instance.Builder mergeHostConfig(Instance.HostConfig value)
       Output only. A list of hostnames for this instance.
       
      .google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearHostConfig

      public Instance.Builder clearHostConfig()
       Output only. A list of hostnames for this instance.
       
      .google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getHostConfigBuilder

      public Instance.HostConfig.Builder getHostConfigBuilder()
       Output only. A list of hostnames for this instance.
       
      .google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getHostConfigOrBuilder

      public Instance.HostConfigOrBuilder getHostConfigOrBuilder()
       Output only. A list of hostnames for this instance.
       
      .google.cloud.securesourcemanager.v1.Instance.HostConfig host_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHostConfigOrBuilder in interface InstanceOrBuilder
    • hasWorkforceIdentityFederationConfig

      public boolean hasWorkforceIdentityFederationConfig()
       Optional. Configuration for Workforce Identity Federation to support
       third party identity provider. If unset, defaults to the Google OIDC IdP.
       
      .google.cloud.securesourcemanager.v1.Instance.WorkforceIdentityFederationConfig workforce_identity_federation_config = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasWorkforceIdentityFederationConfig in interface InstanceOrBuilder
      Returns:
      Whether the workforceIdentityFederationConfig field is set.
    • getWorkforceIdentityFederationConfig

      public Instance.WorkforceIdentityFederationConfig getWorkforceIdentityFederationConfig()
       Optional. Configuration for Workforce Identity Federation to support
       third party identity provider. If unset, defaults to the Google OIDC IdP.
       
      .google.cloud.securesourcemanager.v1.Instance.WorkforceIdentityFederationConfig workforce_identity_federation_config = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWorkforceIdentityFederationConfig in interface InstanceOrBuilder
      Returns:
      The workforceIdentityFederationConfig.
    • setWorkforceIdentityFederationConfig

      public Instance.Builder setWorkforceIdentityFederationConfig(Instance.WorkforceIdentityFederationConfig value)
       Optional. Configuration for Workforce Identity Federation to support
       third party identity provider. If unset, defaults to the Google OIDC IdP.
       
      .google.cloud.securesourcemanager.v1.Instance.WorkforceIdentityFederationConfig workforce_identity_federation_config = 14 [(.google.api.field_behavior) = OPTIONAL];
    • setWorkforceIdentityFederationConfig

      public Instance.Builder setWorkforceIdentityFederationConfig(Instance.WorkforceIdentityFederationConfig.Builder builderForValue)
       Optional. Configuration for Workforce Identity Federation to support
       third party identity provider. If unset, defaults to the Google OIDC IdP.
       
      .google.cloud.securesourcemanager.v1.Instance.WorkforceIdentityFederationConfig workforce_identity_federation_config = 14 [(.google.api.field_behavior) = OPTIONAL];
    • mergeWorkforceIdentityFederationConfig

      public Instance.Builder mergeWorkforceIdentityFederationConfig(Instance.WorkforceIdentityFederationConfig value)
       Optional. Configuration for Workforce Identity Federation to support
       third party identity provider. If unset, defaults to the Google OIDC IdP.
       
      .google.cloud.securesourcemanager.v1.Instance.WorkforceIdentityFederationConfig workforce_identity_federation_config = 14 [(.google.api.field_behavior) = OPTIONAL];
    • clearWorkforceIdentityFederationConfig

      public Instance.Builder clearWorkforceIdentityFederationConfig()
       Optional. Configuration for Workforce Identity Federation to support
       third party identity provider. If unset, defaults to the Google OIDC IdP.
       
      .google.cloud.securesourcemanager.v1.Instance.WorkforceIdentityFederationConfig workforce_identity_federation_config = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getWorkforceIdentityFederationConfigBuilder

      public Instance.WorkforceIdentityFederationConfig.Builder getWorkforceIdentityFederationConfigBuilder()
       Optional. Configuration for Workforce Identity Federation to support
       third party identity provider. If unset, defaults to the Google OIDC IdP.
       
      .google.cloud.securesourcemanager.v1.Instance.WorkforceIdentityFederationConfig workforce_identity_federation_config = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getWorkforceIdentityFederationConfigOrBuilder

      public Instance.WorkforceIdentityFederationConfigOrBuilder getWorkforceIdentityFederationConfigOrBuilder()
       Optional. Configuration for Workforce Identity Federation to support
       third party identity provider. If unset, defaults to the Google OIDC IdP.
       
      .google.cloud.securesourcemanager.v1.Instance.WorkforceIdentityFederationConfig workforce_identity_federation_config = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWorkforceIdentityFederationConfigOrBuilder in interface InstanceOrBuilder