public static final class WasmPlugin.VersionDetails.Builder extends GeneratedMessage.Builder<WasmPlugin.VersionDetails.Builder> implements WasmPlugin.VersionDetailsOrBuilder Details of a WasmPluginVersion resource to be inlined in the
WasmPlugin resource.
Protobuf type google.cloud.networkservices.v1.WasmPlugin.VersionDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WasmPlugin.VersionDetails.BuilderImplements
WasmPlugin.VersionDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public WasmPlugin.VersionDetails build()| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails |
|
buildPartial()
public WasmPlugin.VersionDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails |
|
clear()
public WasmPlugin.VersionDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
clearCreateTime()
public WasmPlugin.VersionDetails.Builder clearCreateTime()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
clearDescription()
public WasmPlugin.VersionDetails.Builder clearDescription()Optional. A human-readable description of the resource.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
clearImageDigest()
public WasmPlugin.VersionDetails.Builder clearImageDigest() Output only. This field holds the digest (usually checksum) value for the
plugin image. The value is calculated based on the image_uri field. If
the image_uri field refers to a container image, the digest value is
obtained from the container image. If the image_uri field refers to
a generic artifact, the digest value is calculated based on the
contents of the file.
string image_digest = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
clearImageUri()
public WasmPlugin.VersionDetails.Builder clearImageUri()Optional. URI of the image containing the Wasm module, stored in Artifact Registry.
The URI can refer to one of the following repository formats:
Container images: the
image_urimust point to a container that contains a single file with the nameplugin.wasm. When a newWasmPluginVersionresource is created, the digest of the image is saved in theimage_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
image_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.wasm. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theimage_digestfield.
string image_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
clearLabels()
public WasmPlugin.VersionDetails.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
clearPluginConfigData()
public WasmPlugin.VersionDetails.Builder clearPluginConfigData() Configuration for the plugin.
The configuration is provided to the plugin at runtime through
the ON_CONFIGURE callback. When a new
WasmPluginVersion version is created, the digest of the
contents is saved in the plugin_config_digest field.
bytes plugin_config_data = 9;
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
clearPluginConfigDigest()
public WasmPlugin.VersionDetails.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 field or the image defined by the
plugin_config_uri field.
string plugin_config_digest = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
clearPluginConfigSource()
public WasmPlugin.VersionDetails.Builder clearPluginConfigSource()| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
clearPluginConfigUri()
public WasmPlugin.VersionDetails.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 URI can refer to one of the following repository formats:
Container images: the
plugin_config_urimust point to a container that contains a single file with the nameplugin.config. When a newWasmPluginVersionresource is created, the digest of the image is saved in theplugin_config_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
plugin_config_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.config. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theplugin_config_digestfield.
string plugin_config_uri = 10;
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
clearUpdateTime()
public WasmPlugin.VersionDetails.Builder clearUpdateTime()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key) Optional. Set of labels associated with the WasmPluginVersion
resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCreateTime()
public Timestamp getCreateTime()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public WasmPlugin.VersionDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails |
|
getDescription()
public String getDescription()Optional. A human-readable description of the resource.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. A human-readable description of the resource.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getImageDigest()
public String getImageDigest() Output only. This field holds the digest (usually checksum) value for the
plugin image. The value is calculated based on the image_uri field. If
the image_uri field refers to a container image, the digest value is
obtained from the container image. If the image_uri field refers to
a generic artifact, the digest value is calculated based on the
contents of the file.
string image_digest = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The imageDigest. |
getImageDigestBytes()
public ByteString getImageDigestBytes() Output only. This field holds the digest (usually checksum) value for the
plugin image. The value is calculated based on the image_uri field. If
the image_uri field refers to a container image, the digest value is
obtained from the container image. If the image_uri field refers to
a generic artifact, the digest value is calculated based on the
contents of the file.
string image_digest = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for imageDigest. |
getImageUri()
public String getImageUri()Optional. URI of the image containing the Wasm module, stored in Artifact Registry.
The URI can refer to one of the following repository formats:
Container images: the
image_urimust point to a container that contains a single file with the nameplugin.wasm. When a newWasmPluginVersionresource is created, the digest of the image is saved in theimage_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
image_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.wasm. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theimage_digestfield.
string image_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The imageUri. |
getImageUriBytes()
public ByteString getImageUriBytes()Optional. URI of the image containing the Wasm module, stored in Artifact Registry.
The URI can refer to one of the following repository formats:
Container images: the
image_urimust point to a container that contains a single file with the nameplugin.wasm. When a newWasmPluginVersionresource is created, the digest of the image is saved in theimage_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
image_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.wasm. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theimage_digestfield.
string image_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for imageUri. |
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount() Optional. Set of labels associated with the WasmPluginVersion
resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap() Optional. Set of labels associated with the WasmPluginVersion
resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue) Optional. Set of labels associated with the WasmPluginVersion
resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key) Optional. Set of labels associated with the WasmPluginVersion
resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getPluginConfigData()
public ByteString getPluginConfigData() Configuration for the plugin.
The configuration is provided to the plugin at runtime through
the ON_CONFIGURE callback. When a new
WasmPluginVersion version is created, the digest of the
contents is saved in the plugin_config_digest field.
bytes plugin_config_data = 9;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The pluginConfigData. |
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 field or the image defined by the
plugin_config_uri field.
string plugin_config_digest = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The pluginConfigDigest. |
getPluginConfigDigestBytes()
public 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 field or the image defined by the
plugin_config_uri field.
string plugin_config_digest = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pluginConfigDigest. |
getPluginConfigSourceCase()
public WasmPlugin.VersionDetails.PluginConfigSourceCase getPluginConfigSourceCase()| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.PluginConfigSourceCase |
|
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 URI can refer to one of the following repository formats:
Container images: the
plugin_config_urimust point to a container that contains a single file with the nameplugin.config. When a newWasmPluginVersionresource is created, the digest of the image is saved in theplugin_config_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
plugin_config_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.config. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theplugin_config_digestfield.
string plugin_config_uri = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The pluginConfigUri. |
getPluginConfigUriBytes()
public 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 URI can refer to one of the following repository formats:
Container images: the
plugin_config_urimust point to a container that contains a single file with the nameplugin.config. When a newWasmPluginVersionresource is created, the digest of the image is saved in theplugin_config_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
plugin_config_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.config. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theplugin_config_digestfield.
string plugin_config_uri = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pluginConfigUri. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
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 version is created, the digest of the
contents is saved in the plugin_config_digest field.
bytes plugin_config_data = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pluginConfigData field is set. |
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 URI can refer to one of the following repository formats:
Container images: the
plugin_config_urimust point to a container that contains a single file with the nameplugin.config. When a newWasmPluginVersionresource is created, the digest of the image is saved in theplugin_config_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
plugin_config_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.config. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theplugin_config_digestfield.
string plugin_config_uri = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pluginConfigUri field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public WasmPlugin.VersionDetails.Builder mergeCreateTime(Timestamp value)Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
mergeFrom(WasmPlugin.VersionDetails other)
public WasmPlugin.VersionDetails.Builder mergeFrom(WasmPlugin.VersionDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
WasmPlugin.VersionDetails |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WasmPlugin.VersionDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WasmPlugin.VersionDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
mergeUpdateTime(Timestamp value)
public WasmPlugin.VersionDetails.Builder mergeUpdateTime(Timestamp value)Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
putAllLabels(Map<String,String> values)
public WasmPlugin.VersionDetails.Builder putAllLabels(Map<String,String> values) Optional. Set of labels associated with the WasmPluginVersion
resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
putLabels(String key, String value)
public WasmPlugin.VersionDetails.Builder putLabels(String key, String value) Optional. Set of labels associated with the WasmPluginVersion
resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
removeLabels(String key)
public WasmPlugin.VersionDetails.Builder removeLabels(String key) Optional. Set of labels associated with the WasmPluginVersion
resource.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
setCreateTime(Timestamp value)
public WasmPlugin.VersionDetails.Builder setCreateTime(Timestamp value)Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public WasmPlugin.VersionDetails.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
setDescription(String value)
public WasmPlugin.VersionDetails.Builder setDescription(String value)Optional. A human-readable description of the resource.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public WasmPlugin.VersionDetails.Builder setDescriptionBytes(ByteString value)Optional. A human-readable description of the resource.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setImageDigest(String value)
public WasmPlugin.VersionDetails.Builder setImageDigest(String value) Output only. This field holds the digest (usually checksum) value for the
plugin image. The value is calculated based on the image_uri field. If
the image_uri field refers to a container image, the digest value is
obtained from the container image. If the image_uri field refers to
a generic artifact, the digest value is calculated based on the
contents of the file.
string image_digest = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe imageDigest to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setImageDigestBytes(ByteString value)
public WasmPlugin.VersionDetails.Builder setImageDigestBytes(ByteString value) Output only. This field holds the digest (usually checksum) value for the
plugin image. The value is calculated based on the image_uri field. If
the image_uri field refers to a container image, the digest value is
obtained from the container image. If the image_uri field refers to
a generic artifact, the digest value is calculated based on the
contents of the file.
string image_digest = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for imageDigest to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setImageUri(String value)
public WasmPlugin.VersionDetails.Builder setImageUri(String value)Optional. URI of the image containing the Wasm module, stored in Artifact Registry.
The URI can refer to one of the following repository formats:
Container images: the
image_urimust point to a container that contains a single file with the nameplugin.wasm. When a newWasmPluginVersionresource is created, the digest of the image is saved in theimage_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
image_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.wasm. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theimage_digestfield.
string image_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe imageUri to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setImageUriBytes(ByteString value)
public WasmPlugin.VersionDetails.Builder setImageUriBytes(ByteString value)Optional. URI of the image containing the Wasm module, stored in Artifact Registry.
The URI can refer to one of the following repository formats:
Container images: the
image_urimust point to a container that contains a single file with the nameplugin.wasm. When a newWasmPluginVersionresource is created, the digest of the image is saved in theimage_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
image_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.wasm. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theimage_digestfield.
string image_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for imageUri to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setPluginConfigData(ByteString value)
public WasmPlugin.VersionDetails.Builder setPluginConfigData(ByteString value) Configuration for the plugin.
The configuration is provided to the plugin at runtime through
the ON_CONFIGURE callback. When a new
WasmPluginVersion version is created, the digest of the
contents is saved in the plugin_config_digest field.
bytes plugin_config_data = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe pluginConfigData to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setPluginConfigDigest(String value)
public WasmPlugin.VersionDetails.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 field or the image defined by the
plugin_config_uri field.
string plugin_config_digest = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pluginConfigDigest to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setPluginConfigDigestBytes(ByteString value)
public WasmPlugin.VersionDetails.Builder setPluginConfigDigestBytes(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 field or the image defined by the
plugin_config_uri field.
string plugin_config_digest = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pluginConfigDigest to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setPluginConfigUri(String value)
public WasmPlugin.VersionDetails.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 URI can refer to one of the following repository formats:
Container images: the
plugin_config_urimust point to a container that contains a single file with the nameplugin.config. When a newWasmPluginVersionresource is created, the digest of the image is saved in theplugin_config_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
plugin_config_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.config. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theplugin_config_digestfield.
string plugin_config_uri = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pluginConfigUri to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setPluginConfigUriBytes(ByteString value)
public WasmPlugin.VersionDetails.Builder setPluginConfigUriBytes(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 URI can refer to one of the following repository formats:
Container images: the
plugin_config_urimust point to a container that contains a single file with the nameplugin.config. When a newWasmPluginVersionresource is created, the digest of the image is saved in theplugin_config_digestfield. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.Generic artifacts: the
plugin_config_urimust be in this format:projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}. The specified package and version must contain a file with the nameplugin.config. When a newWasmPluginVersionresource is created, the checksum of the contents of the file is saved in theplugin_config_digestfield.
string plugin_config_uri = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pluginConfigUri to set. |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public WasmPlugin.VersionDetails.Builder setUpdateTime(Timestamp value)Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public WasmPlugin.VersionDetails.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
WasmPlugin.VersionDetails.Builder |
|