Interface WasmPluginVersionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
WasmPluginVersion, WasmPluginVersion.Builder

@Generated public interface WasmPluginVersionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasPluginConfigData

      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;
      Returns:
      Whether the pluginConfigData field is set.
    • getPluginConfigData

      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;
      Returns:
      The pluginConfigData.
    • hasPluginConfigUri

      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;
      Returns:
      Whether the pluginConfigUri field is set.
    • getPluginConfigUri

      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;
      Returns:
      The pluginConfigUri.
    • getPluginConfigUriBytes

      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;
      Returns:
      The bytes for pluginConfigUri.
    • getName

      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];
      Returns:
      The name.
    • getNameBytes

      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];
      Returns:
      The bytes for name.
    • hasCreateTime

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

      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];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

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

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

      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];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

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

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

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

      int getLabelsCount()
       Optional. Set of labels associated with the `WasmPluginVersion`
       resource.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

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

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

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

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

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

      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];
      Returns:
      The imageUri.
    • getImageUriBytes

      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];
      Returns:
      The bytes for imageUri.
    • getImageDigest

      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];
      Returns:
      The imageDigest.
    • getImageDigestBytes

      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];
      Returns:
      The bytes for imageDigest.
    • getPluginConfigDigest

      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];
      Returns:
      The pluginConfigDigest.
    • getPluginConfigDigestBytes

      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];
      Returns:
      The bytes for pluginConfigDigest.
    • getPluginConfigSourceCase

      WasmPluginVersion.PluginConfigSourceCase getPluginConfigSourceCase()