Class WasmPluginVersion.Builder

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

public static final class WasmPluginVersion.Builder extends com.google.protobuf.GeneratedMessage.Builder<WasmPluginVersion.Builder> implements WasmPluginVersionOrBuilder
 A single immutable version of a `WasmPlugin` resource.
 Defines the Wasm module used and optionally its runtime config.
 
Protobuf type google.cloud.networkservices.v1.WasmPluginVersion
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<WasmPluginVersion.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<WasmPluginVersion.Builder>
    • internalGetFieldAccessorTable

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

      public WasmPluginVersion.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<WasmPluginVersion.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<WasmPluginVersion.Builder>
    • getDefaultInstanceForType

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

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

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

      public WasmPluginVersion.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<WasmPluginVersion.Builder>
    • mergeFrom

      public WasmPluginVersion.Builder mergeFrom(WasmPluginVersion other)
    • isInitialized

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

      public WasmPluginVersion.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<WasmPluginVersion.Builder>
      Throws:
      IOException
    • getPluginConfigSourceCase

      public WasmPluginVersion.PluginConfigSourceCase getPluginConfigSourceCase()
      Specified by:
      getPluginConfigSourceCase in interface WasmPluginVersionOrBuilder
    • clearPluginConfigSource

      public WasmPluginVersion.Builder clearPluginConfigSource()
    • hasPluginConfigData

      public boolean hasPluginConfigData()
       Configuration for the plugin.
       The configuration is provided to the plugin at runtime through
       the `ON_CONFIGURE` callback. When a new
       `WasmPluginVersion` resource is created, the digest of the
       contents is saved in the `plugin_config_digest` field.
       
      bytes plugin_config_data = 12;
      Specified by:
      hasPluginConfigData in interface WasmPluginVersionOrBuilder
      Returns:
      Whether the pluginConfigData field is set.
    • getPluginConfigData

      public com.google.protobuf.ByteString getPluginConfigData()
       Configuration for the plugin.
       The configuration is provided to the plugin at runtime through
       the `ON_CONFIGURE` callback. When a new
       `WasmPluginVersion` resource is created, the digest of the
       contents is saved in the `plugin_config_digest` field.
       
      bytes plugin_config_data = 12;
      Specified by:
      getPluginConfigData in interface WasmPluginVersionOrBuilder
      Returns:
      The pluginConfigData.
    • setPluginConfigData

      public WasmPluginVersion.Builder setPluginConfigData(com.google.protobuf.ByteString value)
       Configuration for the plugin.
       The configuration is provided to the plugin at runtime through
       the `ON_CONFIGURE` callback. When a new
       `WasmPluginVersion` resource is created, the digest of the
       contents is saved in the `plugin_config_digest` field.
       
      bytes plugin_config_data = 12;
      Parameters:
      value - The pluginConfigData to set.
      Returns:
      This builder for chaining.
    • clearPluginConfigData

      public WasmPluginVersion.Builder clearPluginConfigData()
       Configuration for the plugin.
       The configuration is provided to the plugin at runtime through
       the `ON_CONFIGURE` callback. When a new
       `WasmPluginVersion` resource is created, the digest of the
       contents is saved in the `plugin_config_digest` field.
       
      bytes plugin_config_data = 12;
      Returns:
      This builder for chaining.
    • hasPluginConfigUri

      public boolean hasPluginConfigUri()
       URI of the plugin configuration stored in the Artifact Registry.
       The configuration is provided to the plugin at runtime through
       the `ON_CONFIGURE` callback. The container image must contain
       only a single file with the name `plugin.config`. When a
       new `WasmPluginVersion` resource is created, the digest of the
       container image is saved in the `plugin_config_digest` field.
       
      string plugin_config_uri = 13;
      Specified by:
      hasPluginConfigUri in interface WasmPluginVersionOrBuilder
      Returns:
      Whether the pluginConfigUri field is set.
    • getPluginConfigUri

      public String getPluginConfigUri()
       URI of the plugin configuration stored in the Artifact Registry.
       The configuration is provided to the plugin at runtime through
       the `ON_CONFIGURE` callback. The container image must contain
       only a single file with the name `plugin.config`. When a
       new `WasmPluginVersion` resource is created, the digest of the
       container image is saved in the `plugin_config_digest` field.
       
      string plugin_config_uri = 13;
      Specified by:
      getPluginConfigUri in interface WasmPluginVersionOrBuilder
      Returns:
      The pluginConfigUri.
    • getPluginConfigUriBytes

      public com.google.protobuf.ByteString getPluginConfigUriBytes()
       URI of the plugin configuration stored in the Artifact Registry.
       The configuration is provided to the plugin at runtime through
       the `ON_CONFIGURE` callback. The container image must contain
       only a single file with the name `plugin.config`. When a
       new `WasmPluginVersion` resource is created, the digest of the
       container image is saved in the `plugin_config_digest` field.
       
      string plugin_config_uri = 13;
      Specified by:
      getPluginConfigUriBytes in interface WasmPluginVersionOrBuilder
      Returns:
      The bytes for pluginConfigUri.
    • setPluginConfigUri

      public WasmPluginVersion.Builder setPluginConfigUri(String value)
       URI of the plugin configuration stored in the Artifact Registry.
       The configuration is provided to the plugin at runtime through
       the `ON_CONFIGURE` callback. The container image must contain
       only a single file with the name `plugin.config`. When a
       new `WasmPluginVersion` resource is created, the digest of the
       container image is saved in the `plugin_config_digest` field.
       
      string plugin_config_uri = 13;
      Parameters:
      value - The pluginConfigUri to set.
      Returns:
      This builder for chaining.
    • clearPluginConfigUri

      public WasmPluginVersion.Builder clearPluginConfigUri()
       URI of the plugin configuration stored in the Artifact Registry.
       The configuration is provided to the plugin at runtime through
       the `ON_CONFIGURE` callback. The container image must contain
       only a single file with the name `plugin.config`. When a
       new `WasmPluginVersion` resource is created, the digest of the
       container image is saved in the `plugin_config_digest` field.
       
      string plugin_config_uri = 13;
      Returns:
      This builder for chaining.
    • setPluginConfigUriBytes

      public WasmPluginVersion.Builder setPluginConfigUriBytes(com.google.protobuf.ByteString value)
       URI of the plugin configuration stored in the Artifact Registry.
       The configuration is provided to the plugin at runtime through
       the `ON_CONFIGURE` callback. The container image must contain
       only a single file with the name `plugin.config`. When a
       new `WasmPluginVersion` resource is created, the digest of the
       container image is saved in the `plugin_config_digest` field.
       
      string plugin_config_uri = 13;
      Parameters:
      value - The bytes for pluginConfigUri to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       Identifier. Name of the `WasmPluginVersion` resource in the following
       format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/
       versions/{wasm_plugin_version}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface WasmPluginVersionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the `WasmPluginVersion` resource in the following
       format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/
       versions/{wasm_plugin_version}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface WasmPluginVersionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public WasmPluginVersion.Builder setName(String value)
       Identifier. Name of the `WasmPluginVersion` resource in the following
       format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/
       versions/{wasm_plugin_version}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public WasmPluginVersion.Builder clearName()
       Identifier. Name of the `WasmPluginVersion` resource in the following
       format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/
       versions/{wasm_plugin_version}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public WasmPluginVersion.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Name of the `WasmPluginVersion` resource in the following
       format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/
       versions/{wasm_plugin_version}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface WasmPluginVersionOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface WasmPluginVersionOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public WasmPluginVersion.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public WasmPluginVersion.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public WasmPluginVersion.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public WasmPluginVersion.Builder clearCreateTime()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp when the resource was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface WasmPluginVersionOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface WasmPluginVersionOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface WasmPluginVersionOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public WasmPluginVersion.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public WasmPluginVersion.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public WasmPluginVersion.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public WasmPluginVersion.Builder clearUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface WasmPluginVersionOrBuilder
    • getDescription

      public String getDescription()
       Optional. A human-readable description of the resource.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface WasmPluginVersionOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. A human-readable description of the resource.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface WasmPluginVersionOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public WasmPluginVersion.Builder setDescription(String value)
       Optional. A human-readable description of the resource.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public WasmPluginVersion.Builder clearDescription()
       Optional. A human-readable description of the resource.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public WasmPluginVersion.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. A human-readable description of the resource.
       
      string description = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: WasmPluginVersionOrBuilder
       Optional. Set of labels associated with the `WasmPluginVersion`
       resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface WasmPluginVersionOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Set of labels associated with the `WasmPluginVersion`
       resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface WasmPluginVersionOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface WasmPluginVersionOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Set of labels associated with the `WasmPluginVersion`
       resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface WasmPluginVersionOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Set of labels associated with the `WasmPluginVersion`
       resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface WasmPluginVersionOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Set of labels associated with the `WasmPluginVersion`
       resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface WasmPluginVersionOrBuilder
    • clearLabels

      public WasmPluginVersion.Builder clearLabels()
    • removeLabels

      public WasmPluginVersion.Builder removeLabels(String key)
       Optional. Set of labels associated with the `WasmPluginVersion`
       resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public WasmPluginVersion.Builder putLabels(String key, String value)
       Optional. Set of labels associated with the `WasmPluginVersion`
       resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public WasmPluginVersion.Builder putAllLabels(Map<String,String> values)
       Optional. Set of labels associated with the `WasmPluginVersion`
       resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getImageUri

      public String getImageUri()
       Optional. URI of the container image containing the plugin, stored in the
       Artifact Registry.
       When a new `WasmPluginVersion` resource is created, the digest
       of the container image is saved in the `image_digest` field.
       When downloading an image, the digest value is used instead of an
       image tag.
       
      string image_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getImageUri in interface WasmPluginVersionOrBuilder
      Returns:
      The imageUri.
    • getImageUriBytes

      public com.google.protobuf.ByteString getImageUriBytes()
       Optional. URI of the container image containing the plugin, stored in the
       Artifact Registry.
       When a new `WasmPluginVersion` resource is created, the digest
       of the container image is saved in the `image_digest` field.
       When downloading an image, the digest value is used instead of an
       image tag.
       
      string image_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getImageUriBytes in interface WasmPluginVersionOrBuilder
      Returns:
      The bytes for imageUri.
    • setImageUri

      public WasmPluginVersion.Builder setImageUri(String value)
       Optional. URI of the container image containing the plugin, stored in the
       Artifact Registry.
       When a new `WasmPluginVersion` resource is created, the digest
       of the container image is saved in the `image_digest` field.
       When downloading an image, the digest value is used instead of an
       image tag.
       
      string image_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The imageUri to set.
      Returns:
      This builder for chaining.
    • clearImageUri

      public WasmPluginVersion.Builder clearImageUri()
       Optional. URI of the container image containing the plugin, stored in the
       Artifact Registry.
       When a new `WasmPluginVersion` resource is created, the digest
       of the container image is saved in the `image_digest` field.
       When downloading an image, the digest value is used instead of an
       image tag.
       
      string image_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setImageUriBytes

      public WasmPluginVersion.Builder setImageUriBytes(com.google.protobuf.ByteString value)
       Optional. URI of the container image containing the plugin, stored in the
       Artifact Registry.
       When a new `WasmPluginVersion` resource is created, the digest
       of the container image is saved in the `image_digest` field.
       When downloading an image, the digest value is used instead of an
       image tag.
       
      string image_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for imageUri to set.
      Returns:
      This builder for chaining.
    • getImageDigest

      public String getImageDigest()
       Output only. The resolved digest for the image specified in the `image`
       field. The digest is resolved during the creation of `WasmPluginVersion`
       resource. This field holds the digest value, regardless of whether a tag or
       digest was originally specified in the `image` field.
       
      string image_digest = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getImageDigest in interface WasmPluginVersionOrBuilder
      Returns:
      The imageDigest.
    • getImageDigestBytes

      public com.google.protobuf.ByteString getImageDigestBytes()
       Output only. The resolved digest for the image specified in the `image`
       field. The digest is resolved during the creation of `WasmPluginVersion`
       resource. This field holds the digest value, regardless of whether a tag or
       digest was originally specified in the `image` field.
       
      string image_digest = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getImageDigestBytes in interface WasmPluginVersionOrBuilder
      Returns:
      The bytes for imageDigest.
    • setImageDigest

      public WasmPluginVersion.Builder setImageDigest(String value)
       Output only. The resolved digest for the image specified in the `image`
       field. The digest is resolved during the creation of `WasmPluginVersion`
       resource. This field holds the digest value, regardless of whether a tag or
       digest was originally specified in the `image` field.
       
      string image_digest = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The imageDigest to set.
      Returns:
      This builder for chaining.
    • clearImageDigest

      public WasmPluginVersion.Builder clearImageDigest()
       Output only. The resolved digest for the image specified in the `image`
       field. The digest is resolved during the creation of `WasmPluginVersion`
       resource. This field holds the digest value, regardless of whether a tag or
       digest was originally specified in the `image` field.
       
      string image_digest = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setImageDigestBytes

      public WasmPluginVersion.Builder setImageDigestBytes(com.google.protobuf.ByteString value)
       Output only. The resolved digest for the image specified in the `image`
       field. The digest is resolved during the creation of `WasmPluginVersion`
       resource. This field holds the digest value, regardless of whether a tag or
       digest was originally specified in the `image` field.
       
      string image_digest = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for imageDigest to set.
      Returns:
      This builder for chaining.
    • getPluginConfigDigest

      public String getPluginConfigDigest()
       Output only. This field holds the digest (usually checksum) value for the
       plugin configuration. The value is calculated based on the contents of
       `plugin_config_data` or the container image defined by
       the `plugin_config_uri` field.
       
      string plugin_config_digest = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPluginConfigDigest in interface WasmPluginVersionOrBuilder
      Returns:
      The pluginConfigDigest.
    • getPluginConfigDigestBytes

      public com.google.protobuf.ByteString getPluginConfigDigestBytes()
       Output only. This field holds the digest (usually checksum) value for the
       plugin configuration. The value is calculated based on the contents of
       `plugin_config_data` or the container image defined by
       the `plugin_config_uri` field.
       
      string plugin_config_digest = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPluginConfigDigestBytes in interface WasmPluginVersionOrBuilder
      Returns:
      The bytes for pluginConfigDigest.
    • setPluginConfigDigest

      public WasmPluginVersion.Builder setPluginConfigDigest(String value)
       Output only. This field holds the digest (usually checksum) value for the
       plugin configuration. The value is calculated based on the contents of
       `plugin_config_data` or the container image defined by
       the `plugin_config_uri` field.
       
      string plugin_config_digest = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The pluginConfigDigest to set.
      Returns:
      This builder for chaining.
    • clearPluginConfigDigest

      public WasmPluginVersion.Builder clearPluginConfigDigest()
       Output only. This field holds the digest (usually checksum) value for the
       plugin configuration. The value is calculated based on the contents of
       `plugin_config_data` or the container image defined by
       the `plugin_config_uri` field.
       
      string plugin_config_digest = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPluginConfigDigestBytes

      public WasmPluginVersion.Builder setPluginConfigDigestBytes(com.google.protobuf.ByteString value)
       Output only. This field holds the digest (usually checksum) value for the
       plugin configuration. The value is calculated based on the contents of
       `plugin_config_data` or the container image defined by
       the `plugin_config_uri` field.
       
      string plugin_config_digest = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for pluginConfigDigest to set.
      Returns:
      This builder for chaining.