public static final class CreateWasmPluginRequest.Builder extends GeneratedMessage.Builder<CreateWasmPluginRequest.Builder> implements CreateWasmPluginRequestOrBuilder Request used by the CreateWasmPlugin method.
Protobuf type google.cloud.networkservices.v1.CreateWasmPluginRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateWasmPluginRequest.BuilderImplements
CreateWasmPluginRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateWasmPluginRequest build()| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest |
|
buildPartial()
public CreateWasmPluginRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest |
|
clear()
public CreateWasmPluginRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
|
clearParent()
public CreateWasmPluginRequest.Builder clearParent() Required. The parent resource of the WasmPlugin resource. Must be in the
format projects/{project}/locations/global.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
This builder for chaining. |
clearWasmPlugin()
public CreateWasmPluginRequest.Builder clearWasmPlugin() Required. WasmPlugin resource to be created.
.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
|
clearWasmPluginId()
public CreateWasmPluginRequest.Builder clearWasmPluginId() Required. User-provided ID of the WasmPlugin resource to be created.
string wasm_plugin_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateWasmPluginRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource of the WasmPlugin resource. Must be in the
format projects/{project}/locations/global.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent resource of the WasmPlugin resource. Must be in the
format projects/{project}/locations/global.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getWasmPlugin()
public WasmPlugin getWasmPlugin() Required. WasmPlugin resource to be created.
.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WasmPlugin |
The wasmPlugin. |
getWasmPluginBuilder()
public WasmPlugin.Builder getWasmPluginBuilder() Required. WasmPlugin resource to be created.
.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.Builder |
|
getWasmPluginId()
public String getWasmPluginId() Required. User-provided ID of the WasmPlugin resource to be created.
string wasm_plugin_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The wasmPluginId. |
getWasmPluginIdBytes()
public ByteString getWasmPluginIdBytes() Required. User-provided ID of the WasmPlugin resource to be created.
string wasm_plugin_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for wasmPluginId. |
getWasmPluginOrBuilder()
public WasmPluginOrBuilder getWasmPluginOrBuilder() Required. WasmPlugin resource to be created.
.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WasmPluginOrBuilder |
|
hasWasmPlugin()
public boolean hasWasmPlugin() Required. WasmPlugin resource to be created.
.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the wasmPlugin field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateWasmPluginRequest other)
public CreateWasmPluginRequest.Builder mergeFrom(CreateWasmPluginRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateWasmPluginRequest |
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateWasmPluginRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateWasmPluginRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
|
mergeWasmPlugin(WasmPlugin value)
public CreateWasmPluginRequest.Builder mergeWasmPlugin(WasmPlugin value) Required. WasmPlugin resource to be created.
.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
WasmPlugin |
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
|
setParent(String value)
public CreateWasmPluginRequest.Builder setParent(String value) Required. The parent resource of the WasmPlugin resource. Must be in the
format projects/{project}/locations/global.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateWasmPluginRequest.Builder setParentBytes(ByteString value) Required. The parent resource of the WasmPlugin resource. Must be in the
format projects/{project}/locations/global.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
This builder for chaining. |
setWasmPlugin(WasmPlugin value)
public CreateWasmPluginRequest.Builder setWasmPlugin(WasmPlugin value) Required. WasmPlugin resource to be created.
.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
WasmPlugin |
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
|
setWasmPlugin(WasmPlugin.Builder builderForValue)
public CreateWasmPluginRequest.Builder setWasmPlugin(WasmPlugin.Builder builderForValue) Required. WasmPlugin resource to be created.
.google.cloud.networkservices.v1.WasmPlugin wasm_plugin = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WasmPlugin.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
|
setWasmPluginId(String value)
public CreateWasmPluginRequest.Builder setWasmPluginId(String value) Required. User-provided ID of the WasmPlugin resource to be created.
string wasm_plugin_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe wasmPluginId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
This builder for chaining. |
setWasmPluginIdBytes(ByteString value)
public CreateWasmPluginRequest.Builder setWasmPluginIdBytes(ByteString value) Required. User-provided ID of the WasmPlugin resource to be created.
string wasm_plugin_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for wasmPluginId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateWasmPluginRequest.Builder |
This builder for chaining. |