Class ControlledMode.Builder

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

public static final class ControlledMode.Builder extends com.google.protobuf.GeneratedMessage.Builder<ControlledMode.Builder> implements ControlledModeOrBuilder
 The options for receiver under the controlled mode.
 
Protobuf type google.cloud.visionai.v1.ControlledMode
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    This is the logical starting point to fallback upon should the specified starting offset be unavailable.
    This can be set to the following logical starting points: "begin": This will read from the earliest available message.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    This is the logical starting point to fallback upon should the specified starting offset be unavailable.
    com.google.protobuf.ByteString
    This is the logical starting point to fallback upon should the specified starting offset be unavailable.
    This can be set to the following logical starting points: "begin": This will read from the earliest available message.
    com.google.protobuf.ByteString
    This can be set to the following logical starting points: "begin": This will read from the earliest available message.
     
    boolean
    This can be set to the following logical starting points: "begin": This will read from the earliest available message.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    This is the logical starting point to fallback upon should the specified starting offset be unavailable.
    setFallbackStartingOffsetBytes(com.google.protobuf.ByteString value)
    This is the logical starting point to fallback upon should the specified starting offset be unavailable.
    This can be set to the following logical starting points: "begin": This will read from the earliest available message.
    setStartingLogicalOffsetBytes(com.google.protobuf.ByteString value)
    This can be set to the following logical starting points: "begin": This will read from the earliest available message.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<ControlledMode.Builder>
    • clear

      public ControlledMode.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<ControlledMode.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<ControlledMode.Builder>
    • getDefaultInstanceForType

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

      public ControlledMode build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ControlledMode buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ControlledMode.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<ControlledMode.Builder>
    • mergeFrom

      public ControlledMode.Builder mergeFrom(ControlledMode other)
    • isInitialized

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

      public ControlledMode.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<ControlledMode.Builder>
      Throws:
      IOException
    • getStartingOffsetCase

      public ControlledMode.StartingOffsetCase getStartingOffsetCase()
      Specified by:
      getStartingOffsetCase in interface ControlledModeOrBuilder
    • clearStartingOffset

      public ControlledMode.Builder clearStartingOffset()
    • hasStartingLogicalOffset

      public boolean hasStartingLogicalOffset()
       This can be set to the following logical starting points:
      
       "begin": This will read from the earliest available message.
      
       "most-recent": This will read from the latest available message.
      
       "end": This will read only future messages.
      
       "stored": This will resume reads one past the last committed offset.
       It is the only option that resumes progress; all others
       jump unilaterally.
       
      string starting_logical_offset = 1;
      Specified by:
      hasStartingLogicalOffset in interface ControlledModeOrBuilder
      Returns:
      Whether the startingLogicalOffset field is set.
    • getStartingLogicalOffset

      public String getStartingLogicalOffset()
       This can be set to the following logical starting points:
      
       "begin": This will read from the earliest available message.
      
       "most-recent": This will read from the latest available message.
      
       "end": This will read only future messages.
      
       "stored": This will resume reads one past the last committed offset.
       It is the only option that resumes progress; all others
       jump unilaterally.
       
      string starting_logical_offset = 1;
      Specified by:
      getStartingLogicalOffset in interface ControlledModeOrBuilder
      Returns:
      The startingLogicalOffset.
    • getStartingLogicalOffsetBytes

      public com.google.protobuf.ByteString getStartingLogicalOffsetBytes()
       This can be set to the following logical starting points:
      
       "begin": This will read from the earliest available message.
      
       "most-recent": This will read from the latest available message.
      
       "end": This will read only future messages.
      
       "stored": This will resume reads one past the last committed offset.
       It is the only option that resumes progress; all others
       jump unilaterally.
       
      string starting_logical_offset = 1;
      Specified by:
      getStartingLogicalOffsetBytes in interface ControlledModeOrBuilder
      Returns:
      The bytes for startingLogicalOffset.
    • setStartingLogicalOffset

      public ControlledMode.Builder setStartingLogicalOffset(String value)
       This can be set to the following logical starting points:
      
       "begin": This will read from the earliest available message.
      
       "most-recent": This will read from the latest available message.
      
       "end": This will read only future messages.
      
       "stored": This will resume reads one past the last committed offset.
       It is the only option that resumes progress; all others
       jump unilaterally.
       
      string starting_logical_offset = 1;
      Parameters:
      value - The startingLogicalOffset to set.
      Returns:
      This builder for chaining.
    • clearStartingLogicalOffset

      public ControlledMode.Builder clearStartingLogicalOffset()
       This can be set to the following logical starting points:
      
       "begin": This will read from the earliest available message.
      
       "most-recent": This will read from the latest available message.
      
       "end": This will read only future messages.
      
       "stored": This will resume reads one past the last committed offset.
       It is the only option that resumes progress; all others
       jump unilaterally.
       
      string starting_logical_offset = 1;
      Returns:
      This builder for chaining.
    • setStartingLogicalOffsetBytes

      public ControlledMode.Builder setStartingLogicalOffsetBytes(com.google.protobuf.ByteString value)
       This can be set to the following logical starting points:
      
       "begin": This will read from the earliest available message.
      
       "most-recent": This will read from the latest available message.
      
       "end": This will read only future messages.
      
       "stored": This will resume reads one past the last committed offset.
       It is the only option that resumes progress; all others
       jump unilaterally.
       
      string starting_logical_offset = 1;
      Parameters:
      value - The bytes for startingLogicalOffset to set.
      Returns:
      This builder for chaining.
    • getFallbackStartingOffset

      public String getFallbackStartingOffset()
       This is the logical starting point to fallback upon should the
       specified starting offset be unavailable.
      
       This can be one of the following values:
      
       "begin": This will read from the earliest available message.
      
       "end": This will read only future messages.
       
      string fallback_starting_offset = 2;
      Specified by:
      getFallbackStartingOffset in interface ControlledModeOrBuilder
      Returns:
      The fallbackStartingOffset.
    • getFallbackStartingOffsetBytes

      public com.google.protobuf.ByteString getFallbackStartingOffsetBytes()
       This is the logical starting point to fallback upon should the
       specified starting offset be unavailable.
      
       This can be one of the following values:
      
       "begin": This will read from the earliest available message.
      
       "end": This will read only future messages.
       
      string fallback_starting_offset = 2;
      Specified by:
      getFallbackStartingOffsetBytes in interface ControlledModeOrBuilder
      Returns:
      The bytes for fallbackStartingOffset.
    • setFallbackStartingOffset

      public ControlledMode.Builder setFallbackStartingOffset(String value)
       This is the logical starting point to fallback upon should the
       specified starting offset be unavailable.
      
       This can be one of the following values:
      
       "begin": This will read from the earliest available message.
      
       "end": This will read only future messages.
       
      string fallback_starting_offset = 2;
      Parameters:
      value - The fallbackStartingOffset to set.
      Returns:
      This builder for chaining.
    • clearFallbackStartingOffset

      public ControlledMode.Builder clearFallbackStartingOffset()
       This is the logical starting point to fallback upon should the
       specified starting offset be unavailable.
      
       This can be one of the following values:
      
       "begin": This will read from the earliest available message.
      
       "end": This will read only future messages.
       
      string fallback_starting_offset = 2;
      Returns:
      This builder for chaining.
    • setFallbackStartingOffsetBytes

      public ControlledMode.Builder setFallbackStartingOffsetBytes(com.google.protobuf.ByteString value)
       This is the logical starting point to fallback upon should the
       specified starting offset be unavailable.
      
       This can be one of the following values:
      
       "begin": This will read from the earliest available message.
      
       "end": This will read only future messages.
       
      string fallback_starting_offset = 2;
      Parameters:
      value - The bytes for fallbackStartingOffset to set.
      Returns:
      This builder for chaining.