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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Management configuration of the underlying GKE cluster.Name of the orchestration cluster.Output only.Output only.Output only.booleancontainsLabels(String key) Labels as key value pairs.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.Management configuration of the underlying GKE cluster.Management configuration of the underlying GKE cluster.Management configuration of the underlying GKE cluster.Deprecated.getName()Name of the orchestration cluster.com.google.protobuf.ByteStringName of the orchestration cluster.getState()Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanManagement configuration of the underlying GKE cluster.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(OrchestrationCluster other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Management configuration of the underlying GKE cluster.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Labels as key value pairs.Labels as key value pairs.removeLabels(String key) Labels as key value pairs.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Management configuration of the underlying GKE cluster.setManagementConfig(ManagementConfig.Builder builderForValue) Management configuration of the underlying GKE cluster.Name of the orchestration cluster.setNameBytes(com.google.protobuf.ByteString value) Name of the orchestration cluster.Output only.setStateValue(int value) Output only.setTnaVersion(String value) Output only.setTnaVersionBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<OrchestrationCluster.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<OrchestrationCluster.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OrchestrationCluster.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OrchestrationCluster.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OrchestrationCluster.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OrchestrationCluster.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OrchestrationCluster.Builder>- Throws:
IOException
-
getName
Name of the orchestration cluster. The name of orchestration cluster cannot be more than 24 characters.
string name = 1;- Specified by:
getNamein interfaceOrchestrationClusterOrBuilder- 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:
getNameBytesin interfaceOrchestrationClusterOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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:
hasManagementConfigin interfaceOrchestrationClusterOrBuilder- Returns:
- Whether the managementConfig field is set.
-
getManagementConfig
Management configuration of the underlying GKE cluster.
.google.cloud.telcoautomation.v1.ManagementConfig management_config = 5;- Specified by:
getManagementConfigin interfaceOrchestrationClusterOrBuilder- Returns:
- The managementConfig.
-
setManagementConfig
Management configuration of the underlying GKE cluster.
.google.cloud.telcoautomation.v1.ManagementConfig management_config = 5; -
setManagementConfig
Management configuration of the underlying GKE cluster.
.google.cloud.telcoautomation.v1.ManagementConfig management_config = 5; -
mergeManagementConfig
Management configuration of the underlying GKE cluster.
.google.cloud.telcoautomation.v1.ManagementConfig management_config = 5; -
clearManagementConfig
Management configuration of the underlying GKE cluster.
.google.cloud.telcoautomation.v1.ManagementConfig management_config = 5; -
getManagementConfigBuilder
Management configuration of the underlying GKE cluster.
.google.cloud.telcoautomation.v1.ManagementConfig management_config = 5; -
getManagementConfigOrBuilder
Management configuration of the underlying GKE cluster.
.google.cloud.telcoautomation.v1.ManagementConfig management_config = 5;- Specified by:
getManagementConfigOrBuilderin interfaceOrchestrationClusterOrBuilder
-
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:
hasCreateTimein interfaceOrchestrationClusterOrBuilder- 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:
getCreateTimein interfaceOrchestrationClusterOrBuilder- Returns:
- The createTime.
-
setCreateTime
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
Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceOrchestrationClusterOrBuilder
-
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:
hasUpdateTimein interfaceOrchestrationClusterOrBuilder- 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:
getUpdateTimein interfaceOrchestrationClusterOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
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
Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getUpdateTimeOrBuilderin interfaceOrchestrationClusterOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:OrchestrationClusterOrBuilderLabels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceOrchestrationClusterOrBuilder
-
containsLabels
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceOrchestrationClusterOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceOrchestrationClusterOrBuilder
-
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceOrchestrationClusterOrBuilder
-
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceOrchestrationClusterOrBuilder
-
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceOrchestrationClusterOrBuilder
-
clearLabels
-
removeLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels as key value pairs.
map<string, string> labels = 4; -
putAllLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getTnaVersion
Output only. Provides the TNA version installed on the cluster.
string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTnaVersionin interfaceOrchestrationClusterOrBuilder- 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:
getTnaVersionBytesin interfaceOrchestrationClusterOrBuilder- Returns:
- The bytes for tnaVersion.
-
setTnaVersion
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
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
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:
getStateValuein interfaceOrchestrationClusterOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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
Output only. State of the Orchestration Cluster.
.google.cloud.telcoautomation.v1.OrchestrationCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceOrchestrationClusterOrBuilder- 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
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.
-