Class ListSynonymSetsResponse.Builder (0.15.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contentwarehouse.v1.SynonymSet>
Returns
TypeDescription
ListSynonymSetsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSynonymSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSynonymSet
Returns
TypeDescription
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
NameDescription
builderForValueSynonymSet.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSynonymSet
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSynonymSet.Builder
Returns
TypeDescription
ListSynonymSetsResponse.Builder

addSynonymSetsBuilder()

public SynonymSet.Builder addSynonymSetsBuilder()

The synonymSets from the specified parent.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SynonymSet.Builder

build()

public ListSynonymSetsResponse build()
Returns
TypeDescription
ListSynonymSetsResponse

buildPartial()

public ListSynonymSetsResponse buildPartial()
Returns
TypeDescription
ListSynonymSetsResponse

clear()

public ListSynonymSetsResponse.Builder clear()
Returns
TypeDescription
ListSynonymSetsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSynonymSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListSynonymSetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSynonymSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListSynonymSetsResponse.Builder
Overrides

clearSynonymSets()

public ListSynonymSetsResponse.Builder clearSynonymSets()

The synonymSets from the specified parent.

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

Returns
TypeDescription
ListSynonymSetsResponse.Builder

clone()

public ListSynonymSetsResponse.Builder clone()
Returns
TypeDescription
ListSynonymSetsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSynonymSetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSynonymSetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SynonymSet.Builder

getSynonymSetsBuilderList()

public List<SynonymSet.Builder> getSynonymSetsBuilderList()

The synonymSets from the specified parent.

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

Returns
TypeDescription
List<Builder>

getSynonymSetsCount()

public int getSynonymSetsCount()

The synonymSets from the specified parent.

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

Returns
TypeDescription
int

getSynonymSetsList()

public List<SynonymSet> getSynonymSetsList()

The synonymSets from the specified parent.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SynonymSetOrBuilder

getSynonymSetsOrBuilderList()

public List<? extends SynonymSetOrBuilder> getSynonymSetsOrBuilderList()

The synonymSets from the specified parent.

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

Returns
TypeDescription
List<? extends com.google.cloud.contentwarehouse.v1.SynonymSetOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSynonymSetsResponse other)

public ListSynonymSetsResponse.Builder mergeFrom(ListSynonymSetsResponse other)
Parameter
NameDescription
otherListSynonymSetsResponse
Returns
TypeDescription
ListSynonymSetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSynonymSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSynonymSetsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSynonymSetsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListSynonymSetsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSynonymSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListSynonymSetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSynonymSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSynonymSet
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSynonymSet.Builder
Returns
TypeDescription
ListSynonymSetsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSynonymSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSynonymSetsResponse.Builder
Overrides