Class SchemaKeySortingStrategy.Builder (0.9.0)

public static final class SchemaKeySortingStrategy.Builder extends GeneratedMessageV3.Builder<SchemaKeySortingStrategy.Builder> implements SchemaKeySortingStrategyOrBuilder

A strategy to specify how to sort by data schema key.

Protobuf type google.cloud.visionai.v1.SchemaKeySortingStrategy

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllOptions(Iterable<? extends SchemaKeySortingStrategy.Option> values)

public SchemaKeySortingStrategy.Builder addAllOptions(Iterable<? extends SchemaKeySortingStrategy.Option> values)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.SchemaKeySortingStrategy.Option>
Returns
Type Description
SchemaKeySortingStrategy.Builder

addOptions(SchemaKeySortingStrategy.Option value)

public SchemaKeySortingStrategy.Builder addOptions(SchemaKeySortingStrategy.Option value)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameter
Name Description
value SchemaKeySortingStrategy.Option
Returns
Type Description
SchemaKeySortingStrategy.Builder

addOptions(SchemaKeySortingStrategy.Option.Builder builderForValue)

public SchemaKeySortingStrategy.Builder addOptions(SchemaKeySortingStrategy.Option.Builder builderForValue)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameter
Name Description
builderForValue SchemaKeySortingStrategy.Option.Builder
Returns
Type Description
SchemaKeySortingStrategy.Builder

addOptions(int index, SchemaKeySortingStrategy.Option value)

public SchemaKeySortingStrategy.Builder addOptions(int index, SchemaKeySortingStrategy.Option value)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameters
Name Description
index int
value SchemaKeySortingStrategy.Option
Returns
Type Description
SchemaKeySortingStrategy.Builder

addOptions(int index, SchemaKeySortingStrategy.Option.Builder builderForValue)

public SchemaKeySortingStrategy.Builder addOptions(int index, SchemaKeySortingStrategy.Option.Builder builderForValue)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameters
Name Description
index int
builderForValue SchemaKeySortingStrategy.Option.Builder
Returns
Type Description
SchemaKeySortingStrategy.Builder

addOptionsBuilder()

public SchemaKeySortingStrategy.Option.Builder addOptionsBuilder()

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Returns
Type Description
SchemaKeySortingStrategy.Option.Builder

addOptionsBuilder(int index)

public SchemaKeySortingStrategy.Option.Builder addOptionsBuilder(int index)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameter
Name Description
index int
Returns
Type Description
SchemaKeySortingStrategy.Option.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SchemaKeySortingStrategy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides

build()

public SchemaKeySortingStrategy build()
Returns
Type Description
SchemaKeySortingStrategy

buildPartial()

public SchemaKeySortingStrategy buildPartial()
Returns
Type Description
SchemaKeySortingStrategy

clear()

public SchemaKeySortingStrategy.Builder clear()
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SchemaKeySortingStrategy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SchemaKeySortingStrategy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides

clearOptions()

public SchemaKeySortingStrategy.Builder clearOptions()

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Returns
Type Description
SchemaKeySortingStrategy.Builder

clone()

public SchemaKeySortingStrategy.Builder clone()
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides

getDefaultInstanceForType()

public SchemaKeySortingStrategy getDefaultInstanceForType()
Returns
Type Description
SchemaKeySortingStrategy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOptions(int index)

public SchemaKeySortingStrategy.Option getOptions(int index)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameter
Name Description
index int
Returns
Type Description
SchemaKeySortingStrategy.Option

getOptionsBuilder(int index)

public SchemaKeySortingStrategy.Option.Builder getOptionsBuilder(int index)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameter
Name Description
index int
Returns
Type Description
SchemaKeySortingStrategy.Option.Builder

getOptionsBuilderList()

public List<SchemaKeySortingStrategy.Option.Builder> getOptionsBuilderList()

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Returns
Type Description
List<Builder>

getOptionsCount()

public int getOptionsCount()

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Returns
Type Description
int

getOptionsList()

public List<SchemaKeySortingStrategy.Option> getOptionsList()

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Returns
Type Description
List<Option>

getOptionsOrBuilder(int index)

public SchemaKeySortingStrategy.OptionOrBuilder getOptionsOrBuilder(int index)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameter
Name Description
index int
Returns
Type Description
SchemaKeySortingStrategy.OptionOrBuilder

getOptionsOrBuilderList()

public List<? extends SchemaKeySortingStrategy.OptionOrBuilder> getOptionsOrBuilderList()

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.SchemaKeySortingStrategy.OptionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SchemaKeySortingStrategy other)

public SchemaKeySortingStrategy.Builder mergeFrom(SchemaKeySortingStrategy other)
Parameter
Name Description
other SchemaKeySortingStrategy
Returns
Type Description
SchemaKeySortingStrategy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SchemaKeySortingStrategy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SchemaKeySortingStrategy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SchemaKeySortingStrategy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides

removeOptions(int index)

public SchemaKeySortingStrategy.Builder removeOptions(int index)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameter
Name Description
index int
Returns
Type Description
SchemaKeySortingStrategy.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SchemaKeySortingStrategy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides

setOptions(int index, SchemaKeySortingStrategy.Option value)

public SchemaKeySortingStrategy.Builder setOptions(int index, SchemaKeySortingStrategy.Option value)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameters
Name Description
index int
value SchemaKeySortingStrategy.Option
Returns
Type Description
SchemaKeySortingStrategy.Builder

setOptions(int index, SchemaKeySortingStrategy.Option.Builder builderForValue)

public SchemaKeySortingStrategy.Builder setOptions(int index, SchemaKeySortingStrategy.Option.Builder builderForValue)

Options in the front have high priority than those in the back.

repeated .google.cloud.visionai.v1.SchemaKeySortingStrategy.Option options = 1;

Parameters
Name Description
index int
builderForValue SchemaKeySortingStrategy.Option.Builder
Returns
Type Description
SchemaKeySortingStrategy.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SchemaKeySortingStrategy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SchemaKeySortingStrategy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SchemaKeySortingStrategy.Builder
Overrides