Class WorkloadStatus.Builder (0.13.0)

public static final class WorkloadStatus.Builder extends GeneratedMessageV3.Builder<WorkloadStatus.Builder> implements WorkloadStatusOrBuilder

Workload status.

Protobuf type google.cloud.telcoautomation.v1.WorkloadStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkloadStatus build()
Returns
Type Description
WorkloadStatus

buildPartial()

public WorkloadStatus buildPartial()
Returns
Type Description
WorkloadStatus

clear()

public WorkloadStatus.Builder clear()
Returns
Type Description
WorkloadStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkloadStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WorkloadStatus.Builder
Overrides

clearSiteVersion()

public WorkloadStatus.Builder clearSiteVersion()

Output only. SiteVersion running in the workload cluster.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkloadStatus.Builder

clearStatus()

public WorkloadStatus.Builder clearStatus()

Output only. Status.

string status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkloadStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public WorkloadStatus getDefaultInstanceForType()
Returns
Type Description
WorkloadStatus

getDescriptorForType()

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

getSiteVersion()

public SiteVersion getSiteVersion()

Output only. SiteVersion running in the workload cluster.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SiteVersion

The siteVersion.

getSiteVersionBuilder()

public SiteVersion.Builder getSiteVersionBuilder()

Output only. SiteVersion running in the workload cluster.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SiteVersion.Builder

getSiteVersionOrBuilder()

public SiteVersionOrBuilder getSiteVersionOrBuilder()

Output only. SiteVersion running in the workload cluster.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SiteVersionOrBuilder

getStatus()

public String getStatus()

Output only. Status.

string status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

Output only. Status.

string status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for status.

hasSiteVersion()

public boolean hasSiteVersion()

Output only. SiteVersion running in the workload cluster.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the siteVersion field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkloadStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSiteVersion(SiteVersion value)

public WorkloadStatus.Builder mergeSiteVersion(SiteVersion value)

Output only. SiteVersion running in the workload cluster.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SiteVersion
Returns
Type Description
WorkloadStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkloadStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkloadStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public WorkloadStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WorkloadStatus.Builder
Overrides

setSiteVersion(SiteVersion value)

public WorkloadStatus.Builder setSiteVersion(SiteVersion value)

Output only. SiteVersion running in the workload cluster.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SiteVersion
Returns
Type Description
WorkloadStatus.Builder

setSiteVersion(SiteVersion.Builder builderForValue)

public WorkloadStatus.Builder setSiteVersion(SiteVersion.Builder builderForValue)

Output only. SiteVersion running in the workload cluster.

.google.cloud.telcoautomation.v1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SiteVersion.Builder
Returns
Type Description
WorkloadStatus.Builder

setStatus(String value)

public WorkloadStatus.Builder setStatus(String value)

Output only. Status.

string status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The status to set.

Returns
Type Description
WorkloadStatus.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public WorkloadStatus.Builder setStatusBytes(ByteString value)

Output only. Status.

string status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
WorkloadStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkloadStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkloadStatus.Builder
Overrides