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.GeneratedMessage.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.GeneratedMessage.Builder<GetJobMetricsRequest.Builder>
implements GetJobMetricsRequestOrBuilder
Request to get job metrics.Protobuf type
google.dataflow.v1beta3.GetJobMetricsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The job to get metrics for.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.A project id.Return only metric data that has changed since this time.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetJobId()The job to get metrics for.com.google.protobuf.ByteStringThe job to get metrics for.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.com.google.protobuf.ByteStringThe [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.A project id.com.google.protobuf.ByteStringA project id.com.google.protobuf.TimestampReturn only metric data that has changed since this time.com.google.protobuf.Timestamp.BuilderReturn only metric data that has changed since this time.com.google.protobuf.TimestampOrBuilderReturn only metric data that has changed since this time.booleanReturn only metric data that has changed since this time.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GetJobMetricsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Return only metric data that has changed since this time.The job to get metrics for.setJobIdBytes(com.google.protobuf.ByteString value) The job to get metrics for.setLocation(String value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.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.setProjectId(String value) A project id.setProjectIdBytes(com.google.protobuf.ByteString value) A project id.setStartTime(com.google.protobuf.Timestamp value) Return only metric data that has changed since this time.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Return only metric data that has changed since this time.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetJobMetricsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GetJobMetricsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GetJobMetricsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetJobMetricsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetJobMetricsRequest.Builder>
-
mergeFrom
public GetJobMetricsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetJobMetricsRequest.Builder>- Throws:
IOException
-
getProjectId
A project id.
string project_id = 1;- Specified by:
getProjectIdin interfaceGetJobMetricsRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()A project id.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceGetJobMetricsRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
A project id.
string project_id = 1;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
A project id.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
A project id.
string project_id = 1;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getJobId
The job to get metrics for.
string job_id = 2;- Specified by:
getJobIdin interfaceGetJobMetricsRequestOrBuilder- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()The job to get metrics for.
string job_id = 2;- Specified by:
getJobIdBytesin interfaceGetJobMetricsRequestOrBuilder- Returns:
- The bytes for jobId.
-
setJobId
The job to get metrics for.
string job_id = 2;- Parameters:
value- The jobId to set.- Returns:
- This builder for chaining.
-
clearJobId
The job to get metrics for.
string job_id = 2;- Returns:
- This builder for chaining.
-
setJobIdBytes
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:
hasStartTimein 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:
getStartTimein interfaceGetJobMetricsRequestOrBuilder- Returns:
- The startTime.
-
setStartTime
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
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
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:
getStartTimeOrBuilderin interfaceGetJobMetricsRequestOrBuilder
-
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:
getLocationin 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:
getLocationBytesin interfaceGetJobMetricsRequestOrBuilder- Returns:
- The bytes for location.
-
setLocation
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
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
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.
-