Class WorkloadStatus.Builder (0.9.0)

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

Workload status.

Protobuf type google.cloud.telcoautomation.v1alpha1.WorkloadStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkloadStatus build()
Returns
TypeDescription
WorkloadStatus

buildPartial()

public WorkloadStatus buildPartial()
Returns
TypeDescription
WorkloadStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSiteVersion()

public WorkloadStatus.Builder clearSiteVersion()

Output only. SiteVersion running in the workload cluster.

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

Returns
TypeDescription
WorkloadStatus.Builder

clearStatus()

public WorkloadStatus.Builder clearStatus()

Output only. Status.

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

Returns
TypeDescription
WorkloadStatus.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public WorkloadStatus getDefaultInstanceForType()
Returns
TypeDescription
WorkloadStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSiteVersion()

public SiteVersion getSiteVersion()

Output only. SiteVersion running in the workload cluster.

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

Returns
TypeDescription
SiteVersion

The siteVersion.

getSiteVersionBuilder()

public SiteVersion.Builder getSiteVersionBuilder()

Output only. SiteVersion running in the workload cluster.

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

Returns
TypeDescription
SiteVersion.Builder

getSiteVersionOrBuilder()

public SiteVersionOrBuilder getSiteVersionOrBuilder()

Output only. SiteVersion running in the workload cluster.

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

Returns
TypeDescription
SiteVersionOrBuilder

getStatus()

public String getStatus()

Output only. Status.

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

Returns
TypeDescription
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

Output only. Status.

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

Returns
TypeDescription
ByteString

The bytes for status.

hasSiteVersion()

public boolean hasSiteVersion()

Output only. SiteVersion running in the workload cluster.

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

Returns
TypeDescription
boolean

Whether the siteVersion field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkloadStatus other)

public WorkloadStatus.Builder mergeFrom(WorkloadStatus other)
Parameter
NameDescription
otherWorkloadStatus
Returns
TypeDescription
WorkloadStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSiteVersion(SiteVersion value)

public WorkloadStatus.Builder mergeSiteVersion(SiteVersion value)

Output only. SiteVersion running in the workload cluster.

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

Parameter
NameDescription
valueSiteVersion
Returns
TypeDescription
WorkloadStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSiteVersion(SiteVersion value)

public WorkloadStatus.Builder setSiteVersion(SiteVersion value)

Output only. SiteVersion running in the workload cluster.

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

Parameter
NameDescription
valueSiteVersion
Returns
TypeDescription
WorkloadStatus.Builder

setSiteVersion(SiteVersion.Builder builderForValue)

public WorkloadStatus.Builder setSiteVersion(SiteVersion.Builder builderForValue)

Output only. SiteVersion running in the workload cluster.

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

Parameter
NameDescription
builderForValueSiteVersion.Builder
Returns
TypeDescription
WorkloadStatus.Builder

setStatus(String value)

public WorkloadStatus.Builder setStatus(String value)

Output only. Status.

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

Parameter
NameDescription
valueString

The status to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
WorkloadStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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