Class SearchCapabilitySetting.Builder (0.8.0)

public static final class SearchCapabilitySetting.Builder extends GeneratedMessageV3.Builder<SearchCapabilitySetting.Builder> implements SearchCapabilitySettingOrBuilder

Setting for search capability to enable.

Protobuf type google.cloud.visionai.v1.SearchCapabilitySetting

Static Methods

getDescriptor()

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

Methods

addAllSearchCapabilities(Iterable<? extends SearchCapability> values)

public SearchCapabilitySetting.Builder addAllSearchCapabilities(Iterable<? extends SearchCapability> values)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSearchCapabilities(SearchCapability value)

public SearchCapabilitySetting.Builder addSearchCapabilities(SearchCapability value)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameter
Name Description
value SearchCapability
Returns
Type Description
SearchCapabilitySetting.Builder

addSearchCapabilities(SearchCapability.Builder builderForValue)

public SearchCapabilitySetting.Builder addSearchCapabilities(SearchCapability.Builder builderForValue)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameter
Name Description
builderForValue SearchCapability.Builder
Returns
Type Description
SearchCapabilitySetting.Builder

addSearchCapabilities(int index, SearchCapability value)

public SearchCapabilitySetting.Builder addSearchCapabilities(int index, SearchCapability value)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameters
Name Description
index int
value SearchCapability
Returns
Type Description
SearchCapabilitySetting.Builder

addSearchCapabilities(int index, SearchCapability.Builder builderForValue)

public SearchCapabilitySetting.Builder addSearchCapabilities(int index, SearchCapability.Builder builderForValue)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameters
Name Description
index int
builderForValue SearchCapability.Builder
Returns
Type Description
SearchCapabilitySetting.Builder

addSearchCapabilitiesBuilder()

public SearchCapability.Builder addSearchCapabilitiesBuilder()

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Returns
Type Description
SearchCapability.Builder

addSearchCapabilitiesBuilder(int index)

public SearchCapability.Builder addSearchCapabilitiesBuilder(int index)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchCapability.Builder

build()

public SearchCapabilitySetting build()
Returns
Type Description
SearchCapabilitySetting

buildPartial()

public SearchCapabilitySetting buildPartial()
Returns
Type Description
SearchCapabilitySetting

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSearchCapabilities()

public SearchCapabilitySetting.Builder clearSearchCapabilities()

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Returns
Type Description
SearchCapabilitySetting.Builder

clone()

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

getDefaultInstanceForType()

public SearchCapabilitySetting getDefaultInstanceForType()
Returns
Type Description
SearchCapabilitySetting

getDescriptorForType()

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

getSearchCapabilities(int index)

public SearchCapability getSearchCapabilities(int index)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchCapability

getSearchCapabilitiesBuilder(int index)

public SearchCapability.Builder getSearchCapabilitiesBuilder(int index)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchCapability.Builder

getSearchCapabilitiesBuilderList()

public List<SearchCapability.Builder> getSearchCapabilitiesBuilderList()

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Returns
Type Description
List<Builder>

getSearchCapabilitiesCount()

public int getSearchCapabilitiesCount()

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Returns
Type Description
int

getSearchCapabilitiesList()

public List<SearchCapability> getSearchCapabilitiesList()

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Returns
Type Description
List<SearchCapability>

getSearchCapabilitiesOrBuilder(int index)

public SearchCapabilityOrBuilder getSearchCapabilitiesOrBuilder(int index)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchCapabilityOrBuilder

getSearchCapabilitiesOrBuilderList()

public List<? extends SearchCapabilityOrBuilder> getSearchCapabilitiesOrBuilderList()

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchCapabilitySetting other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSearchCapabilities(int index)

public SearchCapabilitySetting.Builder removeSearchCapabilities(int index)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchCapabilitySetting.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSearchCapabilities(int index, SearchCapability value)

public SearchCapabilitySetting.Builder setSearchCapabilities(int index, SearchCapability value)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameters
Name Description
index int
value SearchCapability
Returns
Type Description
SearchCapabilitySetting.Builder

setSearchCapabilities(int index, SearchCapability.Builder builderForValue)

public SearchCapabilitySetting.Builder setSearchCapabilities(int index, SearchCapability.Builder builderForValue)

The metadata of search capability to enable.

repeated .google.cloud.visionai.v1.SearchCapability search_capabilities = 1;

Parameters
Name Description
index int
builderForValue SearchCapability.Builder
Returns
Type Description
SearchCapabilitySetting.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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