Class QueueRunnerDef.Builder

All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, QueueRunnerDefOrBuilder
Enclosing class:
QueueRunnerDef

public static final class QueueRunnerDef.Builder extends GeneratedMessage.Builder<QueueRunnerDef.Builder> implements QueueRunnerDefOrBuilder
Protocol buffer representing a QueueRunner.
Protobuf type tensorflow.QueueRunnerDef
  • Method Details

    • getDescriptor

      public static final Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class GeneratedMessage.Builder<QueueRunnerDef.Builder>
    • clear

      public QueueRunnerDef.Builder clear()
      Specified by:
      clear in interface Message.Builder
      Specified by:
      clear in interface MessageLite.Builder
      Overrides:
      clear in class GeneratedMessage.Builder<QueueRunnerDef.Builder>
    • getDescriptorForType

      public Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface Message.Builder
      Specified by:
      getDescriptorForType in interface MessageOrBuilder
      Overrides:
      getDescriptorForType in class GeneratedMessage.Builder<QueueRunnerDef.Builder>
    • getDefaultInstanceForType

      public QueueRunnerDef getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface MessageOrBuilder
    • build

      public QueueRunnerDef build()
      Specified by:
      build in interface Message.Builder
      Specified by:
      build in interface MessageLite.Builder
    • buildPartial

      public QueueRunnerDef buildPartial()
      Specified by:
      buildPartial in interface Message.Builder
      Specified by:
      buildPartial in interface MessageLite.Builder
    • mergeFrom

      public QueueRunnerDef.Builder mergeFrom(Message other)
      Specified by:
      mergeFrom in interface Message.Builder
      Overrides:
      mergeFrom in class AbstractMessage.Builder<QueueRunnerDef.Builder>
    • mergeFrom

      public QueueRunnerDef.Builder mergeFrom(QueueRunnerDef other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface MessageLiteOrBuilder
      Overrides:
      isInitialized in class GeneratedMessage.Builder<QueueRunnerDef.Builder>
    • mergeFrom

      public QueueRunnerDef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface Message.Builder
      Specified by:
      mergeFrom in interface MessageLite.Builder
      Overrides:
      mergeFrom in class AbstractMessage.Builder<QueueRunnerDef.Builder>
      Throws:
      IOException
    • getQueueName

      public String getQueueName()
      Queue name.
      
      string queue_name = 1;
      Specified by:
      getQueueName in interface QueueRunnerDefOrBuilder
      Returns:
      The queueName.
    • getQueueNameBytes

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

      public QueueRunnerDef.Builder setQueueName(String value)
      Queue name.
      
      string queue_name = 1;
      Parameters:
      value - The queueName to set.
      Returns:
      This builder for chaining.
    • clearQueueName

      public QueueRunnerDef.Builder clearQueueName()
      Queue name.
      
      string queue_name = 1;
      Returns:
      This builder for chaining.
    • setQueueNameBytes

      public QueueRunnerDef.Builder setQueueNameBytes(ByteString value)
      Queue name.
      
      string queue_name = 1;
      Parameters:
      value - The bytes for queueName to set.
      Returns:
      This builder for chaining.
    • getEnqueueOpNameList

      public 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 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.
    • setEnqueueOpName

      public QueueRunnerDef.Builder setEnqueueOpName(int index, String value)
      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

      public QueueRunnerDef.Builder addEnqueueOpName(String value)
      A list of enqueue operations.
      
      repeated string enqueue_op_name = 2;
      Parameters:
      value - The enqueueOpName to add.
      Returns:
      This builder for chaining.
    • addAllEnqueueOpName

      public QueueRunnerDef.Builder addAllEnqueueOpName(Iterable<String> values)
      A list of enqueue operations.
      
      repeated string enqueue_op_name = 2;
      Parameters:
      values - The enqueueOpName to add.
      Returns:
      This builder for chaining.
    • clearEnqueueOpName

      public QueueRunnerDef.Builder clearEnqueueOpName()
      A list of enqueue operations.
      
      repeated string enqueue_op_name = 2;
      Returns:
      This builder for chaining.
    • addEnqueueOpNameBytes

      public QueueRunnerDef.Builder addEnqueueOpNameBytes(ByteString value)
      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

      public String getCloseOpName()
      The operation to run to close the queue.
      
      string close_op_name = 3;
      Specified by:
      getCloseOpName in interface QueueRunnerDefOrBuilder
      Returns:
      The closeOpName.
    • getCloseOpNameBytes

      public 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.
    • setCloseOpName

      public QueueRunnerDef.Builder setCloseOpName(String value)
      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

      public QueueRunnerDef.Builder clearCloseOpName()
      The operation to run to close the queue.
      
      string close_op_name = 3;
      Returns:
      This builder for chaining.
    • setCloseOpNameBytes

      public QueueRunnerDef.Builder setCloseOpNameBytes(ByteString value)
      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

      public String getCancelOpName()
      The operation to run to cancel the queue.
      
      string cancel_op_name = 4;
      Specified by:
      getCancelOpName in interface QueueRunnerDefOrBuilder
      Returns:
      The cancelOpName.
    • getCancelOpNameBytes

      public 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.
    • setCancelOpName

      public QueueRunnerDef.Builder setCancelOpName(String value)
      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

      public QueueRunnerDef.Builder clearCancelOpName()
      The operation to run to cancel the queue.
      
      string cancel_op_name = 4;
      Returns:
      This builder for chaining.
    • setCancelOpNameBytes

      public QueueRunnerDef.Builder setCancelOpNameBytes(ByteString value)
      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

      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.
    • setQueueClosedExceptionTypes

      public QueueRunnerDef.Builder setQueueClosedExceptionTypes(int index, Code value)
      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

      public QueueRunnerDef.Builder addQueueClosedExceptionTypes(Code value)
      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

      public QueueRunnerDef.Builder addAllQueueClosedExceptionTypes(Iterable<? extends Code> values)
      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

      public QueueRunnerDef.Builder 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

      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.
    • setQueueClosedExceptionTypesValue

      public QueueRunnerDef.Builder setQueueClosedExceptionTypesValue(int index, int value)
      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

      public QueueRunnerDef.Builder addQueueClosedExceptionTypesValue(int value)
      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

      public QueueRunnerDef.Builder addAllQueueClosedExceptionTypesValue(Iterable<Integer> values)
      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.