Class EdgeSlm.Builder (0.12.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.v1.EdgeSlm

Implements

EdgeSlmOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EdgeSlm build()
Returns
Type Description
EdgeSlm

buildPartial()

public EdgeSlm buildPartial()
Returns
Type Description
EdgeSlm

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

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

clearName()

public EdgeSlm.Builder clearName()

Name of the EdgeSlm resource.

string name = 1;

Returns
Type Description
EdgeSlm.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

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

This builder for chaining.

clone()

public EdgeSlm.Builder clone()
Returns
Type Description
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
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 EdgeSlm getDefaultInstanceForType()
Returns
Type Description
EdgeSlm

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

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

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

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the EdgeSlm resource.

string name = 1;

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

The bytes for orchestrationCluster.

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

Returns
Type Description
EdgeSlm.State

The state.

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

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

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

Returns
Type Description
EdgeSlm.WorkloadClusterType

The workloadClusterType.

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

Returns
Type Description
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
Type Description
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
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 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
Name Description
value Timestamp
Returns
Type Description
EdgeSlm.Builder

mergeFrom(EdgeSlm other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public EdgeSlm.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EdgeSlm.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public EdgeSlm.Builder setName(String value)

Name of the EdgeSlm resource.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EdgeSlm.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EdgeSlm.Builder setNameBytes(ByteString value)

Name of the EdgeSlm resource.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

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

The orchestrationCluster to set.

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

The bytes for orchestrationCluster to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EdgeSlm.Builder
Overrides

setState(EdgeSlm.State value)

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

Parameter
Name Description
value EdgeSlm.State

The state to set.

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

The tnaVersion to set.

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

The bytes for tnaVersion to set.

Returns
Type Description
EdgeSlm.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EdgeSlm.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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.v1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EdgeSlm.WorkloadClusterType

The workloadClusterType to set.

Returns
Type Description
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.v1.EdgeSlm.WorkloadClusterType workload_cluster_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
EdgeSlm.Builder

This builder for chaining.