public static final class SearchCatalogsResponse.Builder extends GeneratedMessage.Builder<SearchCatalogsResponse.Builder> implements SearchCatalogsResponseOrBuilderResponse message for PrivateCatalog.SearchCatalogs.
Protobuf type google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchCatalogsResponse.BuilderImplements
SearchCatalogsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCatalogs(Iterable<? extends Catalog> values)
public SearchCatalogsResponse.Builder addAllCatalogs(Iterable<? extends Catalog> values) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.privatecatalog.v1beta1.Catalog> |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
addCatalogs(Catalog value)
public SearchCatalogsResponse.Builder addCatalogs(Catalog value) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Catalog |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
addCatalogs(Catalog.Builder builderForValue)
public SearchCatalogsResponse.Builder addCatalogs(Catalog.Builder builderForValue) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Catalog.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
addCatalogs(int index, Catalog value)
public SearchCatalogsResponse.Builder addCatalogs(int index, Catalog value) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Catalog |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
addCatalogs(int index, Catalog.Builder builderForValue)
public SearchCatalogsResponse.Builder addCatalogs(int index, Catalog.Builder builderForValue) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Catalog.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
addCatalogsBuilder()
public Catalog.Builder addCatalogsBuilder() The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
Catalog.Builder |
|
addCatalogsBuilder(int index)
public Catalog.Builder addCatalogsBuilder(int index) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Catalog.Builder |
|
build()
public SearchCatalogsResponse build()| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse |
|
buildPartial()
public SearchCatalogsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse |
|
clear()
public SearchCatalogsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
clearCatalogs()
public SearchCatalogsResponse.Builder clearCatalogs() The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
clearNextPageToken()
public SearchCatalogsResponse.Builder clearNextPageToken()A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
This builder for chaining. |
getCatalogs(int index)
public Catalog getCatalogs(int index) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Catalog |
|
getCatalogsBuilder(int index)
public Catalog.Builder getCatalogsBuilder(int index) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Catalog.Builder |
|
getCatalogsBuilderList()
public List<Catalog.Builder> getCatalogsBuilderList() The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getCatalogsCount()
public int getCatalogsCount() The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCatalogsList()
public List<Catalog> getCatalogsList() The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
List<Catalog> |
|
getCatalogsOrBuilder(int index)
public CatalogOrBuilder getCatalogsOrBuilder(int index) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CatalogOrBuilder |
|
getCatalogsOrBuilderList()
public List<? extends CatalogOrBuilder> getCatalogsOrBuilderList() The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.privatecatalog.v1beta1.CatalogOrBuilder> |
|
getDefaultInstanceForType()
public SearchCatalogsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
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(SearchCatalogsResponse other)
public SearchCatalogsResponse.Builder mergeFrom(SearchCatalogsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchCatalogsResponse |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchCatalogsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchCatalogsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
removeCatalogs(int index)
public SearchCatalogsResponse.Builder removeCatalogs(int index) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
setCatalogs(int index, Catalog value)
public SearchCatalogsResponse.Builder setCatalogs(int index, Catalog value) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Catalog |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
setCatalogs(int index, Catalog.Builder builderForValue)
public SearchCatalogsResponse.Builder setCatalogs(int index, Catalog.Builder builderForValue) The Catalogs computed from the resource context.
repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Catalog.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
|
setNextPageToken(String value)
public SearchCatalogsResponse.Builder setNextPageToken(String value)A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public SearchCatalogsResponse.Builder setNextPageTokenBytes(ByteString value)A pagination token returned from a previous call to SearchCatalogs that indicates from where listing should continue.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsResponse.Builder |
This builder for chaining. |