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
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
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>
|
addCatalogItems(CatalogItem value)
public ListCatalogItemsResponse.Builder addCatalogItems(CatalogItem value)
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
addCatalogItems(CatalogItem.Builder builderForValue)
public ListCatalogItemsResponse.Builder addCatalogItems(CatalogItem.Builder builderForValue)
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
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;
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;
addCatalogItemsBuilder()
public CatalogItem.Builder addCatalogItemsBuilder()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
addCatalogItemsBuilder(int index)
public CatalogItem.Builder addCatalogItemsBuilder(int index)
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCatalogItemsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCatalogItemsResponse build()
buildPartial()
public ListCatalogItemsResponse buildPartial()
clear()
public ListCatalogItemsResponse.Builder clear()
Overrides
clearCatalogItems()
public ListCatalogItemsResponse.Builder clearCatalogItems()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
clearField(Descriptors.FieldDescriptor field)
public ListCatalogItemsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCatalogItemsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCatalogItemsResponse.Builder clone()
Overrides
getCatalogItems(int index)
public CatalogItem getCatalogItems(int index)
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter |
---|
Name | Description |
index | int
|
getCatalogItemsBuilder(int index)
public CatalogItem.Builder getCatalogItemsBuilder(int index)
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter |
---|
Name | Description |
index | int
|
getCatalogItemsBuilderList()
public List<CatalogItem.Builder> getCatalogItemsBuilderList()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
getCatalogItemsCount()
public int getCatalogItemsCount()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Returns |
---|
Type | Description |
int | |
getCatalogItemsList()
public List<CatalogItem> getCatalogItemsList()
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
getCatalogItemsOrBuilder(int index)
public CatalogItemOrBuilder getCatalogItemsOrBuilder(int index)
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListCatalogItemsResponse other)
public ListCatalogItemsResponse.Builder mergeFrom(ListCatalogItemsResponse other)
public ListCatalogItemsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCatalogItemsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCatalogItemsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeCatalogItems(int index)
public ListCatalogItemsResponse.Builder removeCatalogItems(int index)
The catalog items.
repeated .google.cloud.recommendationengine.v1beta1.CatalogItem catalog_items = 1;
Parameter |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListCatalogItemsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCatalogItemsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCatalogItemsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides