Class UpdateWasmPluginRequest.Builder (0.23.0)

public static final class UpdateWasmPluginRequest.Builder extends GeneratedMessageV3.Builder<UpdateWasmPluginRequest.Builder> implements UpdateWasmPluginRequestOrBuilder

Request used by the UpdateWasmPlugin method.

Protobuf type google.cloud.networkservices.v1.UpdateWasmPluginRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateWasmPluginRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateWasmPluginRequest.Builder
Overrides

build()

public UpdateWasmPluginRequest build()
Returns
Type Description
UpdateWasmPluginRequest

buildPartial()

public UpdateWasmPluginRequest buildPartial()
Returns
Type Description
UpdateWasmPluginRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateWasmPluginRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateWasmPluginRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateWasmPluginRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateWasmPluginRequest.Builder
Overrides

clearUpdateMask()

public UpdateWasmPluginRequest.Builder clearUpdateMask()

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

clearWasmPlugin()

public UpdateWasmPluginRequest.Builder clearWasmPlugin()

Required. Updated WasmPlugin resource.

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

Returns
Type Description
UpdateWasmPluginRequest.Builder

clone()

public UpdateWasmPluginRequest.Builder clone()
Returns
Type Description
UpdateWasmPluginRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateWasmPluginRequest getDefaultInstanceForType()
Returns
Type Description
UpdateWasmPluginRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

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
Builder

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.

getWasmPluginBuilder()

public WasmPlugin.Builder getWasmPluginBuilder()

Required. Updated WasmPlugin resource.

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

Returns
Type Description
WasmPlugin.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateWasmPluginRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWasmPluginRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateWasmPluginRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateWasmPluginRequest.Builder mergeUpdateMask(FieldMask value)

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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateWasmPluginRequest.Builder

mergeWasmPlugin(WasmPlugin value)

public UpdateWasmPluginRequest.Builder mergeWasmPlugin(WasmPlugin value)

Required. Updated WasmPlugin resource.

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

Parameter
Name Description
value WasmPlugin
Returns
Type Description
UpdateWasmPluginRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateWasmPluginRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateWasmPluginRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateWasmPluginRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateWasmPluginRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWasmPluginRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateWasmPluginRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateWasmPluginRequest.Builder setUpdateMask(FieldMask value)

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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateWasmPluginRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateWasmPluginRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateWasmPluginRequest.Builder

setWasmPlugin(WasmPlugin value)

public UpdateWasmPluginRequest.Builder setWasmPlugin(WasmPlugin value)

Required. Updated WasmPlugin resource.

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

Parameter
Name Description
value WasmPlugin
Returns
Type Description
UpdateWasmPluginRequest.Builder

setWasmPlugin(WasmPlugin.Builder builderForValue)

public UpdateWasmPluginRequest.Builder setWasmPlugin(WasmPlugin.Builder builderForValue)

Required. Updated WasmPlugin resource.

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

Parameter
Name Description
builderForValue WasmPlugin.Builder
Returns
Type Description
UpdateWasmPluginRequest.Builder