Class GetJobMetricsRequest.Builder (0.27.0)

public static final class GetJobMetricsRequest.Builder extends GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder> implements GetJobMetricsRequestOrBuilder

Request to get job metrics.

Protobuf type google.dataflow.v1beta3.GetJobMetricsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetJobMetricsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides

build()

public GetJobMetricsRequest build()
Returns
TypeDescription
GetJobMetricsRequest

buildPartial()

public GetJobMetricsRequest buildPartial()
Returns
TypeDescription
GetJobMetricsRequest

clear()

public GetJobMetricsRequest.Builder clear()
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetJobMetricsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides

clearJobId()

public GetJobMetricsRequest.Builder clearJobId()

The job to get metrics for.

string job_id = 2;

Returns
TypeDescription
GetJobMetricsRequest.Builder

This builder for chaining.

clearLocation()

public GetJobMetricsRequest.Builder clearLocation()

The regional endpoint that contains the job specified by job_id.

string location = 4;

Returns
TypeDescription
GetJobMetricsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetJobMetricsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides

clearProjectId()

public GetJobMetricsRequest.Builder clearProjectId()

A project id.

string project_id = 1;

Returns
TypeDescription
GetJobMetricsRequest.Builder

This builder for chaining.

clearStartTime()

public GetJobMetricsRequest.Builder clearStartTime()

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
GetJobMetricsRequest.Builder

clone()

public GetJobMetricsRequest.Builder clone()
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides

getDefaultInstanceForType()

public GetJobMetricsRequest getDefaultInstanceForType()
Returns
TypeDescription
GetJobMetricsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

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.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

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
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetJobMetricsRequest other)

public GetJobMetricsRequest.Builder mergeFrom(GetJobMetricsRequest other)
Parameter
NameDescription
otherGetJobMetricsRequest
Returns
TypeDescription
GetJobMetricsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetJobMetricsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetJobMetricsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides

mergeStartTime(Timestamp value)

public GetJobMetricsRequest.Builder mergeStartTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
GetJobMetricsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetJobMetricsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetJobMetricsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides

setJobId(String value)

public GetJobMetricsRequest.Builder setJobId(String value)

The job to get metrics for.

string job_id = 2;

Parameter
NameDescription
valueString

The jobId to set.

Returns
TypeDescription
GetJobMetricsRequest.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public GetJobMetricsRequest.Builder setJobIdBytes(ByteString value)

The job to get metrics for.

string job_id = 2;

Parameter
NameDescription
valueByteString

The bytes for jobId to set.

Returns
TypeDescription
GetJobMetricsRequest.Builder

This builder for chaining.

setLocation(String value)

public GetJobMetricsRequest.Builder setLocation(String value)

The regional endpoint that contains the job specified by job_id.

string location = 4;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
GetJobMetricsRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public GetJobMetricsRequest.Builder setLocationBytes(ByteString value)

The regional endpoint that contains the job specified by job_id.

string location = 4;

Parameter
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
GetJobMetricsRequest.Builder

This builder for chaining.

setProjectId(String value)

public GetJobMetricsRequest.Builder setProjectId(String value)

A project id.

string project_id = 1;

Parameter
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
GetJobMetricsRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public GetJobMetricsRequest.Builder setProjectIdBytes(ByteString value)

A project id.

string project_id = 1;

Parameter
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
GetJobMetricsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetJobMetricsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides

setStartTime(Timestamp value)

public GetJobMetricsRequest.Builder setStartTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
GetJobMetricsRequest.Builder

setStartTime(Timestamp.Builder builderForValue)

public GetJobMetricsRequest.Builder setStartTime(Timestamp.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
GetJobMetricsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GetJobMetricsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetJobMetricsRequest.Builder
Overrides