Class EdgeSlm.Builder (0.5.0)

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

Implements

EdgeSlmOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EdgeSlm build()
Returns
TypeDescription
EdgeSlm

buildPartial()

public EdgeSlm buildPartial()
Returns
TypeDescription
EdgeSlm

clear()

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

clearCreateTime()

public EdgeSlm.Builder clearCreateTime()

Output only. [Output only] Create time stamp.

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

Returns
TypeDescription
EdgeSlm.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

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

clearName()

public EdgeSlm.Builder clearName()

Name of the EdgeSlm resource.

string name = 1;

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

This builder for chaining.

clearState()

public EdgeSlm.Builder clearState()

Output only. State of the EdgeSlm resource.

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

Returns
TypeDescription
EdgeSlm.Builder

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

This builder for chaining.

clearUpdateTime()

public EdgeSlm.Builder clearUpdateTime()

Output only. [Output only] Update time stamp.

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

Returns
TypeDescription
EdgeSlm.Builder

clearWorkloadClusterType()

public EdgeSlm.Builder clearWorkloadClusterType()

Optional. Type of workload cluster for which an EdgeSLM resource is created.

.google.cloud.telcoautomation.v1alpha1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.

clone()

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

containsLabels(String key)

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

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 EdgeSlm getDefaultInstanceForType()
Returns
TypeDescription
EdgeSlm

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()

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

Returns
TypeDescription
int

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

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

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

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

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

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Name of the EdgeSlm resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the EdgeSlm resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

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) = { ... }

Returns
TypeDescription
String

The orchestrationCluster.

getOrchestrationClusterBytes()

public 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for orchestrationCluster.

getState()

public EdgeSlm.State getState()

Output only. State of the EdgeSlm resource.

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

Returns
TypeDescription
EdgeSlm.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the EdgeSlm resource.

.google.cloud.telcoautomation.v1alpha1.EdgeSlm.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 active TNA version for this resource.

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

Returns
TypeDescription
String

The tnaVersion.

getTnaVersionBytes()

public ByteString getTnaVersionBytes()

Output only. Provides the active TNA version for this resource.

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

getWorkloadClusterType()

public EdgeSlm.WorkloadClusterType getWorkloadClusterType()

Optional. Type of workload cluster for which an EdgeSLM resource is created.

.google.cloud.telcoautomation.v1alpha1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
EdgeSlm.WorkloadClusterType

The workloadClusterType.

getWorkloadClusterTypeValue()

public int getWorkloadClusterTypeValue()

Optional. Type of workload cluster for which an EdgeSLM resource is created.

.google.cloud.telcoautomation.v1alpha1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for workloadClusterType.

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.

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 EdgeSlm.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
EdgeSlm.Builder

mergeFrom(EdgeSlm other)

public EdgeSlm.Builder mergeFrom(EdgeSlm other)
Parameter
NameDescription
otherEdgeSlm
Returns
TypeDescription
EdgeSlm.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

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

putAllLabels(Map<String,String> values)

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

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

putLabels(String key, String value)

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

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
EdgeSlm.Builder

removeLabels(String key)

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

Parameter
NameDescription
keyString
Returns
TypeDescription
EdgeSlm.Builder

setCreateTime(Timestamp value)

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

setCreateTime(Timestamp.Builder builderForValue)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public EdgeSlm.Builder setName(String value)

Name of the EdgeSlm resource.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EdgeSlm.Builder setNameBytes(ByteString value)

Name of the EdgeSlm resource.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.

setOrchestrationCluster(String value)

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) = { ... }

Parameter
NameDescription
valueString

The orchestrationCluster to set.

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.

setOrchestrationClusterBytes(ByteString value)

public EdgeSlm.Builder setOrchestrationClusterBytes(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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for orchestrationCluster to set.

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.

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

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

setState(EdgeSlm.State value)

public EdgeSlm.Builder setState(EdgeSlm.State value)

Output only. State of the EdgeSlm resource.

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

Parameter
NameDescription
valueEdgeSlm.State

The state to set.

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.

setStateValue(int value)

public EdgeSlm.Builder setStateValue(int value)

Output only. State of the EdgeSlm resource.

.google.cloud.telcoautomation.v1alpha1.EdgeSlm.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
EdgeSlm.Builder

This builder for chaining.

setTnaVersion(String value)

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

Parameter
NameDescription
valueString

The tnaVersion to set.

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.

setTnaVersionBytes(ByteString value)

public EdgeSlm.Builder setTnaVersionBytes(ByteString value)

Output only. Provides the active TNA version for this resource.

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

Parameter
NameDescription
valueByteString

The bytes for tnaVersion to set.

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

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

setUpdateTime(Timestamp.Builder builderForValue)

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

setWorkloadClusterType(EdgeSlm.WorkloadClusterType value)

public EdgeSlm.Builder setWorkloadClusterType(EdgeSlm.WorkloadClusterType value)

Optional. Type of workload cluster for which an EdgeSLM resource is created.

.google.cloud.telcoautomation.v1alpha1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueEdgeSlm.WorkloadClusterType

The workloadClusterType to set.

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.

setWorkloadClusterTypeValue(int value)

public EdgeSlm.Builder setWorkloadClusterTypeValue(int value)

Optional. Type of workload cluster for which an EdgeSLM resource is created.

.google.cloud.telcoautomation.v1alpha1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
EdgeSlm.Builder

This builder for chaining.