Class SearchCatalogsResponse.Builder (0.46.0)

public static final class SearchCatalogsResponse.Builder extends GeneratedMessageV3.Builder<SearchCatalogsResponse.Builder> implements SearchCatalogsResponseOrBuilder

Response message for PrivateCatalog.SearchCatalogs.

Protobuf type google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse

Static 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchCatalogsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchCatalogsResponse.Builder
Overrides

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
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SearchCatalogsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchCatalogsResponse.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchCatalogsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchCatalogsResponse.Builder
Overrides

clone()

public SearchCatalogsResponse.Builder clone()
Returns
Type Description
SearchCatalogsResponse.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchCatalogsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchCatalogsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchCatalogsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchCatalogsResponse.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public SearchCatalogsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchCatalogsResponse.Builder
Overrides

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 String

The 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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
SearchCatalogsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchCatalogsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchCatalogsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchCatalogsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchCatalogsResponse.Builder
Overrides