Class OrchestrationCluster.Builder (0.13.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OrchestrationCluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OrchestrationCluster.Builder
Overrides

build()

public OrchestrationCluster build()
Returns
Type Description
OrchestrationCluster

buildPartial()

public OrchestrationCluster buildPartial()
Returns
Type Description
OrchestrationCluster

clear()

public OrchestrationCluster.Builder clear()
Returns
Type Description
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
Type Description
OrchestrationCluster.Builder

clearField(Descriptors.FieldDescriptor field)

public OrchestrationCluster.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OrchestrationCluster.Builder
Overrides

clearLabels()

public OrchestrationCluster.Builder clearLabels()
Returns
Type Description
OrchestrationCluster.Builder

clearManagementConfig()

public OrchestrationCluster.Builder clearManagementConfig()

Management configuration of the underlying GKE cluster.

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

Returns
Type Description
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
Type Description
OrchestrationCluster.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public OrchestrationCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
OrchestrationCluster.Builder

clone()

public OrchestrationCluster.Builder clone()
Returns
Type Description
OrchestrationCluster.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public OrchestrationCluster getDefaultInstanceForType()
Returns
Type Description
OrchestrationCluster

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getManagementConfig()

public ManagementConfig getManagementConfig()

Management configuration of the underlying GKE cluster.

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

Returns
Type Description
ManagementConfig

The managementConfig.

getManagementConfigBuilder()

public ManagementConfig.Builder getManagementConfigBuilder()

Management configuration of the underlying GKE cluster.

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

Returns
Type Description
ManagementConfig.Builder

getManagementConfigOrBuilder()

public ManagementConfigOrBuilder getManagementConfigOrBuilder()

Management configuration of the underlying GKE cluster.

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

Returns
Type Description
ManagementConfigOrBuilder

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
OrchestrationCluster.Builder

mergeFrom(OrchestrationCluster other)

public OrchestrationCluster.Builder mergeFrom(OrchestrationCluster other)
Parameter
Name Description
other OrchestrationCluster
Returns
Type Description
OrchestrationCluster.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OrchestrationCluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrchestrationCluster.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OrchestrationCluster.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value ManagementConfig
Returns
Type Description
OrchestrationCluster.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OrchestrationCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
OrchestrationCluster.Builder

removeLabels(String key)

public OrchestrationCluster.Builder removeLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
OrchestrationCluster.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OrchestrationCluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value ManagementConfig
Returns
Type Description
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
Name Description
builderForValue ManagementConfig.Builder
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value OrchestrationCluster.State

The state to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value String

The tnaVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for tnaVersion to set.

Returns
Type Description
OrchestrationCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OrchestrationCluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
OrchestrationCluster.Builder