public static final class ListSynonymSetsResponse.Builder extends GeneratedMessageV3.Builder<ListSynonymSetsResponse.Builder> implements ListSynonymSetsResponseOrBuilder
Response message for SynonymSetService.ListSynonymSets.
Protobuf type google.cloud.contentwarehouse.v1.ListSynonymSetsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllSynonymSets(Iterable<? extends SynonymSet> values)
public ListSynonymSetsResponse.Builder addAllSynonymSets(Iterable<? extends SynonymSet> values)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.contentwarehouse.v1.SynonymSet>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSynonymSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSynonymSets(SynonymSet value)
public ListSynonymSetsResponse.Builder addSynonymSets(SynonymSet value)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameter
Returns
addSynonymSets(SynonymSet.Builder builderForValue)
public ListSynonymSetsResponse.Builder addSynonymSets(SynonymSet.Builder builderForValue)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameter
Returns
addSynonymSets(int index, SynonymSet value)
public ListSynonymSetsResponse.Builder addSynonymSets(int index, SynonymSet value)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameters
Returns
addSynonymSets(int index, SynonymSet.Builder builderForValue)
public ListSynonymSetsResponse.Builder addSynonymSets(int index, SynonymSet.Builder builderForValue)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameters
Returns
addSynonymSetsBuilder()
public SynonymSet.Builder addSynonymSetsBuilder()
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Returns
addSynonymSetsBuilder(int index)
public SynonymSet.Builder addSynonymSetsBuilder(int index)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameter
Returns
build()
public ListSynonymSetsResponse build()
Returns
buildPartial()
public ListSynonymSetsResponse buildPartial()
Returns
clear()
public ListSynonymSetsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSynonymSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListSynonymSetsResponse.Builder clearNextPageToken()
A page token, received from a previous ListSynonymSets
call.
Provide this to retrieve the subsequent page.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSynonymSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSynonymSets()
public ListSynonymSetsResponse.Builder clearSynonymSets()
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Returns
clone()
public ListSynonymSetsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListSynonymSetsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A page token, received from a previous ListSynonymSets
call.
Provide this to retrieve the subsequent page.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A page token, received from a previous ListSynonymSets
call.
Provide this to retrieve the subsequent page.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getSynonymSets(int index)
public SynonymSet getSynonymSets(int index)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameter
Returns
getSynonymSetsBuilder(int index)
public SynonymSet.Builder getSynonymSetsBuilder(int index)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameter
Returns
getSynonymSetsBuilderList()
public List<SynonymSet.Builder> getSynonymSetsBuilderList()
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Returns
getSynonymSetsCount()
public int getSynonymSetsCount()
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Returns
getSynonymSetsList()
public List<SynonymSet> getSynonymSetsList()
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Returns
getSynonymSetsOrBuilder(int index)
public SynonymSetOrBuilder getSynonymSetsOrBuilder(int index)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameter
Returns
getSynonymSetsOrBuilderList()
public List<? extends SynonymSetOrBuilder> getSynonymSetsOrBuilderList()
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.contentwarehouse.v1.SynonymSetOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListSynonymSetsResponse other)
public ListSynonymSetsResponse.Builder mergeFrom(ListSynonymSetsResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSynonymSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListSynonymSetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSynonymSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSynonymSets(int index)
public ListSynonymSetsResponse.Builder removeSynonymSets(int index)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListSynonymSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListSynonymSetsResponse.Builder setNextPageToken(String value)
A page token, received from a previous ListSynonymSets
call.
Provide this to retrieve the subsequent page.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListSynonymSetsResponse.Builder setNextPageTokenBytes(ByteString value)
A page token, received from a previous ListSynonymSets
call.
Provide this to retrieve the subsequent page.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSynonymSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSynonymSets(int index, SynonymSet value)
public ListSynonymSetsResponse.Builder setSynonymSets(int index, SynonymSet value)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameters
Returns
setSynonymSets(int index, SynonymSet.Builder builderForValue)
public ListSynonymSetsResponse.Builder setSynonymSets(int index, SynonymSet.Builder builderForValue)
The synonymSets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSynonymSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides