Class GetJobMetricsRequest.Builder (0.50.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetJobMetricsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetJobMetricsRequest.Builder
Overrides

build()

public GetJobMetricsRequest build()
Returns
Type Description
GetJobMetricsRequest

buildPartial()

public GetJobMetricsRequest buildPartial()
Returns
Type Description
GetJobMetricsRequest

clear()

public GetJobMetricsRequest.Builder clear()
Returns
Type Description
GetJobMetricsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetJobMetricsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetJobMetricsRequest.Builder
Overrides

clearJobId()

public GetJobMetricsRequest.Builder clearJobId()

The job to get metrics for.

string job_id = 2;

Returns
Type Description
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
Type Description
GetJobMetricsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetJobMetricsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetJobMetricsRequest.Builder
Overrides

clearProjectId()

public GetJobMetricsRequest.Builder clearProjectId()

A project id.

string project_id = 1;

Returns
Type Description
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
Type Description
GetJobMetricsRequest.Builder

clone()

public GetJobMetricsRequest.Builder clone()
Returns
Type Description
GetJobMetricsRequest.Builder
Overrides

getDefaultInstanceForType()

public GetJobMetricsRequest getDefaultInstanceForType()
Returns
Type Description
GetJobMetricsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getJobId()

public String getJobId()

The job to get metrics for.

string job_id = 2;

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

The job to get metrics for.

string job_id = 2;

Returns
Type Description
ByteString

The bytes for jobId.

getLocation()

public String getLocation()

The regional endpoint that contains the job specified by job_id.

string location = 4;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The regional endpoint that contains the job specified by job_id.

string location = 4;

Returns
Type Description
ByteString

The bytes for location.

getProjectId()

public String getProjectId()

A project id.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

A project id.

string project_id = 1;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetJobMetricsRequest other)

public GetJobMetricsRequest.Builder mergeFrom(GetJobMetricsRequest other)
Parameter
Name Description
other GetJobMetricsRequest
Returns
Type Description
GetJobMetricsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetJobMetricsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetJobMetricsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetJobMetricsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
GetJobMetricsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetJobMetricsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetJobMetricsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetJobMetricsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetJobMetricsRequest.Builder
Overrides

setJobId(String value)

public GetJobMetricsRequest.Builder setJobId(String value)

The job to get metrics for.

string job_id = 2;

Parameter
Name Description
value String

The jobId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for jobId to set.

Returns
Type Description
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
Name Description
value String

The location to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
GetJobMetricsRequest.Builder

This builder for chaining.

setProjectId(String value)

public GetJobMetricsRequest.Builder setProjectId(String value)

A project id.

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
GetJobMetricsRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public GetJobMetricsRequest.Builder setProjectIdBytes(ByteString value)

A project id.

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
GetJobMetricsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GetJobMetricsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetJobMetricsRequest.Builder
Overrides