Class ArtifactConfig (0.37.0)

publicfinalclass ArtifactConfigextendsGeneratedMessageV3implementsArtifactConfigOrBuilder

The artifact config of the artifact that is deployed.

Protobuf type google.cloud.developerconnect.v1.ArtifactConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

GOOGLE_ARTIFACT_ANALYSIS_FIELD_NUMBER

publicstaticfinalintGOOGLE_ARTIFACT_ANALYSIS_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_ARTIFACT_REGISTRY_FIELD_NUMBER

publicstaticfinalintGOOGLE_ARTIFACT_REGISTRY_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

publicstaticfinalintURI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticArtifactConfiggetDefaultInstance()
Returns
Type Description
ArtifactConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticArtifactConfig.BuildernewBuilder()
Returns
Type Description
ArtifactConfig.Builder

newBuilder(ArtifactConfig prototype)

publicstaticArtifactConfig.BuildernewBuilder(ArtifactConfigprototype)
Parameter
Name Description
prototype ArtifactConfig
Returns
Type Description
ArtifactConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticArtifactConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticArtifactConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticArtifactConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticArtifactConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticArtifactConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticArtifactConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticArtifactConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticArtifactConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticArtifactConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticArtifactConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticArtifactConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticArtifactConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ArtifactConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ArtifactConfig>parser()
Returns
Type Description
Parser<ArtifactConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getArtifactMetadataStorageCase()

publicArtifactConfig.ArtifactMetadataStorageCasegetArtifactMetadataStorageCase()
Returns
Type Description
ArtifactConfig.ArtifactMetadataStorageCase

getArtifactStorageCase()

publicArtifactConfig.ArtifactStorageCasegetArtifactStorageCase()
Returns
Type Description
ArtifactConfig.ArtifactStorageCase

getDefaultInstanceForType()

publicArtifactConfiggetDefaultInstanceForType()
Returns
Type Description
ArtifactConfig

getGoogleArtifactAnalysis()

publicGoogleArtifactAnalysisgetGoogleArtifactAnalysis()

Optional. Set if the artifact metadata is stored in Artifact analysis.

.google.cloud.developerconnect.v1.GoogleArtifactAnalysis google_artifact_analysis = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoogleArtifactAnalysis

The googleArtifactAnalysis.

getGoogleArtifactAnalysisOrBuilder()

publicGoogleArtifactAnalysisOrBuildergetGoogleArtifactAnalysisOrBuilder()

Optional. Set if the artifact metadata is stored in Artifact analysis.

.google.cloud.developerconnect.v1.GoogleArtifactAnalysis google_artifact_analysis = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoogleArtifactAnalysisOrBuilder

getGoogleArtifactRegistry()

publicGoogleArtifactRegistrygetGoogleArtifactRegistry()

Optional. Set if the artifact is stored in Artifact regsitry.

.google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoogleArtifactRegistry

The googleArtifactRegistry.

getGoogleArtifactRegistryOrBuilder()

publicGoogleArtifactRegistryOrBuildergetGoogleArtifactRegistryOrBuilder()

Optional. Set if the artifact is stored in Artifact regsitry.

.google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoogleArtifactRegistryOrBuilder

getParserForType()

publicParser<ArtifactConfig>getParserForType()
Returns
Type Description
Parser<ArtifactConfig>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUri()

publicStringgetUri()

Required. Immutable. The URI of the artifact that is deployed. e.g. us-docker.pkg.dev/my-project/my-repo/image. The URI does not include the tag / digest because it captures a lineage of artifacts.

string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The uri.

getUriBytes()

publicByteStringgetUriBytes()

Required. Immutable. The URI of the artifact that is deployed. e.g. us-docker.pkg.dev/my-project/my-repo/image. The URI does not include the tag / digest because it captures a lineage of artifacts.

string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for uri.

hasGoogleArtifactAnalysis()

publicbooleanhasGoogleArtifactAnalysis()

Optional. Set if the artifact metadata is stored in Artifact analysis.

.google.cloud.developerconnect.v1.GoogleArtifactAnalysis google_artifact_analysis = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the googleArtifactAnalysis field is set.

hasGoogleArtifactRegistry()

publicbooleanhasGoogleArtifactRegistry()

Optional. Set if the artifact is stored in Artifact regsitry.

.google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the googleArtifactRegistry field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicArtifactConfig.BuildernewBuilderForType()
Returns
Type Description
ArtifactConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedArtifactConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ArtifactConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicArtifactConfig.BuildertoBuilder()
Returns
Type Description
ArtifactConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.