Class OrchestrationCluster.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OrchestrationCluster.Builder>
com.google.cloud.telcoautomation.v1.OrchestrationCluster.Builder
All Implemented Interfaces:
OrchestrationClusterOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
OrchestrationCluster

public static final class OrchestrationCluster.Builder extends com.google.protobuf.GeneratedMessage.Builder<OrchestrationCluster.Builder> implements OrchestrationClusterOrBuilder
 Orchestration cluster represents a GKE cluster with config controller and
 TNA specific components installed on it.
 
Protobuf type google.cloud.telcoautomation.v1.OrchestrationCluster
  • 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<OrchestrationCluster.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<OrchestrationCluster.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<OrchestrationCluster.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<OrchestrationCluster.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

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

      public String getName()
       Name of the orchestration cluster. The name of orchestration cluster cannot
       be more than 24 characters.
       
      string name = 1;
      Specified by:
      getName in interface OrchestrationClusterOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the orchestration cluster. The name of orchestration cluster cannot
       be more than 24 characters.
       
      string name = 1;
      Specified by:
      getNameBytes in interface OrchestrationClusterOrBuilder
      Returns:
      The bytes for name.
    • setName

      public OrchestrationCluster.Builder setName(String value)
       Name of the orchestration cluster. The name of orchestration cluster cannot
       be more than 24 characters.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public OrchestrationCluster.Builder clearName()
       Name of the orchestration cluster. The name of orchestration cluster cannot
       be more than 24 characters.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public OrchestrationCluster.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the orchestration cluster. The name of orchestration cluster cannot
       be more than 24 characters.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasManagementConfig

      public boolean hasManagementConfig()
       Management configuration of the underlying GKE cluster.
       
      .google.cloud.telcoautomation.v1.ManagementConfig management_config = 5;
      Specified by:
      hasManagementConfig in interface OrchestrationClusterOrBuilder
      Returns:
      Whether the managementConfig field is set.
    • getManagementConfig

      public ManagementConfig getManagementConfig()
       Management configuration of the underlying GKE cluster.
       
      .google.cloud.telcoautomation.v1.ManagementConfig management_config = 5;
      Specified by:
      getManagementConfig in interface OrchestrationClusterOrBuilder
      Returns:
      The managementConfig.
    • setManagementConfig

      public OrchestrationCluster.Builder setManagementConfig(ManagementConfig value)
       Management configuration of the underlying GKE cluster.
       
      .google.cloud.telcoautomation.v1.ManagementConfig management_config = 5;
    • setManagementConfig

      public OrchestrationCluster.Builder setManagementConfig(ManagementConfig.Builder builderForValue)
       Management configuration of the underlying GKE cluster.
       
      .google.cloud.telcoautomation.v1.ManagementConfig management_config = 5;
    • mergeManagementConfig

      public OrchestrationCluster.Builder mergeManagementConfig(ManagementConfig value)
       Management configuration of the underlying GKE cluster.
       
      .google.cloud.telcoautomation.v1.ManagementConfig management_config = 5;
    • clearManagementConfig

      public OrchestrationCluster.Builder clearManagementConfig()
       Management configuration of the underlying GKE cluster.
       
      .google.cloud.telcoautomation.v1.ManagementConfig management_config = 5;
    • getManagementConfigBuilder

      public ManagementConfig.Builder getManagementConfigBuilder()
       Management configuration of the underlying GKE cluster.
       
      .google.cloud.telcoautomation.v1.ManagementConfig management_config = 5;
    • getManagementConfigOrBuilder

      public ManagementConfigOrBuilder getManagementConfigOrBuilder()
       Management configuration of the underlying GKE cluster.
       
      .google.cloud.telcoautomation.v1.ManagementConfig management_config = 5;
      Specified by:
      getManagementConfigOrBuilder in interface OrchestrationClusterOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. [Output only] Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface OrchestrationClusterOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. [Output only] Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface OrchestrationClusterOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public OrchestrationCluster.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. [Output only] Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

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

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

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

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

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

      public boolean hasUpdateTime()
       Output only. [Output only] Update time stamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface OrchestrationClusterOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. [Output only] Update time stamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface OrchestrationClusterOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public OrchestrationCluster.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. [Output only] Update time stamp.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

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

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

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

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

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

      public int getLabelsCount()
      Description copied from interface: OrchestrationClusterOrBuilder
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface OrchestrationClusterOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface OrchestrationClusterOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface OrchestrationClusterOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface OrchestrationClusterOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow in interface OrchestrationClusterOrBuilder
    • clearLabels

      public OrchestrationCluster.Builder clearLabels()
    • removeLabels

      public OrchestrationCluster.Builder removeLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
    • getMutableLabels

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

      public OrchestrationCluster.Builder putLabels(String key, String value)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
    • putAllLabels

      public OrchestrationCluster.Builder putAllLabels(Map<String,String> values)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
    • getTnaVersion

      public String getTnaVersion()
       Output only. Provides the TNA version installed on the cluster.
       
      string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTnaVersion in interface OrchestrationClusterOrBuilder
      Returns:
      The tnaVersion.
    • getTnaVersionBytes

      public com.google.protobuf.ByteString getTnaVersionBytes()
       Output only. Provides the TNA version installed on the cluster.
       
      string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTnaVersionBytes in interface OrchestrationClusterOrBuilder
      Returns:
      The bytes for tnaVersion.
    • setTnaVersion

      public OrchestrationCluster.Builder setTnaVersion(String value)
       Output only. Provides the TNA version installed on the cluster.
       
      string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The tnaVersion to set.
      Returns:
      This builder for chaining.
    • clearTnaVersion

      public OrchestrationCluster.Builder clearTnaVersion()
       Output only. Provides the TNA version installed on the cluster.
       
      string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTnaVersionBytes

      public OrchestrationCluster.Builder setTnaVersionBytes(com.google.protobuf.ByteString value)
       Output only. Provides the TNA version installed on the cluster.
       
      string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for tnaVersion to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. State of the Orchestration Cluster.
       
      .google.cloud.telcoautomation.v1.OrchestrationCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface OrchestrationClusterOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public OrchestrationCluster.Builder setStateValue(int value)
       Output only. State of the Orchestration Cluster.
       
      .google.cloud.telcoautomation.v1.OrchestrationCluster.State state = 7 [(.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 OrchestrationCluster.State getState()
       Output only. State of the Orchestration Cluster.
       
      .google.cloud.telcoautomation.v1.OrchestrationCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface OrchestrationClusterOrBuilder
      Returns:
      The state.
    • setState

       Output only. State of the Orchestration Cluster.
       
      .google.cloud.telcoautomation.v1.OrchestrationCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public OrchestrationCluster.Builder clearState()
       Output only. State of the Orchestration Cluster.
       
      .google.cloud.telcoautomation.v1.OrchestrationCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.