public final class ArtifactDeployment extends GeneratedMessage implements ArtifactDeploymentOrBuilder
The ArtifactDeployment resource represents the deployment of the artifact
within the InsightsConfig resource.
Protobuf type google.cloud.developerconnect.v1.ArtifactDeployment
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ARTIFACT_ALIAS_FIELD_NUMBER
public static final int ARTIFACT_ALIAS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ARTIFACT_REFERENCE_FIELD_NUMBER
public static final int ARTIFACT_REFERENCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CONTAINER_STATUS_SUMMARY_FIELD_NUMBER
public static final int CONTAINER_STATUS_SUMMARY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DEPLOY_TIME_FIELD_NUMBER
public static final int DEPLOY_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SOURCE_COMMIT_URIS_FIELD_NUMBER
public static final int SOURCE_COMMIT_URIS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UNDEPLOY_TIME_FIELD_NUMBER
public static final int UNDEPLOY_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ArtifactDeployment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ArtifactDeployment.Builder newBuilder()
newBuilder(ArtifactDeployment prototype)
public static ArtifactDeployment.Builder newBuilder(ArtifactDeployment prototype)
public static ArtifactDeployment parseDelimitedFrom(InputStream input)
public static ArtifactDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ArtifactDeployment parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ArtifactDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ArtifactDeployment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ArtifactDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ArtifactDeployment parseFrom(CodedInputStream input)
public static ArtifactDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ArtifactDeployment parseFrom(InputStream input)
public static ArtifactDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ArtifactDeployment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ArtifactDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ArtifactDeployment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getArtifactAlias()
public String getArtifactAlias()
Output only. The artifact alias in the deployment spec, with Tag/SHA.
e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0
string artifact_alias = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The artifactAlias.
|
getArtifactAliasBytes()
public ByteString getArtifactAliasBytes()
Output only. The artifact alias in the deployment spec, with Tag/SHA.
e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0
string artifact_alias = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for artifactAlias.
|
getArtifactReference()
public String getArtifactReference()
Output only. The artifact that is deployed.
string artifact_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The artifactReference.
|
getArtifactReferenceBytes()
public ByteString getArtifactReferenceBytes()
Output only. The artifact that is deployed.
string artifact_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for artifactReference.
|
getContainerStatusSummary()
public String getContainerStatusSummary()
Output only. The summary of container status of the artifact deployment.
Format as ContainerStatusState-Reason : restartCount
e.g. "Waiting-ImagePullBackOff : 3"
string container_status_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The containerStatusSummary.
|
getContainerStatusSummaryBytes()
public ByteString getContainerStatusSummaryBytes()
Output only. The summary of container status of the artifact deployment.
Format as ContainerStatusState-Reason : restartCount
e.g. "Waiting-ImagePullBackOff : 3"
string container_status_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for containerStatusSummary.
|
getDefaultInstanceForType()
public ArtifactDeployment getDefaultInstanceForType()
getDeployTime()
public Timestamp getDeployTime()
Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The deployTime.
|
getDeployTimeOrBuilder()
public TimestampOrBuilder getDeployTimeOrBuilder()
Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getId()
Output only. Unique identifier of ArtifactDeployment.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
Output only. Unique identifier of ArtifactDeployment.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for id.
|
getParserForType()
public Parser<ArtifactDeployment> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSourceCommitUris(int index)
public String getSourceCommitUris(int index)
Output only. The source commits at which this artifact was built. Extracted
from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The sourceCommitUris at the given index.
|
getSourceCommitUrisBytes(int index)
public ByteString getSourceCommitUrisBytes(int index)
Output only. The source commits at which this artifact was built. Extracted
from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the sourceCommitUris at the given index.
|
getSourceCommitUrisCount()
public int getSourceCommitUrisCount()
Output only. The source commits at which this artifact was built. Extracted
from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The count of sourceCommitUris.
|
getSourceCommitUrisList()
public ProtocolStringList getSourceCommitUrisList()
Output only. The source commits at which this artifact was built. Extracted
from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUndeployTime()
public Timestamp getUndeployTime()
Output only. The time at which the deployment was undeployed, all artifacts
are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The undeployTime.
|
getUndeployTimeOrBuilder()
public TimestampOrBuilder getUndeployTimeOrBuilder()
Output only. The time at which the deployment was undeployed, all artifacts
are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDeployTime()
public boolean hasDeployTime()
Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the deployTime field is set.
|
hasUndeployTime()
public boolean hasUndeployTime()
Output only. The time at which the deployment was undeployed, all artifacts
are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the undeployTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ArtifactDeployment.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ArtifactDeployment.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ArtifactDeployment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides