Class ReleaseInfo.Builder (0.19.0)

public static final class ReleaseInfo.Builder extends GeneratedMessage.Builder<ReleaseInfo.Builder> implements ReleaseInfoOrBuilder

ReleaseInfo contains extra information about the ResourceBundle release e.g., link to an artifact registry OCI image.

Protobuf type google.cloud.configdelivery.v1.ReleaseInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ReleaseInfo build()
Returns
Type Description
ReleaseInfo

buildPartial()

public ReleaseInfo buildPartial()
Returns
Type Description
ReleaseInfo

clear()

public ReleaseInfo.Builder clear()
Returns
Type Description
ReleaseInfo.Builder
Overrides

clearOciImagePath()

public ReleaseInfo.Builder clearOciImagePath()

Output only. path to the oci image the service uploads to on a Release creation.

string oci_image_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReleaseInfo.Builder

This builder for chaining.

clearVariantOciImagePaths()

public ReleaseInfo.Builder clearVariantOciImagePaths()
Returns
Type Description
ReleaseInfo.Builder

containsVariantOciImagePaths(String key)

public boolean containsVariantOciImagePaths(String key)

Optional. per-variant paths to the oci images the service uploads on package release creation

map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public ReleaseInfo getDefaultInstanceForType()
Returns
Type Description
ReleaseInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableVariantOciImagePaths() (deprecated)

public Map<String,String> getMutableVariantOciImagePaths()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getOciImagePath()

public String getOciImagePath()

Output only. path to the oci image the service uploads to on a Release creation.

string oci_image_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The ociImagePath.

getOciImagePathBytes()

public ByteString getOciImagePathBytes()

Output only. path to the oci image the service uploads to on a Release creation.

string oci_image_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for ociImagePath.

getVariantOciImagePaths() (deprecated)

public Map<String,String> getVariantOciImagePaths()
Returns
Type Description
Map<String,String>

getVariantOciImagePathsCount()

public int getVariantOciImagePathsCount()

Optional. per-variant paths to the oci images the service uploads on package release creation

map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getVariantOciImagePathsMap()

public Map<String,String> getVariantOciImagePathsMap()

Optional. per-variant paths to the oci images the service uploads on package release creation

map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getVariantOciImagePathsOrDefault(String key, String defaultValue)

public String getVariantOciImagePathsOrDefault(String key, String defaultValue)

Optional. per-variant paths to the oci images the service uploads on package release creation

map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getVariantOciImagePathsOrThrow(String key)

public String getVariantOciImagePathsOrThrow(String key)

Optional. per-variant paths to the oci images the service uploads on package release creation

map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReleaseInfo other)

public ReleaseInfo.Builder mergeFrom(ReleaseInfo other)
Parameter
Name Description
other ReleaseInfo
Returns
Type Description
ReleaseInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReleaseInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReleaseInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReleaseInfo.Builder
Overrides

putAllVariantOciImagePaths(Map<String,String> values)

public ReleaseInfo.Builder putAllVariantOciImagePaths(Map<String,String> values)

Optional. per-variant paths to the oci images the service uploads on package release creation

map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ReleaseInfo.Builder

putVariantOciImagePaths(String key, String value)

public ReleaseInfo.Builder putVariantOciImagePaths(String key, String value)

Optional. per-variant paths to the oci images the service uploads on package release creation

map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
ReleaseInfo.Builder

removeVariantOciImagePaths(String key)

public ReleaseInfo.Builder removeVariantOciImagePaths(String key)

Optional. per-variant paths to the oci images the service uploads on package release creation

map<string, string> variant_oci_image_paths = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
ReleaseInfo.Builder

setOciImagePath(String value)

public ReleaseInfo.Builder setOciImagePath(String value)

Output only. path to the oci image the service uploads to on a Release creation.

string oci_image_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The ociImagePath to set.

Returns
Type Description
ReleaseInfo.Builder

This builder for chaining.

setOciImagePathBytes(ByteString value)

public ReleaseInfo.Builder setOciImagePathBytes(ByteString value)

Output only. path to the oci image the service uploads to on a Release creation.

string oci_image_path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for ociImagePath to set.

Returns
Type Description
ReleaseInfo.Builder

This builder for chaining.