Class JobMetadata (4.50.0)

public final class JobMetadata extends GeneratedMessageV3 implements JobMetadataOrBuilder

Job Operation metadata.

Protobuf type google.cloud.dataproc.v1.JobMetadata

Static Fields

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_TYPE_FIELD_NUMBER

public static final int OPERATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_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 JobMetadata getDefaultInstance()
Returns
Type Description
JobMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(JobMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public JobMetadata getDefaultInstanceForType()
Returns
Type Description
JobMetadata

getJobId()

public String getJobId()

Output only. The job id.

string job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

Output only. The job id.

string job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for jobId.

getOperationType()

public String getOperationType()

Output only. Operation type.

string operation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The operationType.

getOperationTypeBytes()

public ByteString getOperationTypeBytes()

Output only. Operation type.

string operation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for operationType.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. Job submission time.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Job submission time.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getStatus()

public JobStatus getStatus()

Output only. Most recent job status.

.google.cloud.dataproc.v1.JobStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobStatus

The status.

getStatusOrBuilder()

public JobStatusOrBuilder getStatusOrBuilder()

Output only. Most recent job status.

.google.cloud.dataproc.v1.JobStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
JobStatusOrBuilder

hasStartTime()

public boolean hasStartTime()

Output only. Job submission time.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasStatus()

public boolean hasStatus()

Output only. Most recent job status.

.google.cloud.dataproc.v1.JobStatus status = 2 [(.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 JobMetadata.Builder newBuilderForType()
Returns
Type Description
JobMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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