Package com.google.cloud.visionai.v1
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 TypeMethodDescriptionbuild()clear()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.Descriptorcom.google.protobuf.Descriptors.DescriptorThis is the logical starting point to fallback upon should the specified starting offset be unavailable.com.google.protobuf.ByteStringThis 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.ByteStringThis can be set to the following logical starting points: "begin": This will read from the earliest available message.booleanThis can be set to the following logical starting points: "begin": This will read from the earliest available message.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ControlledMode other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setFallbackStartingOffset(String value) 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.setStartingLogicalOffset(String value) 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ControlledMode.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ControlledMode.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ControlledMode.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ControlledMode.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ControlledMode.Builder>- Throws:
IOException
-
getStartingOffsetCase
- Specified by:
getStartingOffsetCasein interfaceControlledModeOrBuilder
-
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:
hasStartingLogicalOffsetin interfaceControlledModeOrBuilder- Returns:
- Whether the startingLogicalOffset field is set.
-
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:
getStartingLogicalOffsetin interfaceControlledModeOrBuilder- 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:
getStartingLogicalOffsetBytesin interfaceControlledModeOrBuilder- Returns:
- The bytes for startingLogicalOffset.
-
setStartingLogicalOffset
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
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
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
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:
getFallbackStartingOffsetin interfaceControlledModeOrBuilder- 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:
getFallbackStartingOffsetBytesin interfaceControlledModeOrBuilder- Returns:
- The bytes for fallbackStartingOffset.
-
setFallbackStartingOffset
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
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
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.
-