public static final class ListCatalogsResponse.Builder extends GeneratedMessageV3.Builder<ListCatalogsResponse.Builder> implements ListCatalogsResponseOrBuilder
Response for
CatalogService.ListCatalogs
method.
Protobuf type google.cloud.retail.v2.ListCatalogsResponse
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
addAllCatalogs(Iterable<? extends Catalog> values)
public ListCatalogsResponse.Builder addAllCatalogs(Iterable<? extends Catalog> values)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.retail.v2.Catalog>
|
addCatalogs(Catalog value)
public ListCatalogsResponse.Builder addCatalogs(Catalog value)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Parameter |
Name |
Description |
value |
Catalog
|
addCatalogs(Catalog.Builder builderForValue)
public ListCatalogsResponse.Builder addCatalogs(Catalog.Builder builderForValue)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
addCatalogs(int index, Catalog value)
public ListCatalogsResponse.Builder addCatalogs(int index, Catalog value)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Catalog
|
addCatalogs(int index, Catalog.Builder builderForValue)
public ListCatalogsResponse.Builder addCatalogs(int index, Catalog.Builder builderForValue)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
addCatalogsBuilder()
public Catalog.Builder addCatalogsBuilder()
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
addCatalogsBuilder(int index)
public Catalog.Builder addCatalogsBuilder(int index)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCatalogsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCatalogsResponse build()
buildPartial()
public ListCatalogsResponse buildPartial()
clear()
public ListCatalogsResponse.Builder clear()
Overrides
clearCatalogs()
public ListCatalogsResponse.Builder clearCatalogs()
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
clearField(Descriptors.FieldDescriptor field)
public ListCatalogsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListCatalogsResponse.Builder clearNextPageToken()
A token that can be sent as
ListCatalogsRequest.page_token
to retrieve the next page. If this field is omitted, there are no
subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCatalogsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCatalogsResponse.Builder clone()
Overrides
getCatalogs(int index)
public Catalog getCatalogs(int index)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Parameter |
Name |
Description |
index |
int
|
getCatalogsBuilder(int index)
public Catalog.Builder getCatalogsBuilder(int index)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Parameter |
Name |
Description |
index |
int
|
getCatalogsBuilderList()
public List<Catalog.Builder> getCatalogsBuilderList()
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
getCatalogsCount()
public int getCatalogsCount()
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Returns |
Type |
Description |
int |
|
getCatalogsList()
public List<Catalog> getCatalogsList()
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
getCatalogsOrBuilder(int index)
public CatalogOrBuilder getCatalogsOrBuilder(int index)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Parameter |
Name |
Description |
index |
int
|
getCatalogsOrBuilderList()
public List<? extends CatalogOrBuilder> getCatalogsOrBuilderList()
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.retail.v2.CatalogOrBuilder> |
|
getDefaultInstanceForType()
public ListCatalogsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token that can be sent as
ListCatalogsRequest.page_token
to retrieve the next page. If this field is omitted, there are no
subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token that can be sent as
ListCatalogsRequest.page_token
to retrieve the next page. If this field is omitted, there are no
subsequent pages.
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(ListCatalogsResponse other)
public ListCatalogsResponse.Builder mergeFrom(ListCatalogsResponse other)
public ListCatalogsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCatalogsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCatalogsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeCatalogs(int index)
public ListCatalogsResponse.Builder removeCatalogs(int index)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Parameter |
Name |
Description |
index |
int
|
setCatalogs(int index, Catalog value)
public ListCatalogsResponse.Builder setCatalogs(int index, Catalog value)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Catalog
|
setCatalogs(int index, Catalog.Builder builderForValue)
public ListCatalogsResponse.Builder setCatalogs(int index, Catalog.Builder builderForValue)
All the customer's Catalogs.
repeated .google.cloud.retail.v2.Catalog catalogs = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListCatalogsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListCatalogsResponse.Builder setNextPageToken(String value)
A token that can be sent as
ListCatalogsRequest.page_token
to retrieve the next page. If this field is omitted, there are no
subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListCatalogsResponse.Builder setNextPageTokenBytes(ByteString value)
A token that can be sent as
ListCatalogsRequest.page_token
to retrieve the next page. If this field is omitted, there are no
subsequent pages.
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 ListCatalogsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCatalogsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides