Class ListProductSuitesRequest.Builder (0.1.0)

public static final class ListProductSuitesRequest.Builder extends GeneratedMessage.Builder<ListProductSuitesRequest.Builder> implements ListProductSuitesRequestOrBuilder

Request message for ListProductSuites.

Protobuf type google.cloud.productregistry.v1.ListProductSuitesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ListProductSuitesRequest build()
Returns
Type Description
ListProductSuitesRequest

buildPartial()

public ListProductSuitesRequest buildPartial()
Returns
Type Description
ListProductSuitesRequest

clear()

public ListProductSuitesRequest.Builder clear()
Returns
Type Description
ListProductSuitesRequest.Builder
Overrides

clearPageSize()

public ListProductSuitesRequest.Builder clearPageSize()

Optional. The maximum number of suites to return. The service may return fewer than this value. If unspecified, at most 100 suites will be returned. The maximum value is 500; values above 500 will be coerced to 500.

int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListProductSuitesRequest.Builder

This builder for chaining.

clearPageToken()

public ListProductSuitesRequest.Builder clearPageToken()

Optional. A page token, received from a previous ListProductSuites call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListProductSuites must match the call that provided the page token.

string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListProductSuitesRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListProductSuitesRequest getDefaultInstanceForType()
Returns
Type Description
ListProductSuitesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

Optional. The maximum number of suites to return. The service may return fewer than this value. If unspecified, at most 100 suites will be returned. The maximum value is 500; values above 500 will be coerced to 500.

int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous ListProductSuites call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListProductSuites must match the call that provided the page token.

string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous ListProductSuites call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListProductSuites must match the call that provided the page token.

string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListProductSuitesRequest other)

public ListProductSuitesRequest.Builder mergeFrom(ListProductSuitesRequest other)
Parameter
Name Description
other ListProductSuitesRequest
Returns
Type Description
ListProductSuitesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListProductSuitesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListProductSuitesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

setPageSize(int value)

public ListProductSuitesRequest.Builder setPageSize(int value)

Optional. The maximum number of suites to return. The service may return fewer than this value. If unspecified, at most 100 suites will be returned. The maximum value is 500; values above 500 will be coerced to 500.

int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListProductSuitesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListProductSuitesRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous ListProductSuites call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListProductSuites must match the call that provided the page token.

string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListProductSuitesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListProductSuitesRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous ListProductSuites call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListProductSuites must match the call that provided the page token.

string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListProductSuitesRequest.Builder

This builder for chaining.