Class ListWorkloadsResponse.ComposerWorkload (1.43.0)

public static final class ListWorkloadsResponse.ComposerWorkload extends GeneratedMessageV3 implements ListWorkloadsResponse.ComposerWorkloadOrBuilder

Information about a single workload.

Protobuf type google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkload

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListWorkloadsResponse.ComposerWorkload

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListWorkloadsResponse.ComposerWorkload getDefaultInstance()
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload

getDescriptor()

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

newBuilder()

public static ListWorkloadsResponse.ComposerWorkload.Builder newBuilder()
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

newBuilder(ListWorkloadsResponse.ComposerWorkload prototype)

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

parseDelimitedFrom(InputStream input)

public static ListWorkloadsResponse.ComposerWorkload parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ListWorkloadsResponse.ComposerWorkload parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ListWorkloadsResponse.ComposerWorkload parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ListWorkloadsResponse.ComposerWorkload parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ListWorkloadsResponse.ComposerWorkload parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ListWorkloadsResponse.ComposerWorkload> parser()
Returns
Type Description
Parser<ComposerWorkload>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListWorkloadsResponse.ComposerWorkload getDefaultInstanceForType()
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload

getName()

public String getName()

Name of a workload.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of a workload.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<ListWorkloadsResponse.ComposerWorkload> getParserForType()
Returns
Type Description
Parser<ComposerWorkload>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatus()

public ListWorkloadsResponse.ComposerWorkloadStatus getStatus()

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatus

The status.

getStatusOrBuilder()

public ListWorkloadsResponse.ComposerWorkloadStatusOrBuilder getStatusOrBuilder()

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadStatusOrBuilder

getType()

public ListWorkloadsResponse.ComposerWorkloadType getType()

Type of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadType type = 2;

Returns
Type Description
ListWorkloadsResponse.ComposerWorkloadType

The type.

getTypeValue()

public int getTypeValue()

Type of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadType type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasStatus()

public boolean hasStatus()

Output only. Status of a workload.

.google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse.ComposerWorkloadStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the status 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 ListWorkloadsResponse.ComposerWorkload.Builder newBuilderForType()
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ListWorkloadsResponse.ComposerWorkload.Builder toBuilder()
Returns
Type Description
ListWorkloadsResponse.ComposerWorkload.Builder

writeTo(CodedOutputStream output)

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