public static final class ListSearchConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListSearchConfigsResponse.Builder> implements ListSearchConfigsResponseOrBuilder
Response message for ListSearchConfigs.
Protobuf type google.cloud.visionai.v1.ListSearchConfigsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSearchConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addSearchConfigsBuilder()
public SearchConfig.Builder addSearchConfigsBuilder()
The search configurations from the specified corpus.
repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;
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
|
build()
public ListSearchConfigsResponse build()
buildPartial()
public ListSearchConfigsResponse buildPartial()
clear()
public ListSearchConfigsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSearchConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSearchConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSearchConfigs()
public ListSearchConfigsResponse.Builder clearSearchConfigs()
The search configurations from the specified corpus.
repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;
clone()
public ListSearchConfigsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSearchConfigsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getSearchConfigsBuilderList()
public List<SearchConfig.Builder> getSearchConfigsBuilderList()
The search configurations from the specified corpus.
repeated .google.cloud.visionai.v1.SearchConfig search_configs = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSearchConfigsResponse other)
public ListSearchConfigsResponse.Builder mergeFrom(ListSearchConfigsResponse other)
public ListSearchConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSearchConfigsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSearchConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSearchConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSearchConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSearchConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides