Class ListSearchConfigsResponse.Builder (0.10.0)

public static final class ListSearchConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListSearchConfigsResponse.Builder> implements ListSearchConfigsResponseOrBuilder

Response message for ListSearchConfigs.

Protobuf type google.cloud.visionai.v1.ListSearchConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllSearchConfigs(Iterable<? extends SearchConfig> values)

public ListSearchConfigsResponse.Builder addAllSearchConfigs(Iterable<? extends SearchConfig> values)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSearchConfigs(SearchConfig value)

public ListSearchConfigsResponse.Builder addSearchConfigs(SearchConfig value)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameter
Name Description
value SearchConfig
Returns
Type Description
ListSearchConfigsResponse.Builder

addSearchConfigs(SearchConfig.Builder builderForValue)

public ListSearchConfigsResponse.Builder addSearchConfigs(SearchConfig.Builder builderForValue)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameter
Name Description
builderForValue SearchConfig.Builder
Returns
Type Description
ListSearchConfigsResponse.Builder

addSearchConfigs(int index, SearchConfig value)

public ListSearchConfigsResponse.Builder addSearchConfigs(int index, SearchConfig value)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameters
Name Description
index int
value SearchConfig
Returns
Type Description
ListSearchConfigsResponse.Builder

addSearchConfigs(int index, SearchConfig.Builder builderForValue)

public ListSearchConfigsResponse.Builder addSearchConfigs(int index, SearchConfig.Builder builderForValue)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameters
Name Description
index int
builderForValue SearchConfig.Builder
Returns
Type Description
ListSearchConfigsResponse.Builder

addSearchConfigsBuilder()

public SearchConfig.Builder addSearchConfigsBuilder()

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Returns
Type Description
SearchConfig.Builder

addSearchConfigsBuilder(int index)

public SearchConfig.Builder addSearchConfigsBuilder(int index)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchConfig.Builder

build()

public ListSearchConfigsResponse build()
Returns
Type Description
ListSearchConfigsResponse

buildPartial()

public ListSearchConfigsResponse buildPartial()
Returns
Type Description
ListSearchConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSearchConfigsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListSearchConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSearchConfigs()

public ListSearchConfigsResponse.Builder clearSearchConfigs()

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Returns
Type Description
ListSearchConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSearchConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListSearchConfigsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSearchConfigs(int index)

public SearchConfig getSearchConfigs(int index)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchConfig

getSearchConfigsBuilder(int index)

public SearchConfig.Builder getSearchConfigsBuilder(int index)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchConfig.Builder

getSearchConfigsBuilderList()

public List<SearchConfig.Builder> getSearchConfigsBuilderList()

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Returns
Type Description
List<Builder>

getSearchConfigsCount()

public int getSearchConfigsCount()

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Returns
Type Description
int

getSearchConfigsList()

public List<SearchConfig> getSearchConfigsList()

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Returns
Type Description
List<SearchConfig>

getSearchConfigsOrBuilder(int index)

public SearchConfigOrBuilder getSearchConfigsOrBuilder(int index)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchConfigOrBuilder

getSearchConfigsOrBuilderList()

public List<? extends SearchConfigOrBuilder> getSearchConfigsOrBuilderList()

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSearchConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSearchConfigs(int index)

public ListSearchConfigsResponse.Builder removeSearchConfigs(int index)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSearchConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSearchConfigsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSearchConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSearchConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSearchConfigsResponse.Builder

This builder for chaining.

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

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

setSearchConfigs(int index, SearchConfig value)

public ListSearchConfigsResponse.Builder setSearchConfigs(int index, SearchConfig value)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameters
Name Description
index int
value SearchConfig
Returns
Type Description
ListSearchConfigsResponse.Builder

setSearchConfigs(int index, SearchConfig.Builder builderForValue)

public ListSearchConfigsResponse.Builder setSearchConfigs(int index, SearchConfig.Builder builderForValue)

The search configurations from the specified corpus.

repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;

Parameters
Name Description
index int
builderForValue SearchConfig.Builder
Returns
Type Description
ListSearchConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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