public interface WasmPluginOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Optional. Set of labels associated with the WasmPlugin
resource.
The format must comply with the following requirements.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsVersions(String key)
public abstract 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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescription()
public abstract String getDescription()
Optional. A human-readable description of the resource.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Optional. A human-readable description of the resource.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Optional. Set of labels associated with the WasmPlugin
resource.
The format must comply with the following requirements.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Optional. Set of labels associated with the WasmPlugin
resource.
The format must comply with the following requirements.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Optional. Set of labels associated with the WasmPlugin
resource.
The format must comply with the following requirements.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Optional. Set of labels associated with the WasmPlugin
resource.
The format must comply with the following requirements.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getLogConfig()
public abstract 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 | |
---|---|
Type | Description |
WasmPlugin.LogConfig |
The logConfig. |
getLogConfigOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
WasmPlugin.LogConfigOrBuilder |
getMainVersionId()
public abstract 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 | |
---|---|
Type | Description |
String |
The mainVersionId. |
getMainVersionIdBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for mainVersionId. |
getName()
public abstract 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 | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getUsedBy(int index)
public abstract WasmPlugin.UsedBy getUsedBy(int index)
Output only. List of all
extensions
that use this WasmPlugin
resource.
repeated .google.cloud.networkservices.v1.WasmPlugin.UsedBy used_by = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
WasmPlugin.UsedBy |
getUsedByCount()
public abstract int getUsedByCount()
Output only. List of all
extensions
that use this WasmPlugin
resource.
repeated .google.cloud.networkservices.v1.WasmPlugin.UsedBy used_by = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getUsedByList()
public abstract List<WasmPlugin.UsedBy> getUsedByList()
Output only. List of all
extensions
that use this WasmPlugin
resource.
repeated .google.cloud.networkservices.v1.WasmPlugin.UsedBy used_by = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<UsedBy> |
getUsedByOrBuilder(int index)
public abstract WasmPlugin.UsedByOrBuilder getUsedByOrBuilder(int index)
Output only. List of all
extensions
that use this WasmPlugin
resource.
repeated .google.cloud.networkservices.v1.WasmPlugin.UsedBy used_by = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
WasmPlugin.UsedByOrBuilder |
getUsedByOrBuilderList()
public abstract List<? extends WasmPlugin.UsedByOrBuilder> getUsedByOrBuilderList()
Output only. List of all
extensions
that use this WasmPlugin
resource.
repeated .google.cloud.networkservices.v1.WasmPlugin.UsedBy used_by = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.networkservices.v1.WasmPlugin.UsedByOrBuilder> |
getVersions() (deprecated)
public abstract Map<String,WasmPlugin.VersionDetails> getVersions()
Use #getVersionsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,VersionDetails> |
getVersionsCount()
public abstract 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];
Returns | |
---|---|
Type | Description |
int |
getVersionsMap()
public abstract Map<String,WasmPlugin.VersionDetails> 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];
Returns | |
---|---|
Type | Description |
Map<String,VersionDetails> |
getVersionsOrDefault(String key, WasmPlugin.VersionDetails defaultValue)
public abstract 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];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
WasmPlugin.VersionDetails |
Returns | |
---|---|
Type | Description |
WasmPlugin.VersionDetails |
getVersionsOrThrow(String key)
public abstract 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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
WasmPlugin.VersionDetails |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasLogConfig()
public abstract 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 | |
---|---|
Type | Description |
boolean |
Whether the logConfig field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |