Class SearchCatalogsResponse.Builder (0.33.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.privatecatalog.v1beta1.Catalog>
Returns
TypeDescription
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
NameDescription
valueCatalog
Returns
TypeDescription
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
NameDescription
builderForValueCatalog.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCatalog
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCatalog.Builder
Returns
TypeDescription
SearchCatalogsResponse.Builder

addCatalogsBuilder()

public Catalog.Builder addCatalogsBuilder()

The Catalogs computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Catalog.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchCatalogsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchCatalogsResponse.Builder
Overrides

build()

public SearchCatalogsResponse build()
Returns
TypeDescription
SearchCatalogsResponse

buildPartial()

public SearchCatalogsResponse buildPartial()
Returns
TypeDescription
SearchCatalogsResponse

clear()

public SearchCatalogsResponse.Builder clear()
Returns
TypeDescription
SearchCatalogsResponse.Builder
Overrides

clearCatalogs()

public SearchCatalogsResponse.Builder clearCatalogs()

The Catalogs computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;

Returns
TypeDescription
SearchCatalogsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchCatalogsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SearchCatalogsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchCatalogsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchCatalogsResponse.Builder
Overrides

clone()

public SearchCatalogsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Catalog.Builder

getCatalogsBuilderList()

public List<Catalog.Builder> getCatalogsBuilderList()

The Catalogs computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;

Returns
TypeDescription
List<Builder>

getCatalogsCount()

public int getCatalogsCount()

The Catalogs computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;

Returns
TypeDescription
int

getCatalogsList()

public List<Catalog> getCatalogsList()

The Catalogs computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CatalogOrBuilder

getCatalogsOrBuilderList()

public List<? extends CatalogOrBuilder> getCatalogsOrBuilderList()

The Catalogs computed from the resource context.

repeated .google.cloud.privatecatalog.v1beta1.Catalog catalogs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.privatecatalog.v1beta1.CatalogOrBuilder>

getDefaultInstanceForType()

public SearchCatalogsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchCatalogsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchCatalogsResponse other)

public SearchCatalogsResponse.Builder mergeFrom(SearchCatalogsResponse other)
Parameter
NameDescription
otherSearchCatalogsResponse
Returns
TypeDescription
SearchCatalogsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchCatalogsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchCatalogsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchCatalogsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchCatalogsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchCatalogsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueCatalog
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCatalog.Builder
Returns
TypeDescription
SearchCatalogsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchCatalogsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchCatalogsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchCatalogsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchCatalogsResponse.Builder
Overrides