Package org.tensorflow.framework
Class QueueRunnerDef
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite
-
- org.nd4j.shade.protobuf.AbstractMessage
-
- org.nd4j.shade.protobuf.GeneratedMessageV3
-
- org.tensorflow.framework.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 typetensorflow.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
-
-
Field Summary
Fields Modifier and Type Field Description static int
CANCEL_OP_NAME_FIELD_NUMBER
static int
CLOSE_OP_NAME_FIELD_NUMBER
static int
ENQUEUE_OP_NAME_FIELD_NUMBER
static int
QUEUE_CLOSED_EXCEPTION_TYPES_FIELD_NUMBER
static int
QUEUE_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCancelOpName()
The operation to run to cancel the queue.org.nd4j.shade.protobuf.ByteString
getCancelOpNameBytes()
The operation to run to cancel the queue.String
getCloseOpName()
The operation to run to close the queue.org.nd4j.shade.protobuf.ByteString
getCloseOpNameBytes()
The operation to run to close the queue.static QueueRunnerDef
getDefaultInstance()
QueueRunnerDef
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEnqueueOpName(int index)
A list of enqueue operations.org.nd4j.shade.protobuf.ByteString
getEnqueueOpNameBytes(int index)
A list of enqueue operations.int
getEnqueueOpNameCount()
A list of enqueue operations.org.nd4j.shade.protobuf.ProtocolStringList
getEnqueueOpNameList()
A list of enqueue operations.org.nd4j.shade.protobuf.Parser<QueueRunnerDef>
getParserForType()
Code
getQueueClosedExceptionTypes(int index)
A list of exception types considered to signal a safely closed queue if raised during enqueue operations.int
getQueueClosedExceptionTypesCount()
A list of exception types considered to signal a safely closed queue if raised during enqueue operations.List<Code>
getQueueClosedExceptionTypesList()
A list of exception types considered to signal a safely closed queue if raised during enqueue operations.int
getQueueClosedExceptionTypesValue(int index)
A list of exception types considered to signal a safely closed queue if raised during enqueue operations.List<Integer>
getQueueClosedExceptionTypesValueList()
A list of exception types considered to signal a safely closed queue if raised during enqueue operations.String
getQueueName()
Queue name.org.nd4j.shade.protobuf.ByteString
getQueueNameBytes()
Queue name.int
getSerializedSize()
org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static QueueRunnerDef.Builder
newBuilder()
static QueueRunnerDef.Builder
newBuilder(QueueRunnerDef prototype)
QueueRunnerDef.Builder
newBuilderForType()
protected QueueRunnerDef.Builder
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static QueueRunnerDef
parseDelimitedFrom(InputStream input)
static QueueRunnerDef
parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static QueueRunnerDef
parseFrom(byte[] data)
static QueueRunnerDef
parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static QueueRunnerDef
parseFrom(InputStream input)
static QueueRunnerDef
parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static QueueRunnerDef
parseFrom(ByteBuffer data)
static QueueRunnerDef
parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static QueueRunnerDef
parseFrom(org.nd4j.shade.protobuf.ByteString data)
static QueueRunnerDef
parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static QueueRunnerDef
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input)
static QueueRunnerDef
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static org.nd4j.shade.protobuf.Parser<QueueRunnerDef>
parser()
QueueRunnerDef.Builder
toBuilder()
void
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
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 classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getUnknownFields
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classorg.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 classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getQueueName
public String getQueueName()
Queue name.
string queue_name = 1;
- Specified by:
getQueueName
in interfaceQueueRunnerDefOrBuilder
- Returns:
- The queueName.
-
getQueueNameBytes
public org.nd4j.shade.protobuf.ByteString getQueueNameBytes()
Queue name.
string queue_name = 1;
- Specified by:
getQueueNameBytes
in interfaceQueueRunnerDefOrBuilder
- 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 interfaceQueueRunnerDefOrBuilder
- 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 interfaceQueueRunnerDefOrBuilder
- 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 interfaceQueueRunnerDefOrBuilder
- 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 interfaceQueueRunnerDefOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the enqueueOpName at the given index.
-
getCloseOpName
public String getCloseOpName()
The operation to run to close the queue.
string close_op_name = 3;
- Specified by:
getCloseOpName
in interfaceQueueRunnerDefOrBuilder
- Returns:
- The closeOpName.
-
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 interfaceQueueRunnerDefOrBuilder
- Returns:
- The bytes for closeOpName.
-
getCancelOpName
public String getCancelOpName()
The operation to run to cancel the queue.
string cancel_op_name = 4;
- Specified by:
getCancelOpName
in interfaceQueueRunnerDefOrBuilder
- Returns:
- The cancelOpName.
-
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 interfaceQueueRunnerDefOrBuilder
- 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 interfaceQueueRunnerDefOrBuilder
- 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 interfaceQueueRunnerDefOrBuilder
- 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 interfaceQueueRunnerDefOrBuilder
- 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 interfaceQueueRunnerDefOrBuilder
- 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 interfaceQueueRunnerDefOrBuilder
- 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 interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
writeTo
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getSerializedSize
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
equals
in classorg.nd4j.shade.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
hashCode
in classorg.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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static QueueRunnerDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QueueRunnerDef parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static QueueRunnerDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static QueueRunnerDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
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 interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
newBuilderForType
in interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilder
public static QueueRunnerDef.Builder newBuilder()
-
newBuilder
public static QueueRunnerDef.Builder newBuilder(QueueRunnerDef prototype)
-
toBuilder
public QueueRunnerDef.Builder toBuilder()
- Specified by:
toBuilder
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
toBuilder
in interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilderForType
protected QueueRunnerDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classorg.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 interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
getParserForType
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getParserForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public QueueRunnerDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
-