Class ListSynonymSetsResponse.Builder (0.38.0)

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

Static Methods

getDescriptor()

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

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
Type Description
ListSynonymSetsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSynonymSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSynonymSetsResponse.Builder
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
Name Description
value SynonymSet
Returns
Type Description
ListSynonymSetsResponse.Builder

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
Name Description
builderForValue SynonymSet.Builder
Returns
Type Description
ListSynonymSetsResponse.Builder

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
Name Description
index int
value SynonymSet
Returns
Type Description
ListSynonymSetsResponse.Builder

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
Name Description
index int
builderForValue SynonymSet.Builder
Returns
Type Description
ListSynonymSetsResponse.Builder

addSynonymSetsBuilder()

public SynonymSet.Builder addSynonymSetsBuilder()

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Returns
Type Description
SynonymSet.Builder

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
Name Description
index int
Returns
Type Description
SynonymSet.Builder

build()

public ListSynonymSetsResponse build()
Returns
Type Description
ListSynonymSetsResponse

buildPartial()

public ListSynonymSetsResponse buildPartial()
Returns
Type Description
ListSynonymSetsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListSynonymSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListSynonymSetsResponse.Builder
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
Type Description
ListSynonymSetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSynonymSets()

public ListSynonymSetsResponse.Builder clearSynonymSets()

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Returns
Type Description
ListSynonymSetsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSynonymSetsResponse getDefaultInstanceForType()
Returns
Type Description
ListSynonymSetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
SynonymSet

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
Name Description
index int
Returns
Type Description
SynonymSet.Builder

getSynonymSetsBuilderList()

public List<SynonymSet.Builder> getSynonymSetsBuilderList()

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Returns
Type Description
List<Builder>

getSynonymSetsCount()

public int getSynonymSetsCount()

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Returns
Type Description
int

getSynonymSetsList()

public List<SynonymSet> getSynonymSetsList()

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Returns
Type Description
List<SynonymSet>

getSynonymSetsOrBuilder(int index)

public SynonymSetOrBuilder getSynonymSetsOrBuilder(int index)

The synonymSets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.SynonymSet synonym_sets = 1;

Parameter
Name Description
index int
Returns
Type Description
SynonymSetOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSynonymSetsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSynonymSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSynonymSetsResponse.Builder
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
Name Description
index int
Returns
Type Description
ListSynonymSetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSynonymSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSynonymSetsResponse.Builder
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
Type Description
ListSynonymSetsResponse.Builder

This builder for chaining.

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
Type Description
ListSynonymSetsResponse.Builder

This builder for chaining.

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

public ListSynonymSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListSynonymSetsResponse.Builder
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
Name Description
index int
value SynonymSet
Returns
Type Description
ListSynonymSetsResponse.Builder

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
Name Description
index int
builderForValue SynonymSet.Builder
Returns
Type Description
ListSynonymSetsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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