Class ListJobMessagesRequest

  • All Implemented Interfaces:
    ListJobMessagesRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ListJobMessagesRequest
    extends com.google.protobuf.GeneratedMessageV3
    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
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ListJobMessagesRequest parseFrom​(ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListJobMessagesRequest parseFrom​(ByteBuffer data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListJobMessagesRequest parseFrom​(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListJobMessagesRequest parseFrom​(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListJobMessagesRequest parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListJobMessagesRequest parseFrom​(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected ListJobMessagesRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ListJobMessagesRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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