public static final class WasmPlugin.VersionDetails.Builder extends GeneratedMessageV3.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
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WasmPlugin.VersionDetails.BuilderImplements
WasmPlugin.VersionDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WasmPlugin.VersionDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
WasmPlugin.VersionDetails.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public WasmPlugin.VersionDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
WasmPlugin.VersionDetails.Builder |
clearImageDigest()
public WasmPlugin.VersionDetails.Builder clearImageDigest()
Output only. The resolved digest for the image specified in image
.
The digest is resolved during the creation of a
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 = 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 container image containing the Wasm module, stored
in the Artifact Registry. The container image must contain only a single
file with the name plugin.wasm
. When a new WasmPluginVersion
resource
is created, the URI gets resolved to an image digest and saved in the
image_digest
field.
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public WasmPlugin.VersionDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
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
the plugin_config_data
field or the container 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 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 = 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 |
clone()
public WasmPlugin.VersionDetails.Builder clone()
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. The resolved digest for the image specified in image
.
The digest is resolved during the creation of a
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 = 6 [(.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 image
.
The digest is resolved during the creation of a
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 = 6 [(.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 Wasm module, stored
in the Artifact Registry. The container image must contain only a single
file with the name plugin.wasm
. When a new WasmPluginVersion
resource
is created, the URI gets resolved to an image digest and saved in the
image_digest
field.
string image_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The imageUri. |
getImageUriBytes()
public ByteString getImageUriBytes()
Optional. URI of the container image containing the Wasm module, stored
in the Artifact Registry. The container image must contain only a single
file with the name plugin.wasm
. When a new WasmPluginVersion
resource
is created, the URI gets resolved to an image digest and saved in the
image_digest
field.
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
the plugin_config_data
field or the container 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
the plugin_config_data
field or the container 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 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 = 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 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 = 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 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 = 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 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 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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WasmPlugin.VersionDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public WasmPlugin.VersionDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
WasmPlugin.VersionDetails.Builder |
setImageDigest(String value)
public WasmPlugin.VersionDetails.Builder setImageDigest(String value)
Output only. The resolved digest for the image specified in image
.
The digest is resolved during the creation of a
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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The 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. The resolved digest for the image specified in image
.
The digest is resolved during the creation of a
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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 container image containing the Wasm module, stored
in the Artifact Registry. The container image must contain only a single
file with the name plugin.wasm
. When a new WasmPluginVersion
resource
is created, the URI gets resolved to an image digest and saved in the
image_digest
field.
string image_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The 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 container image containing the Wasm module, stored
in the Artifact Registry. The container image must contain only a single
file with the name plugin.wasm
. When a new WasmPluginVersion
resource
is created, the URI gets resolved to an image digest and saved in the
image_digest
field.
string image_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 |
ByteString The 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
the plugin_config_data
field or the container image defined by the
plugin_config_uri
field.
string plugin_config_digest = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The 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
the plugin_config_data
field or the container image defined by the
plugin_config_uri
field.
string plugin_config_digest = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 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 = 10;
Parameter | |
---|---|
Name | Description |
value |
String The 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 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 = 10;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pluginConfigUri to set. |
Returns | |
---|---|
Type | Description |
WasmPlugin.VersionDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WasmPlugin.VersionDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
WasmPlugin.VersionDetails.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final WasmPlugin.VersionDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WasmPlugin.VersionDetails.Builder |
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 |