Class EdgeSlm.Builder

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

public static final class EdgeSlm.Builder extends com.google.protobuf.GeneratedMessage.Builder<EdgeSlm.Builder> implements EdgeSlmOrBuilder
 EdgeSlm represents an SLM instance which manages the lifecycle of edge
 components installed on Workload clusters managed by an Orchestration
 Cluster.
 
Protobuf type google.cloud.telcoautomation.v1.EdgeSlm
  • 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<EdgeSlm.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

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

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

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

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

      public EdgeSlm.Builder mergeFrom(EdgeSlm other)
    • isInitialized

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

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

      public String getName()
       Name of the EdgeSlm resource.
       
      string name = 1;
      Specified by:
      getName in interface EdgeSlmOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the EdgeSlm resource.
       
      string name = 1;
      Specified by:
      getNameBytes in interface EdgeSlmOrBuilder
      Returns:
      The bytes for name.
    • setName

      public EdgeSlm.Builder setName(String value)
       Name of the EdgeSlm resource.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public EdgeSlm.Builder clearName()
       Name of the EdgeSlm resource.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public EdgeSlm.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the EdgeSlm resource.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getOrchestrationCluster

      public String getOrchestrationCluster()
       Immutable. Reference to the orchestration cluster on which templates for
       this resources will be applied. This should be of format
       projects/{project}/locations/{location}/orchestrationClusters/{orchestration_cluster}.
       
      string orchestration_cluster = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getOrchestrationCluster in interface EdgeSlmOrBuilder
      Returns:
      The orchestrationCluster.
    • getOrchestrationClusterBytes

      public com.google.protobuf.ByteString getOrchestrationClusterBytes()
       Immutable. Reference to the orchestration cluster on which templates for
       this resources will be applied. This should be of format
       projects/{project}/locations/{location}/orchestrationClusters/{orchestration_cluster}.
       
      string orchestration_cluster = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getOrchestrationClusterBytes in interface EdgeSlmOrBuilder
      Returns:
      The bytes for orchestrationCluster.
    • setOrchestrationCluster

      public EdgeSlm.Builder setOrchestrationCluster(String value)
       Immutable. Reference to the orchestration cluster on which templates for
       this resources will be applied. This should be of format
       projects/{project}/locations/{location}/orchestrationClusters/{orchestration_cluster}.
       
      string orchestration_cluster = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The orchestrationCluster to set.
      Returns:
      This builder for chaining.
    • clearOrchestrationCluster

      public EdgeSlm.Builder clearOrchestrationCluster()
       Immutable. Reference to the orchestration cluster on which templates for
       this resources will be applied. This should be of format
       projects/{project}/locations/{location}/orchestrationClusters/{orchestration_cluster}.
       
      string orchestration_cluster = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setOrchestrationClusterBytes

      public EdgeSlm.Builder setOrchestrationClusterBytes(com.google.protobuf.ByteString value)
       Immutable. Reference to the orchestration cluster on which templates for
       this resources will be applied. This should be of format
       projects/{project}/locations/{location}/orchestrationClusters/{orchestration_cluster}.
       
      string orchestration_cluster = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for orchestrationCluster to set.
      Returns:
      This builder for chaining.
    • 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 EdgeSlmOrBuilder
      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 EdgeSlmOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public EdgeSlm.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 EdgeSlm.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 EdgeSlm.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 EdgeSlm.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 EdgeSlmOrBuilder
    • 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 EdgeSlmOrBuilder
      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 EdgeSlmOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public EdgeSlm.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 EdgeSlm.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 EdgeSlm.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 EdgeSlm.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 EdgeSlmOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: EdgeSlmOrBuilder
       Optional. Labels as key value pairs. The key and value should contain
       characters which are UTF-8 compliant and less than 50 characters.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface EdgeSlmOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Labels as key value pairs. The key and value should contain
       characters which are UTF-8 compliant and less than 50 characters.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface EdgeSlmOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Optional. Labels as key value pairs. The key and value should contain
       characters which are UTF-8 compliant and less than 50 characters.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface EdgeSlmOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels as key value pairs. The key and value should contain
       characters which are UTF-8 compliant and less than 50 characters.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface EdgeSlmOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Labels as key value pairs. The key and value should contain
       characters which are UTF-8 compliant and less than 50 characters.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface EdgeSlmOrBuilder
    • clearLabels

      public EdgeSlm.Builder clearLabels()
    • removeLabels

      public EdgeSlm.Builder removeLabels(String key)
       Optional. Labels as key value pairs. The key and value should contain
       characters which are UTF-8 compliant and less than 50 characters.
       
      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 EdgeSlm.Builder putLabels(String key, String value)
       Optional. Labels as key value pairs. The key and value should contain
       characters which are UTF-8 compliant and less than 50 characters.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public EdgeSlm.Builder putAllLabels(Map<String,String> values)
       Optional. Labels as key value pairs. The key and value should contain
       characters which are UTF-8 compliant and less than 50 characters.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getTnaVersion

      public String getTnaVersion()
       Output only. Provides the active TNA version for this resource.
       
      string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTnaVersion in interface EdgeSlmOrBuilder
      Returns:
      The tnaVersion.
    • getTnaVersionBytes

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

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

      public EdgeSlm.Builder clearTnaVersion()
       Output only. Provides the active TNA version for this resource.
       
      string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTnaVersionBytes

      public EdgeSlm.Builder setTnaVersionBytes(com.google.protobuf.ByteString value)
       Output only. Provides the active TNA version for this resource.
       
      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 EdgeSlm resource.
       
      .google.cloud.telcoautomation.v1.EdgeSlm.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface EdgeSlmOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

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

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

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

      public int getWorkloadClusterTypeValue()
       Optional. Type of workload cluster for which an EdgeSLM resource is
       created.
       
      .google.cloud.telcoautomation.v1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWorkloadClusterTypeValue in interface EdgeSlmOrBuilder
      Returns:
      The enum numeric value on the wire for workloadClusterType.
    • setWorkloadClusterTypeValue

      public EdgeSlm.Builder setWorkloadClusterTypeValue(int value)
       Optional. Type of workload cluster for which an EdgeSLM resource is
       created.
       
      .google.cloud.telcoautomation.v1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for workloadClusterType to set.
      Returns:
      This builder for chaining.
    • getWorkloadClusterType

      public EdgeSlm.WorkloadClusterType getWorkloadClusterType()
       Optional. Type of workload cluster for which an EdgeSLM resource is
       created.
       
      .google.cloud.telcoautomation.v1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWorkloadClusterType in interface EdgeSlmOrBuilder
      Returns:
      The workloadClusterType.
    • setWorkloadClusterType

      public EdgeSlm.Builder setWorkloadClusterType(EdgeSlm.WorkloadClusterType value)
       Optional. Type of workload cluster for which an EdgeSLM resource is
       created.
       
      .google.cloud.telcoautomation.v1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The workloadClusterType to set.
      Returns:
      This builder for chaining.
    • clearWorkloadClusterType

      public EdgeSlm.Builder clearWorkloadClusterType()
       Optional. Type of workload cluster for which an EdgeSLM resource is
       created.
       
      .google.cloud.telcoautomation.v1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.