Class GetJobMetricsRequest (0.26.0)

public final class GetJobMetricsRequest extends GeneratedMessageV3 implements GetJobMetricsRequestOrBuilder

Request to get job metrics.

Protobuf type google.dataflow.v1beta3.GetJobMetricsRequest

Static Fields

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetJobMetricsRequest getDefaultInstance()
Returns
TypeDescription
GetJobMetricsRequest

getDescriptor()

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

newBuilder()

public static GetJobMetricsRequest.Builder newBuilder()
Returns
TypeDescription
GetJobMetricsRequest.Builder

newBuilder(GetJobMetricsRequest prototype)

public static GetJobMetricsRequest.Builder newBuilder(GetJobMetricsRequest prototype)
Parameter
NameDescription
prototypeGetJobMetricsRequest
Returns
TypeDescription
GetJobMetricsRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetJobMetricsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetJobMetricsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GetJobMetricsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetJobMetricsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetJobMetricsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetJobMetricsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetJobMetricsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetJobMetricsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GetJobMetricsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetJobMetricsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GetJobMetricsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetJobMetricsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetJobMetricsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GetJobMetricsRequest> parser()
Returns
TypeDescription
Parser<GetJobMetricsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GetJobMetricsRequest getDefaultInstanceForType()
Returns
TypeDescription
GetJobMetricsRequest

getJobId()

public String getJobId()

The job to get metrics for.

string job_id = 2;

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

The job to get metrics for.

string job_id = 2;

Returns
TypeDescription
ByteString

The bytes for jobId.

getLocation()

public String getLocation()

The regional endpoint that contains the job specified by job_id.

string location = 4;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The regional endpoint that contains the job specified by job_id.

string location = 4;

Returns
TypeDescription
ByteString

The bytes for location.

getParserForType()

public Parser<GetJobMetricsRequest> getParserForType()
Returns
TypeDescription
Parser<GetJobMetricsRequest>
Overrides

getProjectId()

public String getProjectId()

A project id.

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

A project id.

string project_id = 1;

Returns
TypeDescription
ByteString

The bytes for projectId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GetJobMetricsRequest.Builder newBuilderForType()
Returns
TypeDescription
GetJobMetricsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetJobMetricsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GetJobMetricsRequest.Builder toBuilder()
Returns
TypeDescription
GetJobMetricsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException