Class GetJobMetricsRequest.Builder

    • Method Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public GetJobMetricsRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
      • setField

        public GetJobMetricsRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
      • clearField

        public GetJobMetricsRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
      • clearOneof

        public GetJobMetricsRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
      • addRepeatedField

        public GetJobMetricsRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 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
      • 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.
      • 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.
      • setUnknownFields

        public final GetJobMetricsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>
      • mergeUnknownFields

        public final GetJobMetricsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetJobMetricsRequest.Builder>