Interface WasmPluginOrBuilder

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

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

    • getName

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

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the `WasmPlugin` resource in the following format:
       `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.
       
      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 = 2 [(.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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The timestamp when the resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDescription

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

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

      int getLabelsCount()
       Optional. Set of labels associated with the `WasmPlugin` resource.
      
       The format must comply with [the following
       requirements](/compute/docs/labeling-resources#requirements).
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Set of labels associated with the `WasmPlugin` resource.
      
       The format must comply with [the following
       requirements](/compute/docs/labeling-resources#requirements).
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Set of labels associated with the `WasmPlugin` resource.
      
       The format must comply with [the following
       requirements](/compute/docs/labeling-resources#requirements).
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Set of labels associated with the `WasmPlugin` resource.
      
       The format must comply with [the following
       requirements](/compute/docs/labeling-resources#requirements).
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Set of labels associated with the `WasmPlugin` resource.
      
       The format must comply with [the following
       requirements](/compute/docs/labeling-resources#requirements).
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getMainVersionId

      String getMainVersionId()
       Optional. The ID of the `WasmPluginVersion` resource that is the
       currently serving one. The version referred to must be a child of this
       `WasmPlugin` resource.
       
      string main_version_id = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The mainVersionId.
    • getMainVersionIdBytes

      com.google.protobuf.ByteString getMainVersionIdBytes()
       Optional. The ID of the `WasmPluginVersion` resource that is the
       currently serving one. The version referred to must be a child of this
       `WasmPlugin` resource.
       
      string main_version_id = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for mainVersionId.
    • hasLogConfig

      boolean hasLogConfig()
       Optional. Specifies the logging options for the activity performed by this
       plugin. If logging is enabled, plugin logs are exported to
       Cloud Logging.
       Note that the settings relate to the logs generated by using
       logging statements in your Wasm code.
       
      .google.cloud.networkservices.v1.WasmPlugin.LogConfig log_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the logConfig field is set.
    • getLogConfig

      WasmPlugin.LogConfig getLogConfig()
       Optional. Specifies the logging options for the activity performed by this
       plugin. If logging is enabled, plugin logs are exported to
       Cloud Logging.
       Note that the settings relate to the logs generated by using
       logging statements in your Wasm code.
       
      .google.cloud.networkservices.v1.WasmPlugin.LogConfig log_config = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The logConfig.
    • getLogConfigOrBuilder

      WasmPlugin.LogConfigOrBuilder getLogConfigOrBuilder()
       Optional. Specifies the logging options for the activity performed by this
       plugin. If logging is enabled, plugin logs are exported to
       Cloud Logging.
       Note that the settings relate to the logs generated by using
       logging statements in your Wasm code.
       
      .google.cloud.networkservices.v1.WasmPlugin.LogConfig log_config = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getVersionsCount

      int getVersionsCount()
       Optional. All versions of this `WasmPlugin` resource in the key-value
       format. The key is the resource ID, and the value is the `VersionDetails`
       object.
      
       Lets you create or update a `WasmPlugin` resource and its versions in a
       single request. When the `main_version_id` field is not empty, it must
       point to one of the `VersionDetails` objects in the map.
      
       If provided in a `PATCH` request, the new versions replace the
       previous set. Any version omitted from the `versions` field is removed.
       Because the `WasmPluginVersion` resource is immutable, if a
       `WasmPluginVersion` resource with the same name already exists and differs,
       the request fails.
      
       Note: In a `GET` request, this field is populated only if the field
       `GetWasmPluginRequest.view` is set to `WASM_PLUGIN_VIEW_FULL`.
       
      map<string, .google.cloud.networkservices.v1.WasmPlugin.VersionDetails> versions = 10 [(.google.api.field_behavior) = OPTIONAL];
    • containsVersions

      boolean containsVersions(String key)
       Optional. All versions of this `WasmPlugin` resource in the key-value
       format. The key is the resource ID, and the value is the `VersionDetails`
       object.
      
       Lets you create or update a `WasmPlugin` resource and its versions in a
       single request. When the `main_version_id` field is not empty, it must
       point to one of the `VersionDetails` objects in the map.
      
       If provided in a `PATCH` request, the new versions replace the
       previous set. Any version omitted from the `versions` field is removed.
       Because the `WasmPluginVersion` resource is immutable, if a
       `WasmPluginVersion` resource with the same name already exists and differs,
       the request fails.
      
       Note: In a `GET` request, this field is populated only if the field
       `GetWasmPluginRequest.view` is set to `WASM_PLUGIN_VIEW_FULL`.
       
      map<string, .google.cloud.networkservices.v1.WasmPlugin.VersionDetails> versions = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getVersions

      Deprecated.
      Use getVersionsMap() instead.
    • getVersionsMap

       Optional. All versions of this `WasmPlugin` resource in the key-value
       format. The key is the resource ID, and the value is the `VersionDetails`
       object.
      
       Lets you create or update a `WasmPlugin` resource and its versions in a
       single request. When the `main_version_id` field is not empty, it must
       point to one of the `VersionDetails` objects in the map.
      
       If provided in a `PATCH` request, the new versions replace the
       previous set. Any version omitted from the `versions` field is removed.
       Because the `WasmPluginVersion` resource is immutable, if a
       `WasmPluginVersion` resource with the same name already exists and differs,
       the request fails.
      
       Note: In a `GET` request, this field is populated only if the field
       `GetWasmPluginRequest.view` is set to `WASM_PLUGIN_VIEW_FULL`.
       
      map<string, .google.cloud.networkservices.v1.WasmPlugin.VersionDetails> versions = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getVersionsOrDefault

      WasmPlugin.VersionDetails getVersionsOrDefault(String key, WasmPlugin.VersionDetails defaultValue)
       Optional. All versions of this `WasmPlugin` resource in the key-value
       format. The key is the resource ID, and the value is the `VersionDetails`
       object.
      
       Lets you create or update a `WasmPlugin` resource and its versions in a
       single request. When the `main_version_id` field is not empty, it must
       point to one of the `VersionDetails` objects in the map.
      
       If provided in a `PATCH` request, the new versions replace the
       previous set. Any version omitted from the `versions` field is removed.
       Because the `WasmPluginVersion` resource is immutable, if a
       `WasmPluginVersion` resource with the same name already exists and differs,
       the request fails.
      
       Note: In a `GET` request, this field is populated only if the field
       `GetWasmPluginRequest.view` is set to `WASM_PLUGIN_VIEW_FULL`.
       
      map<string, .google.cloud.networkservices.v1.WasmPlugin.VersionDetails> versions = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getVersionsOrThrow

      WasmPlugin.VersionDetails getVersionsOrThrow(String key)
       Optional. All versions of this `WasmPlugin` resource in the key-value
       format. The key is the resource ID, and the value is the `VersionDetails`
       object.
      
       Lets you create or update a `WasmPlugin` resource and its versions in a
       single request. When the `main_version_id` field is not empty, it must
       point to one of the `VersionDetails` objects in the map.
      
       If provided in a `PATCH` request, the new versions replace the
       previous set. Any version omitted from the `versions` field is removed.
       Because the `WasmPluginVersion` resource is immutable, if a
       `WasmPluginVersion` resource with the same name already exists and differs,
       the request fails.
      
       Note: In a `GET` request, this field is populated only if the field
       `GetWasmPluginRequest.view` is set to `WASM_PLUGIN_VIEW_FULL`.
       
      map<string, .google.cloud.networkservices.v1.WasmPlugin.VersionDetails> versions = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getUsedByList

      List<WasmPlugin.UsedBy> getUsedByList()
       Output only. List of all
       [extensions](https://cloud.google.com/service-extensions/docs/overview)
       that use this `WasmPlugin` resource.
       
      repeated .google.cloud.networkservices.v1.WasmPlugin.UsedBy used_by = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUsedBy

      WasmPlugin.UsedBy getUsedBy(int index)
       Output only. List of all
       [extensions](https://cloud.google.com/service-extensions/docs/overview)
       that use this `WasmPlugin` resource.
       
      repeated .google.cloud.networkservices.v1.WasmPlugin.UsedBy used_by = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUsedByCount

      int getUsedByCount()
       Output only. List of all
       [extensions](https://cloud.google.com/service-extensions/docs/overview)
       that use this `WasmPlugin` resource.
       
      repeated .google.cloud.networkservices.v1.WasmPlugin.UsedBy used_by = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUsedByOrBuilderList

      List<? extends WasmPlugin.UsedByOrBuilder> getUsedByOrBuilderList()
       Output only. List of all
       [extensions](https://cloud.google.com/service-extensions/docs/overview)
       that use this `WasmPlugin` resource.
       
      repeated .google.cloud.networkservices.v1.WasmPlugin.UsedBy used_by = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUsedByOrBuilder

      WasmPlugin.UsedByOrBuilder getUsedByOrBuilder(int index)
       Output only. List of all
       [extensions](https://cloud.google.com/service-extensions/docs/overview)
       that use this `WasmPlugin` resource.
       
      repeated .google.cloud.networkservices.v1.WasmPlugin.UsedBy used_by = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];