Class UpdateWasmPluginRequest (0.23.0)

public final class UpdateWasmPluginRequest extends GeneratedMessageV3 implements UpdateWasmPluginRequestOrBuilder

Request used by the UpdateWasmPlugin method.

Protobuf type google.cloud.networkservices.v1.UpdateWasmPluginRequest

Static Fields

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

WASM_PLUGIN_FIELD_NUMBER

public static final int WASM_PLUGIN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateWasmPluginRequest getDefaultInstance()
Returns
Type Description
UpdateWasmPluginRequest

getDescriptor()

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

newBuilder()

public static UpdateWasmPluginRequest.Builder newBuilder()
Returns
Type Description
UpdateWasmPluginRequest.Builder

newBuilder(UpdateWasmPluginRequest prototype)

public static UpdateWasmPluginRequest.Builder newBuilder(UpdateWasmPluginRequest prototype)
Parameter
Name Description
prototype UpdateWasmPluginRequest
Returns
Type Description
UpdateWasmPluginRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateWasmPluginRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateWasmPluginRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateWasmPluginRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateWasmPluginRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateWasmPluginRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateWasmPluginRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateWasmPluginRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateWasmPluginRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateWasmPluginRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateWasmPluginRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateWasmPluginRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateWasmPluginRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateWasmPluginRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateWasmPluginRequest> parser()
Returns
Type Description
Parser<UpdateWasmPluginRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateWasmPluginRequest getDefaultInstanceForType()
Returns
Type Description
UpdateWasmPluginRequest

getParserForType()

public Parser<UpdateWasmPluginRequest> getParserForType()
Returns
Type Description
Parser<UpdateWasmPluginRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Used to specify the fields to be overwritten in the WasmPlugin resource by the update. The fields specified in the update_mask field are relative to the resource, not the full request. An omitted update_mask field is treated as an implied update_mask field equivalent to all fields that are populated (that have a non-empty value). The update_mask field supports a special value *, which means that each field in the given WasmPlugin resource (including the empty ones) replaces the current value.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Used to specify the fields to be overwritten in the WasmPlugin resource by the update. The fields specified in the update_mask field are relative to the resource, not the full request. An omitted update_mask field is treated as an implied update_mask field equivalent to all fields that are populated (that have a non-empty value). The update_mask field supports a special value *, which means that each field in the given WasmPlugin resource (including the empty ones) replaces the current value.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

getWasmPlugin()

public WasmPlugin getWasmPlugin()

Required. Updated WasmPlugin resource.

.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WasmPlugin

The wasmPlugin.

getWasmPluginOrBuilder()

public WasmPluginOrBuilder getWasmPluginOrBuilder()

Required. Updated WasmPlugin resource.

.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WasmPluginOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Used to specify the fields to be overwritten in the WasmPlugin resource by the update. The fields specified in the update_mask field are relative to the resource, not the full request. An omitted update_mask field is treated as an implied update_mask field equivalent to all fields that are populated (that have a non-empty value). The update_mask field supports a special value *, which means that each field in the given WasmPlugin resource (including the empty ones) replaces the current value.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

hasWasmPlugin()

public boolean hasWasmPlugin()

Required. Updated WasmPlugin resource.

.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the wasmPlugin field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateWasmPluginRequest.Builder newBuilderForType()
Returns
Type Description
UpdateWasmPluginRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateWasmPluginRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateWasmPluginRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateWasmPluginRequest.Builder toBuilder()
Returns
Type Description
UpdateWasmPluginRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException