Class OrchestrationCluster.Builder (0.10.0)

public static final class OrchestrationCluster.Builder extends GeneratedMessageV3.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.v1alpha1.OrchestrationCluster

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OrchestrationCluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides

build()

public OrchestrationCluster build()
Returns
TypeDescription
OrchestrationCluster

buildPartial()

public OrchestrationCluster buildPartial()
Returns
TypeDescription
OrchestrationCluster

clear()

public OrchestrationCluster.Builder clear()
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides

clearCreateTime()

public OrchestrationCluster.Builder clearCreateTime()

Output only. [Output only] Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
OrchestrationCluster.Builder

clearField(Descriptors.FieldDescriptor field)

public OrchestrationCluster.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides

clearLabels()

public OrchestrationCluster.Builder clearLabels()
Returns
TypeDescription
OrchestrationCluster.Builder

clearManagementConfig()

public OrchestrationCluster.Builder clearManagementConfig()

Management configuration of the underlying GKE cluster.

.google.cloud.telcoautomation.v1alpha1.ManagementConfig management_config = 5;

Returns
TypeDescription
OrchestrationCluster.Builder

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
TypeDescription
OrchestrationCluster.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public OrchestrationCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides

clearState()

public OrchestrationCluster.Builder clearState()

Output only. State of the Orchestration Cluster.

.google.cloud.telcoautomation.v1alpha1.OrchestrationCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
OrchestrationCluster.Builder

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
TypeDescription
OrchestrationCluster.Builder

This builder for chaining.

clearUpdateTime()

public OrchestrationCluster.Builder clearUpdateTime()

Output only. [Output only] Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
OrchestrationCluster.Builder

clone()

public OrchestrationCluster.Builder clone()
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. [Output only] Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. [Output only] Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. [Output only] Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public OrchestrationCluster getDefaultInstanceForType()
Returns
TypeDescription
OrchestrationCluster

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getManagementConfig()

public ManagementConfig getManagementConfig()

Management configuration of the underlying GKE cluster.

.google.cloud.telcoautomation.v1alpha1.ManagementConfig management_config = 5;

Returns
TypeDescription
ManagementConfig

The managementConfig.

getManagementConfigBuilder()

public ManagementConfig.Builder getManagementConfigBuilder()

Management configuration of the underlying GKE cluster.

.google.cloud.telcoautomation.v1alpha1.ManagementConfig management_config = 5;

Returns
TypeDescription
ManagementConfig.Builder

getManagementConfigOrBuilder()

public ManagementConfigOrBuilder getManagementConfigOrBuilder()

Management configuration of the underlying GKE cluster.

.google.cloud.telcoautomation.v1alpha1.ManagementConfig management_config = 5;

Returns
TypeDescription
ManagementConfigOrBuilder

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Name of the orchestration cluster. The name of orchestration cluster cannot be more than 24 characters.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the orchestration cluster. The name of orchestration cluster cannot be more than 24 characters.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getState()

public OrchestrationCluster.State getState()

Output only. State of the Orchestration Cluster.

.google.cloud.telcoautomation.v1alpha1.OrchestrationCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
OrchestrationCluster.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the Orchestration Cluster.

.google.cloud.telcoautomation.v1alpha1.OrchestrationCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTnaVersion()

public String getTnaVersion()

Output only. Provides the TNA version installed on the cluster.

string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The tnaVersion.

getTnaVersionBytes()

public ByteString getTnaVersionBytes()

Output only. Provides the TNA version installed on the cluster.

string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for tnaVersion.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. [Output only] Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. [Output only] Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. [Output only] Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. [Output only] Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasManagementConfig()

public boolean hasManagementConfig()

Management configuration of the underlying GKE cluster.

.google.cloud.telcoautomation.v1alpha1.ManagementConfig management_config = 5;

Returns
TypeDescription
boolean

Whether the managementConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. [Output only] Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public OrchestrationCluster.Builder mergeCreateTime(Timestamp value)

Output only. [Output only] Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
OrchestrationCluster.Builder

mergeFrom(OrchestrationCluster other)

public OrchestrationCluster.Builder mergeFrom(OrchestrationCluster other)
Parameter
NameDescription
otherOrchestrationCluster
Returns
TypeDescription
OrchestrationCluster.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OrchestrationCluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OrchestrationCluster.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides

mergeManagementConfig(ManagementConfig value)

public OrchestrationCluster.Builder mergeManagementConfig(ManagementConfig value)

Management configuration of the underlying GKE cluster.

.google.cloud.telcoautomation.v1alpha1.ManagementConfig management_config = 5;

Parameter
NameDescription
valueManagementConfig
Returns
TypeDescription
OrchestrationCluster.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OrchestrationCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides

mergeUpdateTime(Timestamp value)

public OrchestrationCluster.Builder mergeUpdateTime(Timestamp value)

Output only. [Output only] Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
OrchestrationCluster.Builder

putAllLabels(Map<String,String> values)

public OrchestrationCluster.Builder putAllLabels(Map<String,String> values)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
OrchestrationCluster.Builder

putLabels(String key, String value)

public OrchestrationCluster.Builder putLabels(String key, String value)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
OrchestrationCluster.Builder

removeLabels(String key)

public OrchestrationCluster.Builder removeLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
OrchestrationCluster.Builder

setCreateTime(Timestamp value)

public OrchestrationCluster.Builder setCreateTime(Timestamp value)

Output only. [Output only] Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
OrchestrationCluster.Builder

setCreateTime(Timestamp.Builder builderForValue)

public OrchestrationCluster.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. [Output only] Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
OrchestrationCluster.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OrchestrationCluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides

setManagementConfig(ManagementConfig value)

public OrchestrationCluster.Builder setManagementConfig(ManagementConfig value)

Management configuration of the underlying GKE cluster.

.google.cloud.telcoautomation.v1alpha1.ManagementConfig management_config = 5;

Parameter
NameDescription
valueManagementConfig
Returns
TypeDescription
OrchestrationCluster.Builder

setManagementConfig(ManagementConfig.Builder builderForValue)

public OrchestrationCluster.Builder setManagementConfig(ManagementConfig.Builder builderForValue)

Management configuration of the underlying GKE cluster.

.google.cloud.telcoautomation.v1alpha1.ManagementConfig management_config = 5;

Parameter
NameDescription
builderForValueManagementConfig.Builder
Returns
TypeDescription
OrchestrationCluster.Builder

setName(String value)

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;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
OrchestrationCluster.Builder

This builder for chaining.

setNameBytes(ByteString value)

public OrchestrationCluster.Builder setNameBytes(ByteString value)

Name of the orchestration cluster. The name of orchestration cluster cannot be more than 24 characters.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
OrchestrationCluster.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OrchestrationCluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides

setState(OrchestrationCluster.State value)

public OrchestrationCluster.Builder setState(OrchestrationCluster.State value)

Output only. State of the Orchestration Cluster.

.google.cloud.telcoautomation.v1alpha1.OrchestrationCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueOrchestrationCluster.State

The state to set.

Returns
TypeDescription
OrchestrationCluster.Builder

This builder for chaining.

setStateValue(int value)

public OrchestrationCluster.Builder setStateValue(int value)

Output only. State of the Orchestration Cluster.

.google.cloud.telcoautomation.v1alpha1.OrchestrationCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
OrchestrationCluster.Builder

This builder for chaining.

setTnaVersion(String value)

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];

Parameter
NameDescription
valueString

The tnaVersion to set.

Returns
TypeDescription
OrchestrationCluster.Builder

This builder for chaining.

setTnaVersionBytes(ByteString value)

public OrchestrationCluster.Builder setTnaVersionBytes(ByteString value)

Output only. Provides the TNA version installed on the cluster.

string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for tnaVersion to set.

Returns
TypeDescription
OrchestrationCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OrchestrationCluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OrchestrationCluster.Builder
Overrides

setUpdateTime(Timestamp value)

public OrchestrationCluster.Builder setUpdateTime(Timestamp value)

Output only. [Output only] Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
OrchestrationCluster.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public OrchestrationCluster.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. [Output only] Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
OrchestrationCluster.Builder