public static final class ListLogicalProductVariantsRequest.Builder extends GeneratedMessage.Builder<ListLogicalProductVariantsRequest.Builder> implements ListLogicalProductVariantsRequestOrBuilderRequest message for ListLogicalProductVariants.
Protobuf type google.cloud.productregistry.v1.ListLogicalProductVariantsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListLogicalProductVariantsRequest.BuilderImplements
ListLogicalProductVariantsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListLogicalProductVariantsRequest build()| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest |
|
buildPartial()
public ListLogicalProductVariantsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest |
|
clear()
public ListLogicalProductVariantsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
|
clearPageSize()
public ListLogicalProductVariantsRequest.Builder clearPageSize()Optional. The maximum number of logical product variants to return. The service may return fewer than this value. If unspecified, at most 100 logical product variants will be returned. The maximum value is 500; values above 500 will be coerced to 500.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListLogicalProductVariantsRequest.Builder clearPageToken() Optional. A page token, received from a previous
ListLogicalProductVariants call. Provide this to retrieve the subsequent
page.
When paginating, all other parameters provided to
ListLogicalProductVariants must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
This builder for chaining. |
clearParent()
public ListLogicalProductVariantsRequest.Builder clearParent()Required. Parent logical product id. Format: logicalProducts/{logical_product}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListLogicalProductVariantsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int getPageSize()Optional. The maximum number of logical product variants to return. The service may return fewer than this value. If unspecified, at most 100 logical product variants will be returned. The maximum value is 500; values above 500 will be coerced to 500.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A page token, received from a previous
ListLogicalProductVariants call. Provide this to retrieve the subsequent
page.
When paginating, all other parameters provided to
ListLogicalProductVariants must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A page token, received from a previous
ListLogicalProductVariants call. Provide this to retrieve the subsequent
page.
When paginating, all other parameters provided to
ListLogicalProductVariants must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. Parent logical product id. Format: logicalProducts/{logical_product}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. Parent logical product id. Format: logicalProducts/{logical_product}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListLogicalProductVariantsRequest other)
public ListLogicalProductVariantsRequest.Builder mergeFrom(ListLogicalProductVariantsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListLogicalProductVariantsRequest |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListLogicalProductVariantsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListLogicalProductVariantsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
|
setPageSize(int value)
public ListLogicalProductVariantsRequest.Builder setPageSize(int value)Optional. The maximum number of logical product variants to return. The service may return fewer than this value. If unspecified, at most 100 logical product variants will be returned. The maximum value is 500; values above 500 will be coerced to 500.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListLogicalProductVariantsRequest.Builder setPageToken(String value) Optional. A page token, received from a previous
ListLogicalProductVariants call. Provide this to retrieve the subsequent
page.
When paginating, all other parameters provided to
ListLogicalProductVariants must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListLogicalProductVariantsRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous
ListLogicalProductVariants call. Provide this to retrieve the subsequent
page.
When paginating, all other parameters provided to
ListLogicalProductVariants must match the call that provided the page
token.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListLogicalProductVariantsRequest.Builder setParent(String value)Required. Parent logical product id. Format: logicalProducts/{logical_product}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListLogicalProductVariantsRequest.Builder setParentBytes(ByteString value)Required. Parent logical product id. Format: logicalProducts/{logical_product}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductVariantsRequest.Builder |
This builder for chaining. |