Class SearchCatalogsRequest.Builder (0.18.0)

public static final class SearchCatalogsRequest.Builder extends GeneratedMessageV3.Builder<SearchCatalogsRequest.Builder> implements SearchCatalogsRequestOrBuilder

Request message for PrivateCatalog.SearchCatalogs.

Protobuf type google.cloud.privatecatalog.v1beta1.SearchCatalogsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchCatalogsRequest build()
Returns
TypeDescription
SearchCatalogsRequest

buildPartial()

public SearchCatalogsRequest buildPartial()
Returns
TypeDescription
SearchCatalogsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SearchCatalogsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchCatalogsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public SearchCatalogsRequest.Builder clearPageSize()

The maximum number of entries that are requested.

int32 page_size = 3;

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

clearPageToken()

public SearchCatalogsRequest.Builder clearPageToken()

A pagination token returned from a previous call to SearchCatalogs that indicates where this listing should continue from.

string page_token = 4;

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

clearQuery()

public SearchCatalogsRequest.Builder clearQuery()

The query to filter the catalogs. The supported queries are:

  • Get a single catalog: name=catalogs/{catalog}

string query = 2;

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

clearResource()

public SearchCatalogsRequest.Builder clearResource()

Required. The name of the resource context. It can be in following formats:

  • projects/{project}
  • folders/{folder}
  • organizations/{organization}

string resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

clone()

public SearchCatalogsRequest.Builder clone()
Returns
TypeDescription
SearchCatalogsRequest.Builder
Overrides

getDefaultInstanceForType()

public SearchCatalogsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchCatalogsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of entries that are requested.

int32 page_size = 3;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A pagination token returned from a previous call to SearchCatalogs that indicates where this listing should continue from.

string page_token = 4;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A pagination token returned from a previous call to SearchCatalogs that indicates where this listing should continue from.

string page_token = 4;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getQuery()

public String getQuery()

The query to filter the catalogs. The supported queries are:

  • Get a single catalog: name=catalogs/{catalog}

string query = 2;

Returns
TypeDescription
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

The query to filter the catalogs. The supported queries are:

  • Get a single catalog: name=catalogs/{catalog}

string query = 2;

Returns
TypeDescription
ByteString

The bytes for query.

getResource()

public String getResource()

Required. The name of the resource context. It can be in following formats:

  • projects/{project}
  • folders/{folder}
  • organizations/{organization}

string resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Required. The name of the resource context. It can be in following formats:

  • projects/{project}
  • folders/{folder}
  • organizations/{organization}

string resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for resource.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchCatalogsRequest other)

public SearchCatalogsRequest.Builder mergeFrom(SearchCatalogsRequest other)
Parameter
NameDescription
otherSearchCatalogsRequest
Returns
TypeDescription
SearchCatalogsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchCatalogsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchCatalogsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public SearchCatalogsRequest.Builder setPageSize(int value)

The maximum number of entries that are requested.

int32 page_size = 3;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchCatalogsRequest.Builder setPageToken(String value)

A pagination token returned from a previous call to SearchCatalogs that indicates where this listing should continue from.

string page_token = 4;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchCatalogsRequest.Builder setPageTokenBytes(ByteString value)

A pagination token returned from a previous call to SearchCatalogs that indicates where this listing should continue from.

string page_token = 4;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

setQuery(String value)

public SearchCatalogsRequest.Builder setQuery(String value)

The query to filter the catalogs. The supported queries are:

  • Get a single catalog: name=catalogs/{catalog}

string query = 2;

Parameter
NameDescription
valueString

The query to set.

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public SearchCatalogsRequest.Builder setQueryBytes(ByteString value)

The query to filter the catalogs. The supported queries are:

  • Get a single catalog: name=catalogs/{catalog}

string query = 2;

Parameter
NameDescription
valueByteString

The bytes for query to set.

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

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

public SearchCatalogsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchCatalogsRequest.Builder
Overrides

setResource(String value)

public SearchCatalogsRequest.Builder setResource(String value)

Required. The name of the resource context. It can be in following formats:

  • projects/{project}
  • folders/{folder}
  • organizations/{organization}

string resource = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The resource to set.

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public SearchCatalogsRequest.Builder setResourceBytes(ByteString value)

Required. The name of the resource context. It can be in following formats:

  • projects/{project}
  • folders/{folder}
  • organizations/{organization}

string resource = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for resource to set.

Returns
TypeDescription
SearchCatalogsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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