Class SearchCapability.Builder (0.9.0)

public static final class SearchCapability.Builder extends GeneratedMessageV3.Builder<SearchCapability.Builder> implements SearchCapabilityOrBuilder

The capability and metadata of search capability.

Protobuf type google.cloud.visionai.v1.SearchCapability

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchCapability build()
Returns
Type Description
SearchCapability

buildPartial()

public SearchCapability buildPartial()
Returns
Type Description
SearchCapability

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public SearchCapability.Builder clearType()

The search capability to enable.

.google.cloud.visionai.v1.SearchCapability.Type type = 1;

Returns
Type Description
SearchCapability.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchCapability getDefaultInstanceForType()
Returns
Type Description
SearchCapability

getDescriptorForType()

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

getType()

public SearchCapability.Type getType()

The search capability to enable.

.google.cloud.visionai.v1.SearchCapability.Type type = 1;

Returns
Type Description
SearchCapability.Type

The type.

getTypeValue()

public int getTypeValue()

The search capability to enable.

.google.cloud.visionai.v1.SearchCapability.Type type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchCapability other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setType(SearchCapability.Type value)

public SearchCapability.Builder setType(SearchCapability.Type value)

The search capability to enable.

.google.cloud.visionai.v1.SearchCapability.Type type = 1;

Parameter
Name Description
value SearchCapability.Type

The type to set.

Returns
Type Description
SearchCapability.Builder

This builder for chaining.

setTypeValue(int value)

public SearchCapability.Builder setTypeValue(int value)

The search capability to enable.

.google.cloud.visionai.v1.SearchCapability.Type type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
SearchCapability.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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