Class ListJobMessagesRequest.Builder

  • All Implemented Interfaces:
    ListJobMessagesRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ListJobMessagesRequest

    public static final class ListJobMessagesRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListJobMessagesRequest.Builder>
    implements ListJobMessagesRequestOrBuilder
     Request to list job messages.
     Up to max_results messages will be returned in the time range specified
     starting with the oldest messages first. If no time range is specified
     the results with start with the oldest message.
     
    Protobuf type google.dataflow.v1beta3.ListJobMessagesRequest
    • 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<ListJobMessagesRequest.Builder>
      • clear

        public ListJobMessagesRequest.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<ListJobMessagesRequest.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<ListJobMessagesRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListJobMessagesRequest.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<ListJobMessagesRequest.Builder>
      • clearField

        public ListJobMessagesRequest.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<ListJobMessagesRequest.Builder>
      • clearOneof

        public ListJobMessagesRequest.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<ListJobMessagesRequest.Builder>
      • setRepeatedField

        public ListJobMessagesRequest.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<ListJobMessagesRequest.Builder>
      • addRepeatedField

        public ListJobMessagesRequest.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<ListJobMessagesRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListJobMessagesRequest.Builder>
      • mergeFrom

        public ListJobMessagesRequest.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<ListJobMessagesRequest.Builder>
        Throws:
        IOException
      • setProjectId

        public ListJobMessagesRequest.Builder setProjectId​(String value)
         A project id.
         
        string project_id = 1;
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        public ListJobMessagesRequest.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 messages about.
         
        string job_id = 2;
        Specified by:
        getJobIdBytes in interface ListJobMessagesRequestOrBuilder
        Returns:
        The bytes for jobId.
      • setJobId

        public ListJobMessagesRequest.Builder setJobId​(String value)
         The job to get messages about.
         
        string job_id = 2;
        Parameters:
        value - The jobId to set.
        Returns:
        This builder for chaining.
      • clearJobId

        public ListJobMessagesRequest.Builder clearJobId()
         The job to get messages about.
         
        string job_id = 2;
        Returns:
        This builder for chaining.
      • setJobIdBytes

        public ListJobMessagesRequest.Builder setJobIdBytes​(com.google.protobuf.ByteString value)
         The job to get messages about.
         
        string job_id = 2;
        Parameters:
        value - The bytes for jobId to set.
        Returns:
        This builder for chaining.
      • getMinimumImportanceValue

        public int getMinimumImportanceValue()
         Filter to only get messages with importance >= level
         
        .google.dataflow.v1beta3.JobMessageImportance minimum_importance = 3;
        Specified by:
        getMinimumImportanceValue in interface ListJobMessagesRequestOrBuilder
        Returns:
        The enum numeric value on the wire for minimumImportance.
      • setMinimumImportanceValue

        public ListJobMessagesRequest.Builder setMinimumImportanceValue​(int value)
         Filter to only get messages with importance >= level
         
        .google.dataflow.v1beta3.JobMessageImportance minimum_importance = 3;
        Parameters:
        value - The enum numeric value on the wire for minimumImportance to set.
        Returns:
        This builder for chaining.
      • setMinimumImportance

        public ListJobMessagesRequest.Builder setMinimumImportance​(JobMessageImportance value)
         Filter to only get messages with importance >= level
         
        .google.dataflow.v1beta3.JobMessageImportance minimum_importance = 3;
        Parameters:
        value - The minimumImportance to set.
        Returns:
        This builder for chaining.
      • clearMinimumImportance

        public ListJobMessagesRequest.Builder clearMinimumImportance()
         Filter to only get messages with importance >= level
         
        .google.dataflow.v1beta3.JobMessageImportance minimum_importance = 3;
        Returns:
        This builder for chaining.
      • getPageSize

        public int getPageSize()
         If specified, determines the maximum number of messages to
         return.  If unspecified, the service may choose an appropriate
         default, or may return an arbitrarily large number of results.
         
        int32 page_size = 4;
        Specified by:
        getPageSize in interface ListJobMessagesRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListJobMessagesRequest.Builder setPageSize​(int value)
         If specified, determines the maximum number of messages to
         return.  If unspecified, the service may choose an appropriate
         default, or may return an arbitrarily large number of results.
         
        int32 page_size = 4;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListJobMessagesRequest.Builder clearPageSize()
         If specified, determines the maximum number of messages to
         return.  If unspecified, the service may choose an appropriate
         default, or may return an arbitrarily large number of results.
         
        int32 page_size = 4;
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         If supplied, this should be the value of next_page_token returned
         by an earlier call. This will cause the next page of results to
         be returned.
         
        string page_token = 5;
        Specified by:
        getPageToken in interface ListJobMessagesRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         If supplied, this should be the value of next_page_token returned
         by an earlier call. This will cause the next page of results to
         be returned.
         
        string page_token = 5;
        Specified by:
        getPageTokenBytes in interface ListJobMessagesRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListJobMessagesRequest.Builder setPageToken​(String value)
         If supplied, this should be the value of next_page_token returned
         by an earlier call. This will cause the next page of results to
         be returned.
         
        string page_token = 5;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListJobMessagesRequest.Builder clearPageToken()
         If supplied, this should be the value of next_page_token returned
         by an earlier call. This will cause the next page of results to
         be returned.
         
        string page_token = 5;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListJobMessagesRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         If supplied, this should be the value of next_page_token returned
         by an earlier call. This will cause the next page of results to
         be returned.
         
        string page_token = 5;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • hasStartTime

        public boolean hasStartTime()
         If specified, return only messages with timestamps >= start_time.
         The default is the job creation time (i.e. beginning of messages).
         
        .google.protobuf.Timestamp start_time = 6;
        Specified by:
        hasStartTime in interface ListJobMessagesRequestOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         If specified, return only messages with timestamps >= start_time.
         The default is the job creation time (i.e. beginning of messages).
         
        .google.protobuf.Timestamp start_time = 6;
        Specified by:
        getStartTime in interface ListJobMessagesRequestOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public ListJobMessagesRequest.Builder setStartTime​(com.google.protobuf.Timestamp value)
         If specified, return only messages with timestamps >= start_time.
         The default is the job creation time (i.e. beginning of messages).
         
        .google.protobuf.Timestamp start_time = 6;
      • setStartTime

        public ListJobMessagesRequest.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         If specified, return only messages with timestamps >= start_time.
         The default is the job creation time (i.e. beginning of messages).
         
        .google.protobuf.Timestamp start_time = 6;
      • mergeStartTime

        public ListJobMessagesRequest.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         If specified, return only messages with timestamps >= start_time.
         The default is the job creation time (i.e. beginning of messages).
         
        .google.protobuf.Timestamp start_time = 6;
      • clearStartTime

        public ListJobMessagesRequest.Builder clearStartTime()
         If specified, return only messages with timestamps >= start_time.
         The default is the job creation time (i.e. beginning of messages).
         
        .google.protobuf.Timestamp start_time = 6;
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         If specified, return only messages with timestamps >= start_time.
         The default is the job creation time (i.e. beginning of messages).
         
        .google.protobuf.Timestamp start_time = 6;
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         If specified, return only messages with timestamps >= start_time.
         The default is the job creation time (i.e. beginning of messages).
         
        .google.protobuf.Timestamp start_time = 6;
        Specified by:
        getStartTimeOrBuilder in interface ListJobMessagesRequestOrBuilder
      • hasEndTime

        public boolean hasEndTime()
         Return only messages with timestamps < end_time. The default is now
         (i.e. return up to the latest messages available).
         
        .google.protobuf.Timestamp end_time = 7;
        Specified by:
        hasEndTime in interface ListJobMessagesRequestOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public com.google.protobuf.Timestamp getEndTime()
         Return only messages with timestamps < end_time. The default is now
         (i.e. return up to the latest messages available).
         
        .google.protobuf.Timestamp end_time = 7;
        Specified by:
        getEndTime in interface ListJobMessagesRequestOrBuilder
        Returns:
        The endTime.
      • setEndTime

        public ListJobMessagesRequest.Builder setEndTime​(com.google.protobuf.Timestamp value)
         Return only messages with timestamps < end_time. The default is now
         (i.e. return up to the latest messages available).
         
        .google.protobuf.Timestamp end_time = 7;
      • setEndTime

        public ListJobMessagesRequest.Builder setEndTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Return only messages with timestamps < end_time. The default is now
         (i.e. return up to the latest messages available).
         
        .google.protobuf.Timestamp end_time = 7;
      • mergeEndTime

        public ListJobMessagesRequest.Builder mergeEndTime​(com.google.protobuf.Timestamp value)
         Return only messages with timestamps < end_time. The default is now
         (i.e. return up to the latest messages available).
         
        .google.protobuf.Timestamp end_time = 7;
      • clearEndTime

        public ListJobMessagesRequest.Builder clearEndTime()
         Return only messages with timestamps < end_time. The default is now
         (i.e. return up to the latest messages available).
         
        .google.protobuf.Timestamp end_time = 7;
      • getEndTimeBuilder

        public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
         Return only messages with timestamps < end_time. The default is now
         (i.e. return up to the latest messages available).
         
        .google.protobuf.Timestamp end_time = 7;
      • getEndTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         Return only messages with timestamps < end_time. The default is now
         (i.e. return up to the latest messages available).
         
        .google.protobuf.Timestamp end_time = 7;
        Specified by:
        getEndTimeOrBuilder in interface ListJobMessagesRequestOrBuilder
      • 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 = 8;
        Specified by:
        getLocation in interface ListJobMessagesRequestOrBuilder
        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 = 8;
        Specified by:
        getLocationBytes in interface ListJobMessagesRequestOrBuilder
        Returns:
        The bytes for location.
      • setLocation

        public ListJobMessagesRequest.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 = 8;
        Parameters:
        value - The location to set.
        Returns:
        This builder for chaining.
      • clearLocation

        public ListJobMessagesRequest.Builder clearLocation()
         The [regional endpoint]
         (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
         contains the job specified by job_id.
         
        string location = 8;
        Returns:
        This builder for chaining.
      • setLocationBytes

        public ListJobMessagesRequest.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 = 8;
        Parameters:
        value - The bytes for location to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListJobMessagesRequest.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<ListJobMessagesRequest.Builder>
      • mergeUnknownFields

        public final ListJobMessagesRequest.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<ListJobMessagesRequest.Builder>