Class EdgeSlm.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EdgeSlm.Builder>
com.google.cloud.telcoautomation.v1.EdgeSlm.Builder
- All Implemented Interfaces:
EdgeSlmOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EdgeSlm
public static final class EdgeSlm.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Name of the EdgeSlm resource.Immutable.Output only.Output only.Output only.Optional.booleancontainsLabels(String key) Optional.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.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.getName()Name of the EdgeSlm resource.com.google.protobuf.ByteStringName of the EdgeSlm resource.Immutable.com.google.protobuf.ByteStringImmutable.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.Optional.intOptional.booleanOutput only.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(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Optional.Optional.removeLabels(String key) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Name of the EdgeSlm resource.setNameBytes(com.google.protobuf.ByteString value) Name of the EdgeSlm resource.setOrchestrationCluster(String value) Immutable.setOrchestrationClusterBytes(com.google.protobuf.ByteString value) Immutable.setState(EdgeSlm.State value) 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.Optional.setWorkloadClusterTypeValue(int value) Optional.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<EdgeSlm.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<EdgeSlm.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EdgeSlm.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<EdgeSlm.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<EdgeSlm.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<EdgeSlm.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EdgeSlm.Builder>
-
mergeFrom
public EdgeSlm.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<EdgeSlm.Builder>- Throws:
IOException
-
getName
Name of the EdgeSlm resource.
string name = 1;- Specified by:
getNamein interfaceEdgeSlmOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the EdgeSlm resource.
string name = 1;- Specified by:
getNameBytesin interfaceEdgeSlmOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the EdgeSlm resource.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the EdgeSlm resource.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Name of the EdgeSlm resource.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getOrchestrationClusterin interfaceEdgeSlmOrBuilder- Returns:
- The orchestrationCluster.
-
getOrchestrationClusterBytes
public com.google.protobuf.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) = { ... }- Specified by:
getOrchestrationClusterBytesin interfaceEdgeSlmOrBuilder- Returns:
- The bytes for orchestrationCluster.
-
setOrchestrationCluster
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) = { ... }- Parameters:
value- The orchestrationCluster to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setOrchestrationClusterBytes
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) = { ... }- Parameters:
value- The bytes for orchestrationCluster to set.- Returns:
- This builder for chaining.
-
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 interfaceEdgeSlmOrBuilder- 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 interfaceEdgeSlmOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
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 interfaceEdgeSlmOrBuilder
-
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 interfaceEdgeSlmOrBuilder- 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 interfaceEdgeSlmOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
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 interfaceEdgeSlmOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:EdgeSlmOrBuilderOptional. 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];- Specified by:
getLabelsCountin interfaceEdgeSlmOrBuilder
-
containsLabels
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];- Specified by:
containsLabelsin interfaceEdgeSlmOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceEdgeSlmOrBuilder
-
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];- Specified by:
getLabelsMapin interfaceEdgeSlmOrBuilder
-
getLabelsOrDefault
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];- Specified by:
getLabelsOrDefaultin interfaceEdgeSlmOrBuilder
-
getLabelsOrThrow
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];- Specified by:
getLabelsOrThrowin interfaceEdgeSlmOrBuilder
-
clearLabels
-
removeLabels
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]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
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]; -
putAllLabels
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]; -
getTnaVersion
Output only. Provides the active TNA version for this resource.
string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTnaVersionin interfaceEdgeSlmOrBuilder- Returns:
- The tnaVersion.
-
getTnaVersionBytes
public com.google.protobuf.ByteString getTnaVersionBytes()Output only. Provides the active TNA version for this resource.
string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTnaVersionBytesin interfaceEdgeSlmOrBuilder- Returns:
- The bytes for tnaVersion.
-
setTnaVersion
Output only. Provides the active TNA version for this resource.
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 active TNA version for this resource.
string tna_version = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTnaVersionBytes
Output only. Provides the active TNA version for this resource.
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 EdgeSlm resource.
.google.cloud.telcoautomation.v1.EdgeSlm.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceEdgeSlmOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the EdgeSlm resource.
.google.cloud.telcoautomation.v1.EdgeSlm.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 EdgeSlm resource.
.google.cloud.telcoautomation.v1.EdgeSlm.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceEdgeSlmOrBuilder- Returns:
- The state.
-
setState
Output only. State of the EdgeSlm resource.
.google.cloud.telcoautomation.v1.EdgeSlm.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 EdgeSlm resource.
.google.cloud.telcoautomation.v1.EdgeSlm.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
getWorkloadClusterTypeValuein interfaceEdgeSlmOrBuilder- Returns:
- The enum numeric value on the wire for workloadClusterType.
-
setWorkloadClusterTypeValue
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];- Parameters:
value- The enum numeric value on the wire for workloadClusterType to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getWorkloadClusterTypein interfaceEdgeSlmOrBuilder- Returns:
- The workloadClusterType.
-
setWorkloadClusterType
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];- Parameters:
value- The workloadClusterType to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-