public static final class ArtifactConfig.Builder extends GeneratedMessageV3.Builder<ArtifactConfig.Builder> implements ArtifactConfigOrBuilder
The artifact config of the artifact that is deployed.
Protobuf type google.cloud.developerconnect.v1.ArtifactConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ArtifactConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ArtifactConfig build()
buildPartial()
public ArtifactConfig buildPartial()
clear()
public ArtifactConfig.Builder clear()
Overrides
public ArtifactConfig.Builder clearArtifactMetadataStorage()
clearArtifactStorage()
public ArtifactConfig.Builder clearArtifactStorage()
clearField(Descriptors.FieldDescriptor field)
public ArtifactConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGoogleArtifactAnalysis()
public ArtifactConfig.Builder clearGoogleArtifactAnalysis()
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];
clearGoogleArtifactRegistry()
public ArtifactConfig.Builder clearGoogleArtifactRegistry()
Optional. Set if the artifact is stored in Artifact regsitry.
.google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public ArtifactConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUri()
public ArtifactConfig.Builder clearUri()
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];
clone()
public ArtifactConfig.Builder clone()
Overrides
public ArtifactConfig.ArtifactMetadataStorageCase getArtifactMetadataStorageCase()
getArtifactStorageCase()
public ArtifactConfig.ArtifactStorageCase getArtifactStorageCase()
getDefaultInstanceForType()
public ArtifactConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGoogleArtifactAnalysis()
public GoogleArtifactAnalysis getGoogleArtifactAnalysis()
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];
getGoogleArtifactAnalysisBuilder()
public GoogleArtifactAnalysis.Builder getGoogleArtifactAnalysisBuilder()
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];
getGoogleArtifactAnalysisOrBuilder()
public GoogleArtifactAnalysisOrBuilder getGoogleArtifactAnalysisOrBuilder()
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];
getGoogleArtifactRegistry()
public GoogleArtifactRegistry getGoogleArtifactRegistry()
Optional. Set if the artifact is stored in Artifact regsitry.
.google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
getGoogleArtifactRegistryBuilder()
public GoogleArtifactRegistry.Builder getGoogleArtifactRegistryBuilder()
Optional. Set if the artifact is stored in Artifact regsitry.
.google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
getGoogleArtifactRegistryOrBuilder()
public GoogleArtifactRegistryOrBuilder getGoogleArtifactRegistryOrBuilder()
Optional. Set if the artifact is stored in Artifact regsitry.
.google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
getUri()
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()
public ByteString getUriBytes()
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()
public boolean hasGoogleArtifactAnalysis()
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()
public boolean hasGoogleArtifactRegistry()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ArtifactConfig other)
public ArtifactConfig.Builder mergeFrom(ArtifactConfig other)
public ArtifactConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ArtifactConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGoogleArtifactAnalysis(GoogleArtifactAnalysis value)
public ArtifactConfig.Builder mergeGoogleArtifactAnalysis(GoogleArtifactAnalysis value)
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];
mergeGoogleArtifactRegistry(GoogleArtifactRegistry value)
public ArtifactConfig.Builder mergeGoogleArtifactRegistry(GoogleArtifactRegistry value)
Optional. Set if the artifact is stored in Artifact regsitry.
.google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ArtifactConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ArtifactConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGoogleArtifactAnalysis(GoogleArtifactAnalysis value)
public ArtifactConfig.Builder setGoogleArtifactAnalysis(GoogleArtifactAnalysis value)
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];
setGoogleArtifactAnalysis(GoogleArtifactAnalysis.Builder builderForValue)
public ArtifactConfig.Builder setGoogleArtifactAnalysis(GoogleArtifactAnalysis.Builder builderForValue)
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];
setGoogleArtifactRegistry(GoogleArtifactRegistry value)
public ArtifactConfig.Builder setGoogleArtifactRegistry(GoogleArtifactRegistry value)
Optional. Set if the artifact is stored in Artifact regsitry.
.google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
setGoogleArtifactRegistry(GoogleArtifactRegistry.Builder builderForValue)
public ArtifactConfig.Builder setGoogleArtifactRegistry(GoogleArtifactRegistry.Builder builderForValue)
Optional. Set if the artifact is stored in Artifact regsitry.
.google.cloud.developerconnect.v1.GoogleArtifactRegistry google_artifact_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ArtifactConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ArtifactConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUri(String value)
public ArtifactConfig.Builder setUri(String value)
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];
Parameter |
Name |
Description |
value |
String
The uri to set.
|
setUriBytes(ByteString value)
public ArtifactConfig.Builder setUriBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for uri to set.
|