Package api

Class Job.JobDetails

  • All Implemented Interfaces:
    Job.JobDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    Job

    public static final class Job.JobDetails
    extends com.google.protobuf.GeneratedMessageV3
    implements Job.JobDetailsOrBuilder
    Protobuf type api.JobDetails
    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()
        string job_id = 1;
        Specified by:
        getJobIdBytes in interface Job.JobDetailsOrBuilder
        Returns:
        The bytes for jobId.
      • getQueueBytes

        public com.google.protobuf.ByteString getQueueBytes()
        string queue = 2;
        Specified by:
        getQueueBytes in interface Job.JobDetailsOrBuilder
        Returns:
        The bytes for queue.
      • getJobsetBytes

        public com.google.protobuf.ByteString getJobsetBytes()
        string jobset = 3;
        Specified by:
        getJobsetBytes in interface Job.JobDetailsOrBuilder
        Returns:
        The bytes for jobset.
      • getNamespaceBytes

        public com.google.protobuf.ByteString getNamespaceBytes()
        string namespace = 4;
        Specified by:
        getNamespaceBytes in interface Job.JobDetailsOrBuilder
        Returns:
        The bytes for namespace.
      • getStateValue

        public int getStateValue()
        .api.JobState state = 5;
        Specified by:
        getStateValue in interface Job.JobDetailsOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • hasSubmittedTs

        public boolean hasSubmittedTs()
        .google.protobuf.Timestamp submitted_ts = 6;
        Specified by:
        hasSubmittedTs in interface Job.JobDetailsOrBuilder
        Returns:
        Whether the submittedTs field is set.
      • getSubmittedTs

        public com.google.protobuf.Timestamp getSubmittedTs()
        .google.protobuf.Timestamp submitted_ts = 6;
        Specified by:
        getSubmittedTs in interface Job.JobDetailsOrBuilder
        Returns:
        The submittedTs.
      • hasCancelTs

        public boolean hasCancelTs()
        .google.protobuf.Timestamp cancel_ts = 7;
        Specified by:
        hasCancelTs in interface Job.JobDetailsOrBuilder
        Returns:
        Whether the cancelTs field is set.
      • getCancelTs

        public com.google.protobuf.Timestamp getCancelTs()
        .google.protobuf.Timestamp cancel_ts = 7;
        Specified by:
        getCancelTs in interface Job.JobDetailsOrBuilder
        Returns:
        The cancelTs.
      • getCancelReasonBytes

        public com.google.protobuf.ByteString getCancelReasonBytes()
        string cancel_reason = 8;
        Specified by:
        getCancelReasonBytes in interface Job.JobDetailsOrBuilder
        Returns:
        The bytes for cancelReason.
      • hasLastTransitionTs

        public boolean hasLastTransitionTs()
        .google.protobuf.Timestamp last_transition_ts = 9;
        Specified by:
        hasLastTransitionTs in interface Job.JobDetailsOrBuilder
        Returns:
        Whether the lastTransitionTs field is set.
      • getLastTransitionTs

        public com.google.protobuf.Timestamp getLastTransitionTs()
        .google.protobuf.Timestamp last_transition_ts = 9;
        Specified by:
        getLastTransitionTs in interface Job.JobDetailsOrBuilder
        Returns:
        The lastTransitionTs.
      • getLatestRunIdBytes

        public com.google.protobuf.ByteString getLatestRunIdBytes()
        string latest_run_id = 10;
        Specified by:
        getLatestRunIdBytes in interface Job.JobDetailsOrBuilder
        Returns:
        The bytes for latestRunId.
      • hasJobSpec

        public boolean hasJobSpec()
         Only filled in if expand_job_spec is true
         
        .api.Job job_spec = 11;
        Specified by:
        hasJobSpec in interface Job.JobDetailsOrBuilder
        Returns:
        Whether the jobSpec field is set.
      • getJobRunsCount

        public int getJobRunsCount()
         Only filled in if expand_job_run is true;
         
        repeated .api.JobRunDetails job_runs = 12;
        Specified by:
        getJobRunsCount in interface Job.JobDetailsOrBuilder
      • 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 Job.JobDetails parseFrom​(ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static Job.JobDetails parseFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected Job.JobDetails.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Job.JobDetails getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Job.JobDetails> parser()
      • getParserForType

        public com.google.protobuf.Parser<Job.JobDetails> 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 Job.JobDetails getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder