public static final class WasmPluginVersion.Builder extends GeneratedMessageV3.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WasmPluginVersion.BuilderImplements
WasmPluginVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WasmPluginVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
build()
public WasmPluginVersion build()
Returns | |
---|---|
Type | Description |
WasmPluginVersion |
buildPartial()
public WasmPluginVersion buildPartial()
Returns | |
---|---|
Type | Description |
WasmPluginVersion |
clear()
public WasmPluginVersion.Builder clear()
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
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];
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
clearDescription()
public WasmPluginVersion.Builder clearDescription()
Optional. A human-readable description of the resource.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public WasmPluginVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
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 | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
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 | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
clearLabels()
public WasmPluginVersion.Builder clearLabels()
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
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 | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public WasmPluginVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
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 | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
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 | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
clearPluginConfigSource()
public WasmPluginVersion.Builder clearPluginConfigSource()
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
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 | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
clone()
public WasmPluginVersion.Builder clone()
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Set of labels associated with the WasmPluginVersion
resource.
map<string, string> labels = 6 [(.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 = 3 [(.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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public WasmPluginVersion getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
WasmPluginVersion |
getDescription()
public String getDescription()
Optional. A human-readable description of the resource.
string description = 5 [(.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 = 5 [(.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. 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 | |
---|---|
Type | Description |
String |
The imageDigest. |
getImageDigestBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for imageDigest. |
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];
Returns | |
---|---|
Type | Description |
String |
The imageUri. |
getImageUriBytes()
public 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 | |
---|---|
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 = 6 [(.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 = 6 [(.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 = 6 [(.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 = 6 [(.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> |
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];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
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
resource is created, the digest of the
contents is saved in the plugin_config_digest
field.
bytes plugin_config_data = 12;
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
or the container image defined by
the plugin_config_uri
field.
string plugin_config_digest = 14 [(.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
or the container image defined by
the plugin_config_uri
field.
string plugin_config_digest = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pluginConfigDigest. |
getPluginConfigSourceCase()
public WasmPluginVersion.PluginConfigSourceCase getPluginConfigSourceCase()
Returns | |
---|---|
Type | Description |
WasmPluginVersion.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 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 | |
---|---|
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 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 | |
---|---|
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 = 4 [(.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 = 4 [(.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 = 4 [(.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 = 3 [(.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
resource is created, the digest of the
contents is saved in the plugin_config_digest
field.
bytes plugin_config_data = 12;
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 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 | |
---|---|
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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 WasmPluginVersion.Builder mergeCreateTime(Timestamp value)
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
mergeFrom(WasmPluginVersion other)
public WasmPluginVersion.Builder mergeFrom(WasmPluginVersion other)
Parameter | |
---|---|
Name | Description |
other |
WasmPluginVersion |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WasmPluginVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public WasmPluginVersion.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WasmPluginVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
mergeUpdateTime(Timestamp value)
public WasmPluginVersion.Builder mergeUpdateTime(Timestamp value)
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
putAllLabels(Map<String,String> values)
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];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
putLabels(String key, String value)
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];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
removeLabels(String key)
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];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
setCreateTime(Timestamp value)
public WasmPluginVersion.Builder setCreateTime(Timestamp value)
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public WasmPluginVersion.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when the resource was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
setDescription(String value)
public WasmPluginVersion.Builder setDescription(String value)
Optional. A human-readable description of the resource.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public WasmPluginVersion.Builder setDescriptionBytes(ByteString value)
Optional. A human-readable description of the resource.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public WasmPluginVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
setImageDigest(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The imageDigest to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setImageDigestBytes(ByteString value)
public WasmPluginVersion.Builder setImageDigestBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for imageDigest to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setImageUri(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The imageUri to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setImageUriBytes(ByteString value)
public WasmPluginVersion.Builder setImageUriBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for imageUri to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public WasmPluginVersion.Builder setNameBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setPluginConfigData(ByteString value)
public WasmPluginVersion.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
resource is created, the digest of the
contents is saved in the plugin_config_digest
field.
bytes plugin_config_data = 12;
Parameter | |
---|---|
Name | Description |
value |
ByteString The pluginConfigData to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setPluginConfigDigest(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The pluginConfigDigest to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setPluginConfigDigestBytes(ByteString value)
public WasmPluginVersion.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
or the container image defined by
the plugin_config_uri
field.
string plugin_config_digest = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pluginConfigDigest to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setPluginConfigUri(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The pluginConfigUri to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setPluginConfigUriBytes(ByteString value)
public WasmPluginVersion.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 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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pluginConfigUri to set. |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WasmPluginVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final WasmPluginVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
setUpdateTime(Timestamp value)
public WasmPluginVersion.Builder setUpdateTime(Timestamp value)
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public WasmPluginVersion.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The timestamp when the resource was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
WasmPluginVersion.Builder |