Package com.google.dataflow.v1beta3
Class GetJobMetricsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
- com.google.dataflow.v1beta3.GetJobMetricsRequest.Builder
-
- All Implemented Interfaces:
GetJobMetricsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- GetJobMetricsRequest
public static final class GetJobMetricsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder> implements GetJobMetricsRequestOrBuilder
Request to get job metrics.
Protobuf typegoogle.dataflow.v1beta3.GetJobMetricsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetJobMetricsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GetJobMetricsRequest
build()
GetJobMetricsRequest
buildPartial()
GetJobMetricsRequest.Builder
clear()
GetJobMetricsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GetJobMetricsRequest.Builder
clearJobId()
The job to get metrics for.GetJobMetricsRequest.Builder
clearLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.GetJobMetricsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GetJobMetricsRequest.Builder
clearProjectId()
A project id.GetJobMetricsRequest.Builder
clearStartTime()
Return only metric data that has changed since this time.GetJobMetricsRequest.Builder
clone()
GetJobMetricsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getJobId()
The job to get metrics for.com.google.protobuf.ByteString
getJobIdBytes()
The job to get metrics for.String
getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.com.google.protobuf.ByteString
getLocationBytes()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.String
getProjectId()
A project id.com.google.protobuf.ByteString
getProjectIdBytes()
A project id.com.google.protobuf.Timestamp
getStartTime()
Return only metric data that has changed since this time.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
Return only metric data that has changed since this time.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Return only metric data that has changed since this time.boolean
hasStartTime()
Return only metric data that has changed since this time.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetJobMetricsRequest.Builder
mergeFrom(GetJobMetricsRequest other)
GetJobMetricsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GetJobMetricsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
GetJobMetricsRequest.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Return only metric data that has changed since this time.GetJobMetricsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetJobMetricsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GetJobMetricsRequest.Builder
setJobId(String value)
The job to get metrics for.GetJobMetricsRequest.Builder
setJobIdBytes(com.google.protobuf.ByteString value)
The job to get metrics for.GetJobMetricsRequest.Builder
setLocation(String value)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.GetJobMetricsRequest.Builder
setLocationBytes(com.google.protobuf.ByteString value)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.GetJobMetricsRequest.Builder
setProjectId(String value)
A project id.GetJobMetricsRequest.Builder
setProjectIdBytes(com.google.protobuf.ByteString value)
A project id.GetJobMetricsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GetJobMetricsRequest.Builder
setStartTime(com.google.protobuf.Timestamp value)
Return only metric data that has changed since this time.GetJobMetricsRequest.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Return only metric data that has changed since this time.GetJobMetricsRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
clear
public GetJobMetricsRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
getDefaultInstanceForType
public GetJobMetricsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetJobMetricsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetJobMetricsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetJobMetricsRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
setField
public GetJobMetricsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
clearField
public GetJobMetricsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
clearOneof
public GetJobMetricsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
setRepeatedField
public GetJobMetricsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
addRepeatedField
public GetJobMetricsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
mergeFrom
public GetJobMetricsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetJobMetricsRequest.Builder>
-
mergeFrom
public GetJobMetricsRequest.Builder mergeFrom(GetJobMetricsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
mergeFrom
public GetJobMetricsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetJobMetricsRequest.Builder>
- Throws:
IOException
-
getProjectId
public String getProjectId()
A project id.
string project_id = 1;
- Specified by:
getProjectId
in interfaceGetJobMetricsRequestOrBuilder
- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()
A project id.
string project_id = 1;
- Specified by:
getProjectIdBytes
in interfaceGetJobMetricsRequestOrBuilder
- Returns:
- The bytes for projectId.
-
setProjectId
public GetJobMetricsRequest.Builder setProjectId(String value)
A project id.
string project_id = 1;
- Parameters:
value
- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
public GetJobMetricsRequest.Builder clearProjectId()
A project id.
string project_id = 1;
- Returns:
- This builder for chaining.
-
setProjectIdBytes
public GetJobMetricsRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
A project id.
string project_id = 1;
- Parameters:
value
- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getJobId
public String getJobId()
The job to get metrics for.
string job_id = 2;
- Specified by:
getJobId
in interfaceGetJobMetricsRequestOrBuilder
- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()
The job to get metrics for.
string job_id = 2;
- Specified by:
getJobIdBytes
in interfaceGetJobMetricsRequestOrBuilder
- Returns:
- The bytes for jobId.
-
setJobId
public GetJobMetricsRequest.Builder setJobId(String value)
The job to get metrics for.
string job_id = 2;
- Parameters:
value
- The jobId to set.- Returns:
- This builder for chaining.
-
clearJobId
public GetJobMetricsRequest.Builder clearJobId()
The job to get metrics for.
string job_id = 2;
- Returns:
- This builder for chaining.
-
setJobIdBytes
public GetJobMetricsRequest.Builder setJobIdBytes(com.google.protobuf.ByteString value)
The job to get metrics for.
string job_id = 2;
- Parameters:
value
- The bytes for jobId to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasStartTime
in interfaceGetJobMetricsRequestOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.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;
- Specified by:
getStartTime
in interfaceGetJobMetricsRequestOrBuilder
- Returns:
- The startTime.
-
setStartTime
public GetJobMetricsRequest.Builder setStartTime(com.google.protobuf.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;
-
setStartTime
public GetJobMetricsRequest.Builder setStartTime(com.google.protobuf.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;
-
mergeStartTime
public GetJobMetricsRequest.Builder mergeStartTime(com.google.protobuf.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;
-
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;
-
getStartTimeBuilder
public com.google.protobuf.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;
-
getStartTimeOrBuilder
public com.google.protobuf.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;
- Specified by:
getStartTimeOrBuilder
in interfaceGetJobMetricsRequestOrBuilder
-
getLocation
public String getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
string location = 4;
- Specified by:
getLocation
in interfaceGetJobMetricsRequestOrBuilder
- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
string location = 4;
- Specified by:
getLocationBytes
in interfaceGetJobMetricsRequestOrBuilder
- Returns:
- The bytes for location.
-
setLocation
public GetJobMetricsRequest.Builder setLocation(String value)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
string location = 4;
- Parameters:
value
- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public GetJobMetricsRequest.Builder clearLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
string location = 4;
- Returns:
- This builder for chaining.
-
setLocationBytes
public GetJobMetricsRequest.Builder setLocationBytes(com.google.protobuf.ByteString value)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
string location = 4;
- Parameters:
value
- The bytes for location to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetJobMetricsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
mergeUnknownFields
public final GetJobMetricsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
-
-