Class ListLogicalProductVariantsRequest.Builder (0.1.0)

public static final class ListLogicalProductVariantsRequest.Builder extends GeneratedMessage.Builder<ListLogicalProductVariantsRequest.Builder> implements ListLogicalProductVariantsRequestOrBuilder

Request message for ListLogicalProductVariants.

Protobuf type google.cloud.productregistry.v1.ListLogicalProductVariantsRequest

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListLogicalProductVariantsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListLogicalProductVariantsRequest.Builder
Overrides

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 int

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for parent to set.

Returns
Type Description
ListLogicalProductVariantsRequest.Builder

This builder for chaining.