Class WorkloadStatus (0.21.0)

public final class WorkloadStatus extends GeneratedMessageV3 implements WorkloadStatusOrBuilder

Workload status.

Protobuf type google.cloud.telcoautomation.v1alpha1.WorkloadStatus

Static Fields

SITE_VERSION_FIELD_NUMBER

public static final int SITE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WorkloadStatus getDefaultInstance()
Returns
Type Description
WorkloadStatus

getDescriptor()

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

newBuilder()

public static WorkloadStatus.Builder newBuilder()
Returns
Type Description
WorkloadStatus.Builder

newBuilder(WorkloadStatus prototype)

public static WorkloadStatus.Builder newBuilder(WorkloadStatus prototype)
Parameter
Name Description
prototype WorkloadStatus
Returns
Type Description
WorkloadStatus.Builder

parseDelimitedFrom(InputStream input)

public static WorkloadStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WorkloadStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkloadStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkloadStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkloadStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkloadStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WorkloadStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkloadStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WorkloadStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkloadStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkloadStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WorkloadStatus> parser()
Returns
Type Description
Parser<WorkloadStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public WorkloadStatus getDefaultInstanceForType()
Returns
Type Description
WorkloadStatus

getParserForType()

public Parser<WorkloadStatus> getParserForType()
Returns
Type Description
Parser<WorkloadStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
SiteVersion

The siteVersion.

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
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.v1alpha1.SiteVersion site_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the siteVersion field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WorkloadStatus.Builder newBuilderForType()
Returns
Type Description
WorkloadStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkloadStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WorkloadStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WorkloadStatus.Builder toBuilder()
Returns
Type Description
WorkloadStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException