Class ListServingConfigsResponse.Builder (2.43.0)

public static final class ListServingConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListServingConfigsResponse.Builder> implements ListServingConfigsResponseOrBuilder

Response for ListServingConfigs method.

Protobuf type google.cloud.retail.v2.ListServingConfigsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllServingConfigs(Iterable<? extends ServingConfig> values)

public ListServingConfigsResponse.Builder addAllServingConfigs(Iterable<? extends ServingConfig> values)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.retail.v2.ServingConfig>
Returns
TypeDescription
ListServingConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServingConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListServingConfigsResponse.Builder
Overrides

addServingConfigs(ServingConfig value)

public ListServingConfigsResponse.Builder addServingConfigs(ServingConfig value)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameter
NameDescription
valueServingConfig
Returns
TypeDescription
ListServingConfigsResponse.Builder

addServingConfigs(ServingConfig.Builder builderForValue)

public ListServingConfigsResponse.Builder addServingConfigs(ServingConfig.Builder builderForValue)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameter
NameDescription
builderForValueServingConfig.Builder
Returns
TypeDescription
ListServingConfigsResponse.Builder

addServingConfigs(int index, ServingConfig value)

public ListServingConfigsResponse.Builder addServingConfigs(int index, ServingConfig value)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameters
NameDescription
indexint
valueServingConfig
Returns
TypeDescription
ListServingConfigsResponse.Builder

addServingConfigs(int index, ServingConfig.Builder builderForValue)

public ListServingConfigsResponse.Builder addServingConfigs(int index, ServingConfig.Builder builderForValue)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameters
NameDescription
indexint
builderForValueServingConfig.Builder
Returns
TypeDescription
ListServingConfigsResponse.Builder

addServingConfigsBuilder()

public ServingConfig.Builder addServingConfigsBuilder()

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Returns
TypeDescription
ServingConfig.Builder

addServingConfigsBuilder(int index)

public ServingConfig.Builder addServingConfigsBuilder(int index)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServingConfig.Builder

build()

public ListServingConfigsResponse build()
Returns
TypeDescription
ListServingConfigsResponse

buildPartial()

public ListServingConfigsResponse buildPartial()
Returns
TypeDescription
ListServingConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListServingConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListServingConfigsResponse.Builder
Overrides

clearNextPageToken()

public ListServingConfigsResponse.Builder clearNextPageToken()

Pagination token, if not returned indicates the last page.

string next_page_token = 2;

Returns
TypeDescription
ListServingConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServingConfigs()

public ListServingConfigsResponse.Builder clearServingConfigs()

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Returns
TypeDescription
ListServingConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListServingConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServingConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Pagination token, if not returned indicates the last page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Pagination token, if not returned indicates the last page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getServingConfigs(int index)

public ServingConfig getServingConfigs(int index)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServingConfig

getServingConfigsBuilder(int index)

public ServingConfig.Builder getServingConfigsBuilder(int index)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServingConfig.Builder

getServingConfigsBuilderList()

public List<ServingConfig.Builder> getServingConfigsBuilderList()

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Returns
TypeDescription
List<Builder>

getServingConfigsCount()

public int getServingConfigsCount()

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Returns
TypeDescription
int

getServingConfigsList()

public List<ServingConfig> getServingConfigsList()

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Returns
TypeDescription
List<ServingConfig>

getServingConfigsOrBuilder(int index)

public ServingConfigOrBuilder getServingConfigsOrBuilder(int index)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServingConfigOrBuilder

getServingConfigsOrBuilderList()

public List<? extends ServingConfigOrBuilder> getServingConfigsOrBuilderList()

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.retail.v2.ServingConfigOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServingConfigsResponse other)

public ListServingConfigsResponse.Builder mergeFrom(ListServingConfigsResponse other)
Parameter
NameDescription
otherListServingConfigsResponse
Returns
TypeDescription
ListServingConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServingConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListServingConfigsResponse.Builder
Overrides

removeServingConfigs(int index)

public ListServingConfigsResponse.Builder removeServingConfigs(int index)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListServingConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListServingConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListServingConfigsResponse.Builder
Overrides

setNextPageToken(String value)

public ListServingConfigsResponse.Builder setNextPageToken(String value)

Pagination token, if not returned indicates the last page.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListServingConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListServingConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

Pagination token, if not returned indicates the last page.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListServingConfigsResponse.Builder

This builder for chaining.

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

public ListServingConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListServingConfigsResponse.Builder
Overrides

setServingConfigs(int index, ServingConfig value)

public ListServingConfigsResponse.Builder setServingConfigs(int index, ServingConfig value)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameters
NameDescription
indexint
valueServingConfig
Returns
TypeDescription
ListServingConfigsResponse.Builder

setServingConfigs(int index, ServingConfig.Builder builderForValue)

public ListServingConfigsResponse.Builder setServingConfigs(int index, ServingConfig.Builder builderForValue)

All the ServingConfigs for a given catalog.

repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Parameters
NameDescription
indexint
builderForValueServingConfig.Builder
Returns
TypeDescription
ListServingConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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