Class CreateWasmPluginVersionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateWasmPluginVersionRequest.Builder>
com.google.cloud.networkservices.v1.CreateWasmPluginVersionRequest.Builder
All Implemented Interfaces:
CreateWasmPluginVersionRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateWasmPluginVersionRequest

public static final class CreateWasmPluginVersionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateWasmPluginVersionRequest.Builder> implements CreateWasmPluginVersionRequestOrBuilder
 Request used by the `CreateWasmPluginVersion` method.
 
Protobuf type google.cloud.networkservices.v1.CreateWasmPluginVersionRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateWasmPluginVersionRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CreateWasmPluginVersionRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CreateWasmPluginVersionRequest.Builder>
    • getDefaultInstanceForType

      public CreateWasmPluginVersionRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CreateWasmPluginVersionRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CreateWasmPluginVersionRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateWasmPluginVersionRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CreateWasmPluginVersionRequest.Builder>
    • mergeFrom

      public CreateWasmPluginVersionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateWasmPluginVersionRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The parent resource of the `WasmPluginVersion` resource. Must be
       in the format
       `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateWasmPluginVersionRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource of the `WasmPluginVersion` resource. Must be
       in the format
       `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateWasmPluginVersionRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent resource of the `WasmPluginVersion` resource. Must be
       in the format
       `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The parent resource of the `WasmPluginVersion` resource. Must be
       in the format
       `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateWasmPluginVersionRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource of the `WasmPluginVersion` resource. Must be
       in the format
       `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getWasmPluginVersionId

      public String getWasmPluginVersionId()
       Required. User-provided ID of the `WasmPluginVersion` resource to be
       created.
       
      string wasm_plugin_version_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWasmPluginVersionId in interface CreateWasmPluginVersionRequestOrBuilder
      Returns:
      The wasmPluginVersionId.
    • getWasmPluginVersionIdBytes

      public com.google.protobuf.ByteString getWasmPluginVersionIdBytes()
       Required. User-provided ID of the `WasmPluginVersion` resource to be
       created.
       
      string wasm_plugin_version_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWasmPluginVersionIdBytes in interface CreateWasmPluginVersionRequestOrBuilder
      Returns:
      The bytes for wasmPluginVersionId.
    • setWasmPluginVersionId

      public CreateWasmPluginVersionRequest.Builder setWasmPluginVersionId(String value)
       Required. User-provided ID of the `WasmPluginVersion` resource to be
       created.
       
      string wasm_plugin_version_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The wasmPluginVersionId to set.
      Returns:
      This builder for chaining.
    • clearWasmPluginVersionId

      public CreateWasmPluginVersionRequest.Builder clearWasmPluginVersionId()
       Required. User-provided ID of the `WasmPluginVersion` resource to be
       created.
       
      string wasm_plugin_version_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setWasmPluginVersionIdBytes

      public CreateWasmPluginVersionRequest.Builder setWasmPluginVersionIdBytes(com.google.protobuf.ByteString value)
       Required. User-provided ID of the `WasmPluginVersion` resource to be
       created.
       
      string wasm_plugin_version_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for wasmPluginVersionId to set.
      Returns:
      This builder for chaining.
    • hasWasmPluginVersion

      public boolean hasWasmPluginVersion()
       Required. `WasmPluginVersion` resource to be created.
       
      .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_version = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasWasmPluginVersion in interface CreateWasmPluginVersionRequestOrBuilder
      Returns:
      Whether the wasmPluginVersion field is set.
    • getWasmPluginVersion

      public WasmPluginVersion getWasmPluginVersion()
       Required. `WasmPluginVersion` resource to be created.
       
      .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_version = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWasmPluginVersion in interface CreateWasmPluginVersionRequestOrBuilder
      Returns:
      The wasmPluginVersion.
    • setWasmPluginVersion

      public CreateWasmPluginVersionRequest.Builder setWasmPluginVersion(WasmPluginVersion value)
       Required. `WasmPluginVersion` resource to be created.
       
      .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_version = 3 [(.google.api.field_behavior) = REQUIRED];
    • setWasmPluginVersion

      public CreateWasmPluginVersionRequest.Builder setWasmPluginVersion(WasmPluginVersion.Builder builderForValue)
       Required. `WasmPluginVersion` resource to be created.
       
      .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_version = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeWasmPluginVersion

      public CreateWasmPluginVersionRequest.Builder mergeWasmPluginVersion(WasmPluginVersion value)
       Required. `WasmPluginVersion` resource to be created.
       
      .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_version = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearWasmPluginVersion

      public CreateWasmPluginVersionRequest.Builder clearWasmPluginVersion()
       Required. `WasmPluginVersion` resource to be created.
       
      .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_version = 3 [(.google.api.field_behavior) = REQUIRED];
    • getWasmPluginVersionBuilder

      public WasmPluginVersion.Builder getWasmPluginVersionBuilder()
       Required. `WasmPluginVersion` resource to be created.
       
      .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_version = 3 [(.google.api.field_behavior) = REQUIRED];
    • getWasmPluginVersionOrBuilder

      public WasmPluginVersionOrBuilder getWasmPluginVersionOrBuilder()
       Required. `WasmPluginVersion` resource to be created.
       
      .google.cloud.networkservices.v1.WasmPluginVersion wasm_plugin_version = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getWasmPluginVersionOrBuilder in interface CreateWasmPluginVersionRequestOrBuilder