public static final class SearchCatalogsRequest.Builder extends GeneratedMessage.Builder<SearchCatalogsRequest.Builder> implements SearchCatalogsRequestOrBuilderRequest message for PrivateCatalog.SearchCatalogs.
Protobuf type google.cloud.privatecatalog.v1beta1.SearchCatalogsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchCatalogsRequest.BuilderImplements
SearchCatalogsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SearchCatalogsRequest build()| Returns | |
|---|---|
| Type | Description |
SearchCatalogsRequest |
|
buildPartial()
public SearchCatalogsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchCatalogsRequest |
|
clear()
public SearchCatalogsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchCatalogsRequest.Builder |
|
clearPageSize()
public SearchCatalogsRequest.Builder clearPageSize()The maximum number of entries that are requested.
int32 page_size = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
SearchCatalogsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SearchCatalogsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchCatalogsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int getPageSize()The maximum number of entries that are requested.
int32 page_size = 3;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for resource. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SearchCatalogsRequest other)
public SearchCatalogsRequest.Builder mergeFrom(SearchCatalogsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchCatalogsRequest |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchCatalogsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchCatalogsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsRequest.Builder |
|
setPageSize(int value)
public SearchCatalogsRequest.Builder setPageSize(int value)The maximum number of entries that are requested.
int32 page_size = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe query to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for query to set. |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsRequest.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
StringThe resource to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resource to set. |
| Returns | |
|---|---|
| Type | Description |
SearchCatalogsRequest.Builder |
This builder for chaining. |