public static final class ControlledMode.Builder extends GeneratedMessageV3.Builder<ControlledMode.Builder> implements ControlledModeOrBuilderThe options for receiver under the controlled mode.
Protobuf type google.cloud.visionai.v1.ControlledMode
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ControlledMode.BuilderImplements
ControlledModeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ControlledMode.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
build()
public ControlledMode build()| Returns | |
|---|---|
| Type | Description |
ControlledMode |
|
buildPartial()
public ControlledMode buildPartial()| Returns | |
|---|---|
| Type | Description |
ControlledMode |
|
clear()
public ControlledMode.Builder clear()| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
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 | |
|---|---|
| Type | Description |
ControlledMode.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ControlledMode.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public ControlledMode.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
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 | |
|---|---|
| Type | Description |
ControlledMode.Builder |
This builder for chaining. |
clearStartingOffset()
public ControlledMode.Builder clearStartingOffset()| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
clone()
public ControlledMode.Builder clone()| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
getDefaultInstanceForType()
public ControlledMode getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ControlledMode |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
String |
The fallbackStartingOffset. |
getFallbackStartingOffsetBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fallbackStartingOffset. |
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;
| Returns | |
|---|---|
| Type | Description |
String |
The startingLogicalOffset. |
getStartingLogicalOffsetBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for startingLogicalOffset. |
getStartingOffsetCase()
public ControlledMode.StartingOffsetCase getStartingOffsetCase()| Returns | |
|---|---|
| Type | Description |
ControlledMode.StartingOffsetCase |
|
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startingLogicalOffset field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ControlledMode other)
public ControlledMode.Builder mergeFrom(ControlledMode other)| Parameter | |
|---|---|
| Name | Description |
other |
ControlledMode |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ControlledMode.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ControlledMode.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ControlledMode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
setFallbackStartingOffset(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fallbackStartingOffset to set. |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
This builder for chaining. |
setFallbackStartingOffsetBytes(ByteString value)
public ControlledMode.Builder setFallbackStartingOffsetBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fallbackStartingOffset to set. |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ControlledMode.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ControlledMode.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|
setStartingLogicalOffset(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe startingLogicalOffset to set. |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
This builder for chaining. |
setStartingLogicalOffsetBytes(ByteString value)
public ControlledMode.Builder setStartingLogicalOffsetBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for startingLogicalOffset to set. |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ControlledMode.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ControlledMode.Builder |
|