Class ListServingConfigsResponse.Builder (0.49.0)

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

Response for ListServingConfigs method.

Protobuf type google.cloud.discoveryengine.v1alpha.ListServingConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllServingConfigs(Iterable<? extends ServingConfig> values)

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

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1alpha.ServingConfig>
Returns
Type Description
ListServingConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServingConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListServingConfigsResponse.Builder
Overrides

addServingConfigs(ServingConfig value)

public ListServingConfigsResponse.Builder addServingConfigs(ServingConfig value)

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameter
Name Description
value ServingConfig
Returns
Type Description
ListServingConfigsResponse.Builder

addServingConfigs(ServingConfig.Builder builderForValue)

public ListServingConfigsResponse.Builder addServingConfigs(ServingConfig.Builder builderForValue)

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameter
Name Description
builderForValue ServingConfig.Builder
Returns
Type Description
ListServingConfigsResponse.Builder

addServingConfigs(int index, ServingConfig value)

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

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameters
Name Description
index int
value ServingConfig
Returns
Type Description
ListServingConfigsResponse.Builder

addServingConfigs(int index, ServingConfig.Builder builderForValue)

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

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameters
Name Description
index int
builderForValue ServingConfig.Builder
Returns
Type Description
ListServingConfigsResponse.Builder

addServingConfigsBuilder()

public ServingConfig.Builder addServingConfigsBuilder()

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Returns
Type Description
ServingConfig.Builder

addServingConfigsBuilder(int index)

public ServingConfig.Builder addServingConfigsBuilder(int index)

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ServingConfig.Builder

build()

public ListServingConfigsResponse build()
Returns
Type Description
ListServingConfigsResponse

buildPartial()

public ListServingConfigsResponse buildPartial()
Returns
Type Description
ListServingConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListServingConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListServingConfigsResponse.Builder
Overrides

clearNextPageToken()

public ListServingConfigsResponse.Builder clearNextPageToken()

Pagination token, if not returned indicates the last page.

string next_page_token = 2;

Returns
Type Description
ListServingConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServingConfigs()

public ListServingConfigsResponse.Builder clearServingConfigs()

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Returns
Type Description
ListServingConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListServingConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListServingConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Pagination token, if not returned indicates the last page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Pagination token, if not returned indicates the last page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getServingConfigs(int index)

public ServingConfig getServingConfigs(int index)

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ServingConfig

getServingConfigsBuilder(int index)

public ServingConfig.Builder getServingConfigsBuilder(int index)

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ServingConfig.Builder

getServingConfigsBuilderList()

public List<ServingConfig.Builder> getServingConfigsBuilderList()

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Returns
Type Description
List<Builder>

getServingConfigsCount()

public int getServingConfigsCount()

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Returns
Type Description
int

getServingConfigsList()

public List<ServingConfig> getServingConfigsList()

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Returns
Type Description
List<ServingConfig>

getServingConfigsOrBuilder(int index)

public ServingConfigOrBuilder getServingConfigsOrBuilder(int index)

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ServingConfigOrBuilder

getServingConfigsOrBuilderList()

public List<? extends ServingConfigOrBuilder> getServingConfigsOrBuilderList()

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1alpha.ServingConfigOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListServingConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServingConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListServingConfigsResponse.Builder
Overrides

removeServingConfigs(int index)

public ListServingConfigsResponse.Builder removeServingConfigs(int index)

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListServingConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListServingConfigsResponse.Builder
Overrides

setServingConfigs(int index, ServingConfig value)

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

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameters
Name Description
index int
value ServingConfig
Returns
Type Description
ListServingConfigsResponse.Builder

setServingConfigs(int index, ServingConfig.Builder builderForValue)

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

All the ServingConfigs for a given dataStore.

repeated .google.cloud.discoveryengine.v1alpha.ServingConfig serving_configs = 1;

Parameters
Name Description
index int
builderForValue ServingConfig.Builder
Returns
Type Description
ListServingConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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