Send feedback
Class ListCatalogItemsResponse.Builder (0.10.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.10.1 keyboard_arrow_down
public static final class ListCatalogItemsResponse . Builder extends GeneratedMessageV3 . Builder<ListCatalogItemsResponse . Builder > implements ListCatalogItemsResponseOrBuilder
Response message for ListCatalogItems method.
Protobuf type google.cloud.recommendationengine.v1beta1.ListCatalogItemsResponse
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllCatalogItems(Iterable<? extends CatalogItem> values)
public ListCatalogItemsResponse . Builder addAllCatalogItems ( Iterable <? extends CatalogItem > values )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.recommendationengine.v1beta1.CatalogItem >
Returns
addCatalogItems(CatalogItem value)
public ListCatalogItemsResponse . Builder addCatalogItems ( CatalogItem value )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter
Returns
addCatalogItems(CatalogItem.Builder builderForValue)
public ListCatalogItemsResponse . Builder addCatalogItems ( CatalogItem . Builder builderForValue )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter
Returns
addCatalogItems(int index, CatalogItem value)
public ListCatalogItemsResponse . Builder addCatalogItems ( int index , CatalogItem value )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameters
Returns
addCatalogItems(int index, CatalogItem.Builder builderForValue)
public ListCatalogItemsResponse . Builder addCatalogItems ( int index , CatalogItem . Builder builderForValue )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameters
Returns
addCatalogItemsBuilder()
public CatalogItem . Builder addCatalogItemsBuilder ()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Returns
addCatalogItemsBuilder(int index)
public CatalogItem . Builder addCatalogItemsBuilder ( int index )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCatalogItemsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ListCatalogItemsResponse build ()
Returns
buildPartial()
public ListCatalogItemsResponse buildPartial ()
Returns
clear()
public ListCatalogItemsResponse . Builder clear ()
Returns
Overrides
clearCatalogItems()
public ListCatalogItemsResponse . Builder clearCatalogItems ()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListCatalogItemsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearNextPageToken()
public ListCatalogItemsResponse . Builder clearNextPageToken ()
If empty, the list is complete. If nonempty, the token to pass to the next
request's ListCatalogItemRequest.page_token.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCatalogItemsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ListCatalogItemsResponse . Builder clone ()
Returns
Overrides
getCatalogItems(int index)
public CatalogItem getCatalogItems ( int index )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter
Returns
getCatalogItemsBuilder(int index)
public CatalogItem . Builder getCatalogItemsBuilder ( int index )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter
Returns
getCatalogItemsBuilderList()
public List<CatalogItem . Builder > getCatalogItemsBuilderList ()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Returns
getCatalogItemsCount()
public int getCatalogItemsCount ()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Returns
getCatalogItemsList()
public List<CatalogItem> getCatalogItemsList ()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Returns
getCatalogItemsOrBuilder(int index)
public CatalogItemOrBuilder getCatalogItemsOrBuilder ( int index )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter
Returns
getCatalogItemsOrBuilderList()
public List <? extends CatalogItemOrBuilder > getCatalogItemsOrBuilderList ()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Returns
Type Description List <? extends com.google.cloud.recommendationengine.v1beta1.CatalogItemOrBuilder >
getDefaultInstanceForType()
public ListCatalogItemsResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getNextPageToken()
public String getNextPageToken ()
If empty, the list is complete. If nonempty, the token to pass to the next
request's ListCatalogItemRequest.page_token.
string next_page_token = 2;
Returns
Type Description String The nextPageToken.
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes ()
If empty, the list is complete. If nonempty, the token to pass to the next
request's ListCatalogItemRequest.page_token.
string next_page_token = 2;
Returns
Type Description ByteString The bytes for nextPageToken.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ListCatalogItemsResponse other)
public ListCatalogItemsResponse . Builder mergeFrom ( ListCatalogItemsResponse other )
Parameter
Returns
public ListCatalogItemsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListCatalogItemsResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCatalogItemsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeCatalogItems(int index)
public ListCatalogItemsResponse . Builder removeCatalogItems ( int index )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter
Returns
setCatalogItems(int index, CatalogItem value)
public ListCatalogItemsResponse . Builder setCatalogItems ( int index , CatalogItem value )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameters
Returns
setCatalogItems(int index, CatalogItem.Builder builderForValue)
public ListCatalogItemsResponse . Builder setCatalogItems ( int index , CatalogItem . Builder builderForValue )
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListCatalogItemsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListCatalogItemsResponse . Builder setNextPageToken ( String value )
If empty, the list is complete. If nonempty, the token to pass to the next
request's ListCatalogItemRequest.page_token.
string next_page_token = 2;
Parameter
Name Description value String
The nextPageToken to set.
Returns
setNextPageTokenBytes(ByteString value)
public ListCatalogItemsResponse . Builder setNextPageTokenBytes ( ByteString value )
If empty, the list is complete. If nonempty, the token to pass to the next
request's ListCatalogItemRequest.page_token.
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 ListCatalogItemsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCatalogItemsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]