Class QueueRunnerDef

  • All Implemented Interfaces:
    Serializable, org.nd4j.shade.protobuf.Message, org.nd4j.shade.protobuf.MessageLite, org.nd4j.shade.protobuf.MessageLiteOrBuilder, org.nd4j.shade.protobuf.MessageOrBuilder, QueueRunnerDefOrBuilder

    public final class QueueRunnerDef
    extends org.nd4j.shade.protobuf.GeneratedMessageV3
    implements QueueRunnerDefOrBuilder
     Protocol buffer representing a QueueRunner.
     
    Protobuf type tensorflow.QueueRunnerDef
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  QueueRunnerDef.Builder
      Protocol buffer representing a QueueRunner.
      • Nested classes/interfaces inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3

        org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class org.nd4j.shade.protobuf.AbstractMessageLite

        org.nd4j.shade.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Detail

      • QUEUE_NAME_FIELD_NUMBER

        public static final int QUEUE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENQUEUE_OP_NAME_FIELD_NUMBER

        public static final int ENQUEUE_OP_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLOSE_OP_NAME_FIELD_NUMBER

        public static final int CLOSE_OP_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CANCEL_OP_NAME_FIELD_NUMBER

        public static final int CANCEL_OP_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • QUEUE_CLOSED_EXCEPTION_TYPES_FIELD_NUMBER

        public static final int QUEUE_CLOSED_EXCEPTION_TYPES_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getQueueNameBytes

        public org.nd4j.shade.protobuf.ByteString getQueueNameBytes()
         Queue name.
         
        string queue_name = 1;
        Specified by:
        getQueueNameBytes in interface QueueRunnerDefOrBuilder
        Returns:
        The bytes for queueName.
      • getEnqueueOpNameList

        public org.nd4j.shade.protobuf.ProtocolStringList getEnqueueOpNameList()
         A list of enqueue operations.
         
        repeated string enqueue_op_name = 2;
        Specified by:
        getEnqueueOpNameList in interface QueueRunnerDefOrBuilder
        Returns:
        A list containing the enqueueOpName.
      • getEnqueueOpNameCount

        public int getEnqueueOpNameCount()
         A list of enqueue operations.
         
        repeated string enqueue_op_name = 2;
        Specified by:
        getEnqueueOpNameCount in interface QueueRunnerDefOrBuilder
        Returns:
        The count of enqueueOpName.
      • getEnqueueOpName

        public String getEnqueueOpName​(int index)
         A list of enqueue operations.
         
        repeated string enqueue_op_name = 2;
        Specified by:
        getEnqueueOpName in interface QueueRunnerDefOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The enqueueOpName at the given index.
      • getEnqueueOpNameBytes

        public org.nd4j.shade.protobuf.ByteString getEnqueueOpNameBytes​(int index)
         A list of enqueue operations.
         
        repeated string enqueue_op_name = 2;
        Specified by:
        getEnqueueOpNameBytes in interface QueueRunnerDefOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the enqueueOpName at the given index.
      • getCloseOpNameBytes

        public org.nd4j.shade.protobuf.ByteString getCloseOpNameBytes()
         The operation to run to close the queue.
         
        string close_op_name = 3;
        Specified by:
        getCloseOpNameBytes in interface QueueRunnerDefOrBuilder
        Returns:
        The bytes for closeOpName.
      • getCancelOpNameBytes

        public org.nd4j.shade.protobuf.ByteString getCancelOpNameBytes()
         The operation to run to cancel the queue.
         
        string cancel_op_name = 4;
        Specified by:
        getCancelOpNameBytes in interface QueueRunnerDefOrBuilder
        Returns:
        The bytes for cancelOpName.
      • getQueueClosedExceptionTypesList

        public List<Code> getQueueClosedExceptionTypesList()
         A list of exception types considered to signal a safely closed queue
         if raised during enqueue operations.
         
        repeated .tensorflow.error.Code queue_closed_exception_types = 5;
        Specified by:
        getQueueClosedExceptionTypesList in interface QueueRunnerDefOrBuilder
        Returns:
        A list containing the queueClosedExceptionTypes.
      • getQueueClosedExceptionTypesCount

        public int getQueueClosedExceptionTypesCount()
         A list of exception types considered to signal a safely closed queue
         if raised during enqueue operations.
         
        repeated .tensorflow.error.Code queue_closed_exception_types = 5;
        Specified by:
        getQueueClosedExceptionTypesCount in interface QueueRunnerDefOrBuilder
        Returns:
        The count of queueClosedExceptionTypes.
      • getQueueClosedExceptionTypes

        public Code getQueueClosedExceptionTypes​(int index)
         A list of exception types considered to signal a safely closed queue
         if raised during enqueue operations.
         
        repeated .tensorflow.error.Code queue_closed_exception_types = 5;
        Specified by:
        getQueueClosedExceptionTypes in interface QueueRunnerDefOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The queueClosedExceptionTypes at the given index.
      • getQueueClosedExceptionTypesValueList

        public List<Integer> getQueueClosedExceptionTypesValueList()
         A list of exception types considered to signal a safely closed queue
         if raised during enqueue operations.
         
        repeated .tensorflow.error.Code queue_closed_exception_types = 5;
        Specified by:
        getQueueClosedExceptionTypesValueList in interface QueueRunnerDefOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for queueClosedExceptionTypes.
      • getQueueClosedExceptionTypesValue

        public int getQueueClosedExceptionTypesValue​(int index)
         A list of exception types considered to signal a safely closed queue
         if raised during enqueue operations.
         
        repeated .tensorflow.error.Code queue_closed_exception_types = 5;
        Specified by:
        getQueueClosedExceptionTypesValue in interface QueueRunnerDefOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of queueClosedExceptionTypes at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • writeTo

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

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        getSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • equals

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

        public int hashCode()
        Specified by:
        hashCode in interface org.nd4j.shade.protobuf.Message
        Overrides:
        hashCode in class org.nd4j.shade.protobuf.AbstractMessage
      • parseFrom

        public static QueueRunnerDef parseFrom​(ByteBuffer data)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueueRunnerDef parseFrom​(ByteBuffer data,
                                               org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueueRunnerDef parseFrom​(org.nd4j.shade.protobuf.ByteString data)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueueRunnerDef parseFrom​(org.nd4j.shade.protobuf.ByteString data,
                                               org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueueRunnerDef parseFrom​(byte[] data)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueueRunnerDef parseFrom​(byte[] data,
                                               org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static QueueRunnerDef parseFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                               org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public QueueRunnerDef.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface org.nd4j.shade.protobuf.Message
        Specified by:
        newBuilderForType in interface org.nd4j.shade.protobuf.MessageLite
      • toBuilder

        public QueueRunnerDef.Builder toBuilder()
        Specified by:
        toBuilder in interface org.nd4j.shade.protobuf.Message
        Specified by:
        toBuilder in interface org.nd4j.shade.protobuf.MessageLite
      • newBuilderForType

        protected QueueRunnerDef.Builder newBuilderForType​(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static QueueRunnerDef getDefaultInstance()
      • parser

        public static org.nd4j.shade.protobuf.Parser<QueueRunnerDef> parser()
      • getParserForType

        public org.nd4j.shade.protobuf.Parser<QueueRunnerDef> getParserForType()
        Specified by:
        getParserForType in interface org.nd4j.shade.protobuf.Message
        Specified by:
        getParserForType in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        getParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public QueueRunnerDef getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder