Class OperatorDefinition.ArgumentDefinition.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OperatorDefinition.ArgumentDefinition.Builder>
com.google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition.Builder
All Implemented Interfaces:
OperatorDefinition.ArgumentDefinitionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
OperatorDefinition.ArgumentDefinition

public static final class OperatorDefinition.ArgumentDefinition.Builder extends com.google.protobuf.GeneratedMessage.Builder<OperatorDefinition.ArgumentDefinition.Builder> implements OperatorDefinition.ArgumentDefinitionOrBuilder
 Defines an argument to an operator.

 Used for both inputs and outputs.
 
Protobuf type google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<OperatorDefinition.ArgumentDefinition.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<OperatorDefinition.ArgumentDefinition.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<OperatorDefinition.ArgumentDefinition.Builder>
    • getDefaultInstanceForType

      public OperatorDefinition.ArgumentDefinition getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public OperatorDefinition.ArgumentDefinition.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OperatorDefinition.ArgumentDefinition.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<OperatorDefinition.ArgumentDefinition.Builder>
    • mergeFrom

      public OperatorDefinition.ArgumentDefinition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OperatorDefinition.ArgumentDefinition.Builder>
      Throws:
      IOException
    • getArgument

      public String getArgument()
       The name of the argument.
      
       Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., video, audio,
       high_fps_frame.
       
      string argument = 1;
      Specified by:
      getArgument in interface OperatorDefinition.ArgumentDefinitionOrBuilder
      Returns:
      The argument.
    • getArgumentBytes

      public com.google.protobuf.ByteString getArgumentBytes()
       The name of the argument.
      
       Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., video, audio,
       high_fps_frame.
       
      string argument = 1;
      Specified by:
      getArgumentBytes in interface OperatorDefinition.ArgumentDefinitionOrBuilder
      Returns:
      The bytes for argument.
    • setArgument

       The name of the argument.
      
       Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., video, audio,
       high_fps_frame.
       
      string argument = 1;
      Parameters:
      value - The argument to set.
      Returns:
      This builder for chaining.
    • clearArgument

       The name of the argument.
      
       Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., video, audio,
       high_fps_frame.
       
      string argument = 1;
      Returns:
      This builder for chaining.
    • setArgumentBytes

      public OperatorDefinition.ArgumentDefinition.Builder setArgumentBytes(com.google.protobuf.ByteString value)
       The name of the argument.
      
       Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., video, audio,
       high_fps_frame.
       
      string argument = 1;
      Parameters:
      value - The bytes for argument to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       The data type of the argument.
      
       This should match the textual representation of a stream/Packet type.
       
      string type = 2;
      Specified by:
      getType in interface OperatorDefinition.ArgumentDefinitionOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The data type of the argument.
      
       This should match the textual representation of a stream/Packet type.
       
      string type = 2;
      Specified by:
      getTypeBytes in interface OperatorDefinition.ArgumentDefinitionOrBuilder
      Returns:
      The bytes for type.
    • setType

       The data type of the argument.
      
       This should match the textual representation of a stream/Packet type.
       
      string type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       The data type of the argument.
      
       This should match the textual representation of a stream/Packet type.
       
      string type = 2;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public OperatorDefinition.ArgumentDefinition.Builder setTypeBytes(com.google.protobuf.ByteString value)
       The data type of the argument.
      
       This should match the textual representation of a stream/Packet type.
       
      string type = 2;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.