Class ListWasmPluginVersionsRequest.Builder (0.39.0)

public static final class ListWasmPluginVersionsRequest.Builder extends GeneratedMessage.Builder<ListWasmPluginVersionsRequest.Builder> implements ListWasmPluginVersionsRequestOrBuilder

Request used with the ListWasmPluginVersions method.

Protobuf type google.cloud.networkservices.v1.ListWasmPluginVersionsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListWasmPluginVersionsRequest build()
Returns
Type Description
ListWasmPluginVersionsRequest

buildPartial()

public ListWasmPluginVersionsRequest buildPartial()
Returns
Type Description
ListWasmPluginVersionsRequest

clear()

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

clearPageSize()

public ListWasmPluginVersionsRequest.Builder clearPageSize()

Maximum number of WasmPluginVersion resources to return per call. If not specified, at most 50 WasmPluginVersion resources are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

int32 page_size = 2;

Returns
Type Description
ListWasmPluginVersionsRequest.Builder

This builder for chaining.

clearPageToken()

public ListWasmPluginVersionsRequest.Builder clearPageToken()

The value returned by the last ListWasmPluginVersionsResponse call. Indicates that this is a continuation of a prior ListWasmPluginVersions call, and that the next page of data is to be returned.

string page_token = 3;

Returns
Type Description
ListWasmPluginVersionsRequest.Builder

This builder for chaining.

clearParent()

public ListWasmPluginVersionsRequest.Builder clearParent()

Required. The WasmPlugin resource whose WasmPluginVersions are listed, specified in the following format: projects/{project}/locations/global/wasmPlugins/{wasm_plugin}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListWasmPluginVersionsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListWasmPluginVersionsRequest getDefaultInstanceForType()
Returns
Type Description
ListWasmPluginVersionsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Maximum number of WasmPluginVersion resources to return per call. If not specified, at most 50 WasmPluginVersion resources are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The value returned by the last ListWasmPluginVersionsResponse call. Indicates that this is a continuation of a prior ListWasmPluginVersions call, and that the next page of data is to be returned.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The value returned by the last ListWasmPluginVersionsResponse call. Indicates that this is a continuation of a prior ListWasmPluginVersions call, and that the next page of data is to be returned.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The WasmPlugin resource whose WasmPluginVersions are listed, specified in the following format: projects/{project}/locations/global/wasmPlugins/{wasm_plugin}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The WasmPlugin resource whose WasmPluginVersions are listed, specified in the following format: projects/{project}/locations/global/wasmPlugins/{wasm_plugin}.

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(ListWasmPluginVersionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPageSize(int value)

public ListWasmPluginVersionsRequest.Builder setPageSize(int value)

Maximum number of WasmPluginVersion resources to return per call. If not specified, at most 50 WasmPluginVersion resources are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListWasmPluginVersionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListWasmPluginVersionsRequest.Builder setPageToken(String value)

The value returned by the last ListWasmPluginVersionsResponse call. Indicates that this is a continuation of a prior ListWasmPluginVersions call, and that the next page of data is to be returned.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListWasmPluginVersionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListWasmPluginVersionsRequest.Builder setPageTokenBytes(ByteString value)

The value returned by the last ListWasmPluginVersionsResponse call. Indicates that this is a continuation of a prior ListWasmPluginVersions call, and that the next page of data is to be returned.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListWasmPluginVersionsRequest.Builder

This builder for chaining.

setParent(String value)

public ListWasmPluginVersionsRequest.Builder setParent(String value)

Required. The WasmPlugin resource whose WasmPluginVersions are listed, specified in the following format: projects/{project}/locations/global/wasmPlugins/{wasm_plugin}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListWasmPluginVersionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListWasmPluginVersionsRequest.Builder setParentBytes(ByteString value)

Required. The WasmPlugin resource whose WasmPluginVersions are listed, specified in the following format: projects/{project}/locations/global/wasmPlugins/{wasm_plugin}.

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
ListWasmPluginVersionsRequest.Builder

This builder for chaining.