- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.7
public static final class SearchVersionsRequest.Builder extends GeneratedMessageV3.Builder<SearchVersionsRequest.Builder> implements SearchVersionsRequestOrBuilder
Request message for PrivateCatalog.SearchVersions.
Protobuf type google.cloud.privatecatalog.v1beta1.SearchVersionsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchVersionsRequest.BuilderImplements
SearchVersionsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchVersionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SearchVersionsRequest.Builder |
build()
public SearchVersionsRequest build()
Type | Description |
SearchVersionsRequest |
buildPartial()
public SearchVersionsRequest buildPartial()
Type | Description |
SearchVersionsRequest |
clear()
public SearchVersionsRequest.Builder clear()
Type | Description |
SearchVersionsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public SearchVersionsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SearchVersionsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchVersionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SearchVersionsRequest.Builder |
clearPageSize()
public SearchVersionsRequest.Builder clearPageSize()
The maximum number of entries that are requested.
int32 page_size = 3;
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
clearPageToken()
public SearchVersionsRequest.Builder clearPageToken()
A pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from.
string page_token = 4;
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
clearQuery()
public SearchVersionsRequest.Builder clearQuery()
Required. The query to filter the versions. The supported queries are:
- List versions under a product:
parent=catalogs/{catalog}/products/{product}
- Get a version by name:
name=catalogs/{catalog}/products/{product}/versions/{version}
string query = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
clearResource()
public SearchVersionsRequest.Builder clearResource()
Required. The name of the resource context. See SearchCatalogsRequest.resource for details.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
clone()
public SearchVersionsRequest.Builder clone()
Type | Description |
SearchVersionsRequest.Builder |
getDefaultInstanceForType()
public SearchVersionsRequest getDefaultInstanceForType()
Type | Description |
SearchVersionsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPageSize()
public int getPageSize()
The maximum number of entries that are requested.
int32 page_size = 3;
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
A pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from.
string page_token = 4;
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
A pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from.
string page_token = 4;
Type | Description |
ByteString | The bytes for pageToken. |
getQuery()
public String getQuery()
Required. The query to filter the versions. The supported queries are:
- List versions under a product:
parent=catalogs/{catalog}/products/{product}
- Get a version by name:
name=catalogs/{catalog}/products/{product}/versions/{version}
string query = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The query. |
getQueryBytes()
public ByteString getQueryBytes()
Required. The query to filter the versions. The supported queries are:
- List versions under a product:
parent=catalogs/{catalog}/products/{product}
- Get a version by name:
name=catalogs/{catalog}/products/{product}/versions/{version}
string query = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for query. |
getResource()
public String getResource()
Required. The name of the resource context. See SearchCatalogsRequest.resource for details.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The resource. |
getResourceBytes()
public ByteString getResourceBytes()
Required. The name of the resource context. See SearchCatalogsRequest.resource for details.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for resource. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SearchVersionsRequest other)
public SearchVersionsRequest.Builder mergeFrom(SearchVersionsRequest other)
Name | Description |
other | SearchVersionsRequest |
Type | Description |
SearchVersionsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchVersionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SearchVersionsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SearchVersionsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SearchVersionsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchVersionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SearchVersionsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SearchVersionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SearchVersionsRequest.Builder |
setPageSize(int value)
public SearchVersionsRequest.Builder setPageSize(int value)
The maximum number of entries that are requested.
int32 page_size = 3;
Name | Description |
value | int The pageSize to set. |
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
setPageToken(String value)
public SearchVersionsRequest.Builder setPageToken(String value)
A pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from.
string page_token = 4;
Name | Description |
value | String The pageToken to set. |
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public SearchVersionsRequest.Builder setPageTokenBytes(ByteString value)
A pagination token returned from a previous call to SearchVersions that indicates where this listing should continue from.
string page_token = 4;
Name | Description |
value | ByteString The bytes for pageToken to set. |
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
setQuery(String value)
public SearchVersionsRequest.Builder setQuery(String value)
Required. The query to filter the versions. The supported queries are:
- List versions under a product:
parent=catalogs/{catalog}/products/{product}
- Get a version by name:
name=catalogs/{catalog}/products/{product}/versions/{version}
string query = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The query to set. |
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
setQueryBytes(ByteString value)
public SearchVersionsRequest.Builder setQueryBytes(ByteString value)
Required. The query to filter the versions. The supported queries are:
- List versions under a product:
parent=catalogs/{catalog}/products/{product}
- Get a version by name:
name=catalogs/{catalog}/products/{product}/versions/{version}
string query = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for query to set. |
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchVersionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SearchVersionsRequest.Builder |
setResource(String value)
public SearchVersionsRequest.Builder setResource(String value)
Required. The name of the resource context. See SearchCatalogsRequest.resource for details.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The resource to set. |
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
setResourceBytes(ByteString value)
public SearchVersionsRequest.Builder setResourceBytes(ByteString value)
Required. The name of the resource context. See SearchCatalogsRequest.resource for details.
string resource = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for resource to set. |
Type | Description |
SearchVersionsRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchVersionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SearchVersionsRequest.Builder |