Class QueueRunnerDef.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<QueueRunnerDef.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<QueueRunnerDef.Builder>
org.tensorflow.proto.QueueRunnerDef.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, QueueRunnerDefOrBuilder
- Enclosing class:
QueueRunnerDef
public static final class QueueRunnerDef.Builder
extends GeneratedMessageV3.Builder<QueueRunnerDef.Builder>
implements QueueRunnerDefOrBuilder
Protocol buffer representing a QueueRunner.Protobuf type
tensorflow.QueueRunnerDef-
Method Summary
Modifier and TypeMethodDescriptionaddAllEnqueueOpName(Iterable<String> values) A list of enqueue operations.addAllQueueClosedExceptionTypes(Iterable<? extends Code> values) A list of exception types considered to signal a safely closed queue if raised during enqueue operations.A list of exception types considered to signal a safely closed queue if raised during enqueue operations.addEnqueueOpName(String value) A list of enqueue operations.addEnqueueOpNameBytes(ByteString value) A list of enqueue operations.addQueueClosedExceptionTypes(Code value) A list of exception types considered to signal a safely closed queue if raised during enqueue operations.addQueueClosedExceptionTypesValue(int value) A list of exception types considered to signal a safely closed queue if raised during enqueue operations.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()The operation to run to cancel the queue.The operation to run to close the queue.A list of enqueue operations.A list of exception types considered to signal a safely closed queue if raised during enqueue operations.Queue name.clone()The operation to run to cancel the queue.The operation to run to cancel the queue.The operation to run to close the queue.The operation to run to close the queue.static final Descriptors.DescriptorgetEnqueueOpName(int index) A list of enqueue operations.getEnqueueOpNameBytes(int index) A list of enqueue operations.intA list of enqueue operations.A list of enqueue operations.getQueueClosedExceptionTypes(int index) A list of exception types considered to signal a safely closed queue if raised during enqueue operations.intA list of exception types considered to signal a safely closed queue if raised during enqueue operations.A list of exception types considered to signal a safely closed queue if raised during enqueue operations.intgetQueueClosedExceptionTypesValue(int index) A list of exception types considered to signal a safely closed queue if raised during enqueue operations.A list of exception types considered to signal a safely closed queue if raised during enqueue operations.Queue name.Queue name.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(QueueRunnerDef other) final QueueRunnerDef.BuildermergeUnknownFields(UnknownFieldSet unknownFields) setCancelOpName(String value) The operation to run to cancel the queue.setCancelOpNameBytes(ByteString value) The operation to run to cancel the queue.setCloseOpName(String value) The operation to run to close the queue.setCloseOpNameBytes(ByteString value) The operation to run to close the queue.setEnqueueOpName(int index, String value) A list of enqueue operations.setField(Descriptors.FieldDescriptor field, Object value) setQueueClosedExceptionTypes(int index, Code value) A list of exception types considered to signal a safely closed queue if raised during enqueue operations.setQueueClosedExceptionTypesValue(int index, int value) A list of exception types considered to signal a safely closed queue if raised during enqueue operations.setQueueName(String value) Queue name.setQueueNameBytes(ByteString value) Queue name.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) final QueueRunnerDef.BuildersetUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
setRepeatedField
public QueueRunnerDef.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<QueueRunnerDef.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
mergeFrom
public QueueRunnerDef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<QueueRunnerDef.Builder>- Throws:
IOException
-
getQueueName
Queue name.
string queue_name = 1;- Specified by:
getQueueNamein interfaceQueueRunnerDefOrBuilder- Returns:
- The queueName.
-
getQueueNameBytes
Queue name.
string queue_name = 1;- Specified by:
getQueueNameBytesin interfaceQueueRunnerDefOrBuilder- Returns:
- The bytes for queueName.
-
setQueueName
Queue name.
string queue_name = 1;- Parameters:
value- The queueName to set.- Returns:
- This builder for chaining.
-
clearQueueName
Queue name.
string queue_name = 1;- Returns:
- This builder for chaining.
-
setQueueNameBytes
Queue name.
string queue_name = 1;- Parameters:
value- The bytes for queueName to set.- Returns:
- This builder for chaining.
-
getEnqueueOpNameList
A list of enqueue operations.
repeated string enqueue_op_name = 2;- Specified by:
getEnqueueOpNameListin interfaceQueueRunnerDefOrBuilder- Returns:
- A list containing the enqueueOpName.
-
getEnqueueOpNameCount
public int getEnqueueOpNameCount()A list of enqueue operations.
repeated string enqueue_op_name = 2;- Specified by:
getEnqueueOpNameCountin interfaceQueueRunnerDefOrBuilder- Returns:
- The count of enqueueOpName.
-
getEnqueueOpName
A list of enqueue operations.
repeated string enqueue_op_name = 2;- Specified by:
getEnqueueOpNamein interfaceQueueRunnerDefOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The enqueueOpName at the given index.
-
getEnqueueOpNameBytes
A list of enqueue operations.
repeated string enqueue_op_name = 2;- Specified by:
getEnqueueOpNameBytesin interfaceQueueRunnerDefOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the enqueueOpName at the given index.
-
setEnqueueOpName
A list of enqueue operations.
repeated string enqueue_op_name = 2;- Parameters:
index- The index to set the value at.value- The enqueueOpName to set.- Returns:
- This builder for chaining.
-
addEnqueueOpName
A list of enqueue operations.
repeated string enqueue_op_name = 2;- Parameters:
value- The enqueueOpName to add.- Returns:
- This builder for chaining.
-
addAllEnqueueOpName
A list of enqueue operations.
repeated string enqueue_op_name = 2;- Parameters:
values- The enqueueOpName to add.- Returns:
- This builder for chaining.
-
clearEnqueueOpName
A list of enqueue operations.
repeated string enqueue_op_name = 2;- Returns:
- This builder for chaining.
-
addEnqueueOpNameBytes
A list of enqueue operations.
repeated string enqueue_op_name = 2;- Parameters:
value- The bytes of the enqueueOpName to add.- Returns:
- This builder for chaining.
-
getCloseOpName
The operation to run to close the queue.
string close_op_name = 3;- Specified by:
getCloseOpNamein interfaceQueueRunnerDefOrBuilder- Returns:
- The closeOpName.
-
getCloseOpNameBytes
The operation to run to close the queue.
string close_op_name = 3;- Specified by:
getCloseOpNameBytesin interfaceQueueRunnerDefOrBuilder- Returns:
- The bytes for closeOpName.
-
setCloseOpName
The operation to run to close the queue.
string close_op_name = 3;- Parameters:
value- The closeOpName to set.- Returns:
- This builder for chaining.
-
clearCloseOpName
The operation to run to close the queue.
string close_op_name = 3;- Returns:
- This builder for chaining.
-
setCloseOpNameBytes
The operation to run to close the queue.
string close_op_name = 3;- Parameters:
value- The bytes for closeOpName to set.- Returns:
- This builder for chaining.
-
getCancelOpName
The operation to run to cancel the queue.
string cancel_op_name = 4;- Specified by:
getCancelOpNamein interfaceQueueRunnerDefOrBuilder- Returns:
- The cancelOpName.
-
getCancelOpNameBytes
The operation to run to cancel the queue.
string cancel_op_name = 4;- Specified by:
getCancelOpNameBytesin interfaceQueueRunnerDefOrBuilder- Returns:
- The bytes for cancelOpName.
-
setCancelOpName
The operation to run to cancel the queue.
string cancel_op_name = 4;- Parameters:
value- The cancelOpName to set.- Returns:
- This builder for chaining.
-
clearCancelOpName
The operation to run to cancel the queue.
string cancel_op_name = 4;- Returns:
- This builder for chaining.
-
setCancelOpNameBytes
The operation to run to cancel the queue.
string cancel_op_name = 4;- Parameters:
value- The bytes for cancelOpName to set.- Returns:
- This builder for chaining.
-
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:
getQueueClosedExceptionTypesListin 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:
getQueueClosedExceptionTypesCountin interfaceQueueRunnerDefOrBuilder- Returns:
- The count of queueClosedExceptionTypes.
-
getQueueClosedExceptionTypes
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:
getQueueClosedExceptionTypesin interfaceQueueRunnerDefOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The queueClosedExceptionTypes at the given index.
-
setQueueClosedExceptionTypes
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;- Parameters:
index- The index to set the value at.value- The queueClosedExceptionTypes to set.- Returns:
- This builder for chaining.
-
addQueueClosedExceptionTypes
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;- Parameters:
value- The queueClosedExceptionTypes to add.- Returns:
- This builder for chaining.
-
addAllQueueClosedExceptionTypes
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;- Parameters:
values- The queueClosedExceptionTypes to add.- Returns:
- This builder for chaining.
-
clearQueueClosedExceptionTypes
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;- Returns:
- This builder for chaining.
-
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:
getQueueClosedExceptionTypesValueListin 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:
getQueueClosedExceptionTypesValuein interfaceQueueRunnerDefOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of queueClosedExceptionTypes at the given index.
-
setQueueClosedExceptionTypesValue
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;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for queueClosedExceptionTypes to set.- Returns:
- This builder for chaining.
-
addQueueClosedExceptionTypesValue
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;- Parameters:
value- The enum numeric value on the wire for queueClosedExceptionTypes to add.- Returns:
- This builder for chaining.
-
addAllQueueClosedExceptionTypesValue
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;- Parameters:
values- The enum numeric values on the wire for queueClosedExceptionTypes to add.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<QueueRunnerDef.Builder>
-