public final class JobMetadata extends GeneratedMessageV3 implements JobMetadataOrBuilder
Job Operation metadata.
Protobuf type google.cloud.dataproc.v1.JobMetadata
Static Fields
public static final int JOB_ID_FIELD_NUMBER
Field Value
public static final int OPERATION_TYPE_FIELD_NUMBER
Field Value
public static final int START_TIME_FIELD_NUMBER
Field Value
public static final int STATUS_FIELD_NUMBER
Field Value
Static Methods
public static JobMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static JobMetadata.Builder newBuilder()
Returns
public static JobMetadata.Builder newBuilder(JobMetadata prototype)
Parameter
Returns
public static JobMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static JobMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static JobMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static JobMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static JobMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<JobMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public JobMetadata getDefaultInstanceForType()
Returns
Output only. The job id.
string job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The jobId.
|
public ByteString getJobIdBytes()
Output only. The job id.
string job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public String getOperationType()
Output only. Operation type.
string operation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The operationType.
|
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.
|
public Parser<JobMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public Timestamp getStartTime()
Output only. Job submission time.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. Job submission time.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public JobStatus getStatus()
Output only. Most recent job status.
.google.cloud.dataproc.v1.JobStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public JobStatusOrBuilder getStatusOrBuilder()
Output only. Most recent job status.
.google.cloud.dataproc.v1.JobStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public JobMetadata.Builder newBuilderForType()
Returns
protected JobMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public JobMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions