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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GetJobMetricsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GetJobMetricsRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GetJobMetricsRequest.Builder>
    • getDefaultInstanceForType

      public GetJobMetricsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GetJobMetricsRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GetJobMetricsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GetJobMetricsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetJobMetricsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetJobMetricsRequest.Builder>
      Throws:
      IOException
    • getProjectId

      public String getProjectId()
       A project id.
       
      string project_id = 1;
      Specified by:
      getProjectId in interface GetJobMetricsRequestOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       A project id.
       
      string project_id = 1;
      Specified by:
      getProjectIdBytes in interface GetJobMetricsRequestOrBuilder
      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 interface GetJobMetricsRequestOrBuilder
      Returns:
      The jobId.
    • getJobIdBytes

      public com.google.protobuf.ByteString getJobIdBytes()
       The job to get metrics for.
       
      string job_id = 2;
      Specified by:
      getJobIdBytes in interface GetJobMetricsRequestOrBuilder
      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 interface GetJobMetricsRequestOrBuilder
      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 interface GetJobMetricsRequestOrBuilder
      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 interface GetJobMetricsRequestOrBuilder
    • 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 interface GetJobMetricsRequestOrBuilder
      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 interface GetJobMetricsRequestOrBuilder
      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.