public static final class ListCatalogsResponse.Builder extends GeneratedMessage.Builder<ListCatalogsResponse.Builder> implements ListCatalogsResponseOrBuilderResults returned from catalogs.list.
Protobuf type google.cloud.designcenter.v1.ListCatalogsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListCatalogsResponse.BuilderImplements
ListCatalogsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCatalogs(Iterable<? extends Catalog> values)
public ListCatalogsResponse.Builder addAllCatalogs(Iterable<? extends Catalog> values)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.designcenter.v1.Catalog> |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
addCatalogs(Catalog value)
public ListCatalogsResponse.Builder addCatalogs(Catalog value)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Catalog |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
addCatalogs(Catalog.Builder builderForValue)
public ListCatalogsResponse.Builder addCatalogs(Catalog.Builder builderForValue)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Catalog.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
addCatalogs(int index, Catalog value)
public ListCatalogsResponse.Builder addCatalogs(int index, Catalog value)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Catalog |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
addCatalogs(int index, Catalog.Builder builderForValue)
public ListCatalogsResponse.Builder addCatalogs(int index, Catalog.Builder builderForValue)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Catalog.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
addCatalogsBuilder()
public Catalog.Builder addCatalogsBuilder()A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
Catalog.Builder |
|
addCatalogsBuilder(int index)
public Catalog.Builder addCatalogsBuilder(int index)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Catalog.Builder |
|
build()
public ListCatalogsResponse build()| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse |
|
buildPartial()
public ListCatalogsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse |
|
clear()
public ListCatalogsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
clearCatalogs()
public ListCatalogsResponse.Builder clearCatalogs()A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
clearNextPageToken()
public ListCatalogsResponse.Builder clearNextPageToken()If there might be more results than those appearing in this response, nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
This builder for chaining. |
getCatalogs(int index)
public Catalog getCatalogs(int index)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Catalog |
|
getCatalogsBuilder(int index)
public Catalog.Builder getCatalogsBuilder(int index)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Catalog.Builder |
|
getCatalogsBuilderList()
public List<Catalog.Builder> getCatalogsBuilderList()A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getCatalogsCount()
public int getCatalogsCount()A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCatalogsList()
public List<Catalog> getCatalogsList()A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
List<Catalog> |
|
getCatalogsOrBuilder(int index)
public CatalogOrBuilder getCatalogsOrBuilder(int index)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CatalogOrBuilder |
|
getCatalogsOrBuilderList()
public List<? extends CatalogOrBuilder> getCatalogsOrBuilderList()A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.CatalogOrBuilder> |
|
getDefaultInstanceForType()
public ListCatalogsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()If there might be more results than those appearing in this response, nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()If there might be more results than those appearing in this response, nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListCatalogsResponse other)
public ListCatalogsResponse.Builder mergeFrom(ListCatalogsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListCatalogsResponse |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCatalogsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListCatalogsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
removeCatalogs(int index)
public ListCatalogsResponse.Builder removeCatalogs(int index)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
setCatalogs(int index, Catalog value)
public ListCatalogsResponse.Builder setCatalogs(int index, Catalog value)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Catalog |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
setCatalogs(int index, Catalog.Builder builderForValue)
public ListCatalogsResponse.Builder setCatalogs(int index, Catalog.Builder builderForValue)A list of catalogs
repeated .google.cloud.designcenter.v1.Catalog catalogs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Catalog.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
|
setNextPageToken(String value)
public ListCatalogsResponse.Builder setNextPageToken(String value)If there might be more results than those appearing in this response, nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListCatalogsResponse.Builder setNextPageTokenBytes(ByteString value)If there might be more results than those appearing in this response, nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCatalogsResponse.Builder |
This builder for chaining. |