public static final class ListServingConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListServingConfigsResponse.Builder> implements ListServingConfigsResponseOrBuilder
Response for ListServingConfigs method.
Protobuf type google.cloud.retail.v2.ListServingConfigsResponse
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
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
Name | Description |
values | Iterable<? extends com.google.cloud.retail.v2.ServingConfig>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServingConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addServingConfigsBuilder()
public ServingConfig.Builder addServingConfigsBuilder()
All the ServingConfigs for a given catalog.
repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;
Returns
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
Returns
build()
public ListServingConfigsResponse build()
Returns
buildPartial()
public ListServingConfigsResponse buildPartial()
Returns
clear()
public ListServingConfigsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListServingConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListServingConfigsResponse.Builder clearNextPageToken()
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListServingConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServingConfigs()
public ListServingConfigsResponse.Builder clearServingConfigs()
All the ServingConfigs for a given catalog.
repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;
Returns
clone()
public ListServingConfigsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListServingConfigsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 catalog.
repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;
Parameter
Returns
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
Returns
getServingConfigsBuilderList()
public List<ServingConfig.Builder> getServingConfigsBuilderList()
All the ServingConfigs for a given catalog.
repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;
Returns
getServingConfigsCount()
public int getServingConfigsCount()
All the ServingConfigs for a given catalog.
repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;
Returns
getServingConfigsList()
public List<ServingConfig> getServingConfigsList()
All the ServingConfigs for a given catalog.
repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;
Returns
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
Returns
getServingConfigsOrBuilderList()
public List<? extends ServingConfigOrBuilder> getServingConfigsOrBuilderList()
All the ServingConfigs for a given catalog.
repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;
Returns
Type | Description |
List<? extends com.google.cloud.retail.v2.ServingConfigOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListServingConfigsResponse other)
public ListServingConfigsResponse.Builder mergeFrom(ListServingConfigsResponse other)
Parameter
Returns
public ListServingConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListServingConfigsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServingConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListServingConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListServingConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServingConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides