Class GetWasmPluginRequest.Builder (0.39.0)

public static final class GetWasmPluginRequest.Builder extends GeneratedMessage.Builder<GetWasmPluginRequest.Builder> implements GetWasmPluginRequestOrBuilder

Request used by the GetWasmPlugin method.

Protobuf type google.cloud.networkservices.v1.GetWasmPluginRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetWasmPluginRequest build()
Returns
Type Description
GetWasmPluginRequest

buildPartial()

public GetWasmPluginRequest buildPartial()
Returns
Type Description
GetWasmPluginRequest

clear()

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

clearName()

public GetWasmPluginRequest.Builder clearName()

Required. A name of the WasmPlugin resource to get. Must be in the format projects/{project}/locations/global/wasmPlugins/{wasm_plugin}.

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

Returns
Type Description
GetWasmPluginRequest.Builder

This builder for chaining.

clearView()

public GetWasmPluginRequest.Builder clearView()

Determines how much data must be returned in the response. See AIP-157.

.google.cloud.networkservices.v1.WasmPluginView view = 2;

Returns
Type Description
GetWasmPluginRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetWasmPluginRequest getDefaultInstanceForType()
Returns
Type Description
GetWasmPluginRequest

getDescriptorForType()

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

getName()

public String getName()

Required. A name of the WasmPlugin resource to get. Must be in the format projects/{project}/locations/global/wasmPlugins/{wasm_plugin}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. A name of the WasmPlugin resource to get. Must be in the format projects/{project}/locations/global/wasmPlugins/{wasm_plugin}.

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

Returns
Type Description
ByteString

The bytes for name.

getView()

public WasmPluginView getView()

Determines how much data must be returned in the response. See AIP-157.

.google.cloud.networkservices.v1.WasmPluginView view = 2;

Returns
Type Description
WasmPluginView

The view.

getViewValue()

public int getViewValue()

Determines how much data must be returned in the response. See AIP-157.

.google.cloud.networkservices.v1.WasmPluginView view = 2;

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetWasmPluginRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetWasmPluginRequest.Builder setName(String value)

Required. A name of the WasmPlugin resource to get. Must be in the format projects/{project}/locations/global/wasmPlugins/{wasm_plugin}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetWasmPluginRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetWasmPluginRequest.Builder setNameBytes(ByteString value)

Required. A name of the WasmPlugin resource to get. Must be in the format projects/{project}/locations/global/wasmPlugins/{wasm_plugin}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetWasmPluginRequest.Builder

This builder for chaining.

setView(WasmPluginView value)

public GetWasmPluginRequest.Builder setView(WasmPluginView value)

Determines how much data must be returned in the response. See AIP-157.

.google.cloud.networkservices.v1.WasmPluginView view = 2;

Parameter
Name Description
value WasmPluginView

The view to set.

Returns
Type Description
GetWasmPluginRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetWasmPluginRequest.Builder setViewValue(int value)

Determines how much data must be returned in the response. See AIP-157.

.google.cloud.networkservices.v1.WasmPluginView view = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
GetWasmPluginRequest.Builder

This builder for chaining.