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