public static final class ListSearchHypernymsResponse.Builder extends GeneratedMessageV3.Builder<ListSearchHypernymsResponse.Builder> implements ListSearchHypernymsResponseOrBuilder
Response message for listing SearchHypernyms.
Protobuf type google.cloud.visionai.v1.ListSearchHypernymsResponse
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
addAllSearchHypernyms(Iterable<? extends SearchHypernym> values)
public ListSearchHypernymsResponse.Builder addAllSearchHypernyms(Iterable<? extends SearchHypernym> values)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.SearchHypernym>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSearchHypernymsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSearchHypernyms(SearchHypernym value)
public ListSearchHypernymsResponse.Builder addSearchHypernyms(SearchHypernym value)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
addSearchHypernyms(SearchHypernym.Builder builderForValue)
public ListSearchHypernymsResponse.Builder addSearchHypernyms(SearchHypernym.Builder builderForValue)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
addSearchHypernyms(int index, SearchHypernym value)
public ListSearchHypernymsResponse.Builder addSearchHypernyms(int index, SearchHypernym value)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
addSearchHypernyms(int index, SearchHypernym.Builder builderForValue)
public ListSearchHypernymsResponse.Builder addSearchHypernyms(int index, SearchHypernym.Builder builderForValue)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
addSearchHypernymsBuilder()
public SearchHypernym.Builder addSearchHypernymsBuilder()
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
addSearchHypernymsBuilder(int index)
public SearchHypernym.Builder addSearchHypernymsBuilder(int index)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListSearchHypernymsResponse build()
buildPartial()
public ListSearchHypernymsResponse buildPartial()
clear()
public ListSearchHypernymsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSearchHypernymsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListSearchHypernymsResponse.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 ListSearchHypernymsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSearchHypernyms()
public ListSearchHypernymsResponse.Builder clearSearchHypernyms()
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
clone()
public ListSearchHypernymsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSearchHypernymsResponse 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.
|
getSearchHypernyms(int index)
public SearchHypernym getSearchHypernyms(int index)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
Parameter |
Name |
Description |
index |
int
|
getSearchHypernymsBuilder(int index)
public SearchHypernym.Builder getSearchHypernymsBuilder(int index)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
Parameter |
Name |
Description |
index |
int
|
getSearchHypernymsBuilderList()
public List<SearchHypernym.Builder> getSearchHypernymsBuilderList()
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
getSearchHypernymsCount()
public int getSearchHypernymsCount()
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
Returns |
Type |
Description |
int |
|
getSearchHypernymsList()
public List<SearchHypernym> getSearchHypernymsList()
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
getSearchHypernymsOrBuilder(int index)
public SearchHypernymOrBuilder getSearchHypernymsOrBuilder(int index)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
Parameter |
Name |
Description |
index |
int
|
getSearchHypernymsOrBuilderList()
public List<? extends SearchHypernymOrBuilder> getSearchHypernymsOrBuilderList()
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.SearchHypernymOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSearchHypernymsResponse other)
public ListSearchHypernymsResponse.Builder mergeFrom(ListSearchHypernymsResponse other)
public ListSearchHypernymsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSearchHypernymsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSearchHypernymsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSearchHypernyms(int index)
public ListSearchHypernymsResponse.Builder removeSearchHypernyms(int index)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSearchHypernymsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListSearchHypernymsResponse.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 ListSearchHypernymsResponse.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 ListSearchHypernymsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSearchHypernyms(int index, SearchHypernym value)
public ListSearchHypernymsResponse.Builder setSearchHypernyms(int index, SearchHypernym value)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
setSearchHypernyms(int index, SearchHypernym.Builder builderForValue)
public ListSearchHypernymsResponse.Builder setSearchHypernyms(int index, SearchHypernym.Builder builderForValue)
The SearchHypernyms from the specified corpus.
repeated .google.cloud.visionai.v1.SearchHypernym search_hypernyms = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSearchHypernymsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides