Class ArtifactDeployment
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.developerconnect.v1.ArtifactDeployment
- All Implemented Interfaces:
ArtifactDeploymentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ArtifactDeployment
extends com.google.protobuf.GeneratedMessage
implements ArtifactDeploymentOrBuilder
The ArtifactDeployment resource represents the deployment of the artifact within the InsightsConfig resource.Protobuf type
google.cloud.developerconnect.v1.ArtifactDeployment- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe ArtifactDeployment resource represents the deployment of the artifact within the InsightsConfig resource.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.static ArtifactDeploymentcom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.DescriptorgetId()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<ArtifactDeployment>intgetSourceCommitUris(int index) Output only.com.google.protobuf.ByteStringgetSourceCommitUrisBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.inthashCode()booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ArtifactDeployment.Builderstatic ArtifactDeployment.BuildernewBuilder(ArtifactDeployment prototype) protected ArtifactDeployment.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ArtifactDeploymentparseDelimitedFrom(InputStream input) static ArtifactDeploymentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ArtifactDeploymentparseFrom(byte[] data) static ArtifactDeploymentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ArtifactDeploymentparseFrom(com.google.protobuf.ByteString data) static ArtifactDeploymentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ArtifactDeploymentparseFrom(com.google.protobuf.CodedInputStream input) static ArtifactDeploymentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ArtifactDeploymentparseFrom(InputStream input) static ArtifactDeploymentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ArtifactDeploymentparseFrom(ByteBuffer data) static ArtifactDeploymentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ArtifactDeployment>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
ARTIFACT_REFERENCE_FIELD_NUMBER
public static final int ARTIFACT_REFERENCE_FIELD_NUMBER- See Also:
-
ARTIFACT_ALIAS_FIELD_NUMBER
public static final int ARTIFACT_ALIAS_FIELD_NUMBER- See Also:
-
SOURCE_COMMIT_URIS_FIELD_NUMBER
public static final int SOURCE_COMMIT_URIS_FIELD_NUMBER- See Also:
-
DEPLOY_TIME_FIELD_NUMBER
public static final int DEPLOY_TIME_FIELD_NUMBER- See Also:
-
UNDEPLOY_TIME_FIELD_NUMBER
public static final int UNDEPLOY_TIME_FIELD_NUMBER- See Also:
-
CONTAINER_STATUS_SUMMARY_FIELD_NUMBER
public static final int CONTAINER_STATUS_SUMMARY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getId
Output only. Unique identifier of `ArtifactDeployment`.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceArtifactDeploymentOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Output only. Unique identifier of `ArtifactDeployment`.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdBytesin interfaceArtifactDeploymentOrBuilder- Returns:
- The bytes for id.
-
getArtifactReference
Output only. The artifact that is deployed.
string artifact_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactReferencein interfaceArtifactDeploymentOrBuilder- Returns:
- The artifactReference.
-
getArtifactReferenceBytes
public com.google.protobuf.ByteString getArtifactReferenceBytes()Output only. The artifact that is deployed.
string artifact_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArtifactReferenceBytesin interfaceArtifactDeploymentOrBuilder- Returns:
- The bytes for artifactReference.
-
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];- Specified by:
getArtifactAliasin interfaceArtifactDeploymentOrBuilder- Returns:
- The artifactAlias.
-
getArtifactAliasBytes
public com.google.protobuf.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];- Specified by:
getArtifactAliasBytesin interfaceArtifactDeploymentOrBuilder- Returns:
- The bytes for artifactAlias.
-
getSourceCommitUrisList
public com.google.protobuf.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];- Specified by:
getSourceCommitUrisListin interfaceArtifactDeploymentOrBuilder- Returns:
- A list containing the sourceCommitUris.
-
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];- Specified by:
getSourceCommitUrisCountin interfaceArtifactDeploymentOrBuilder- Returns:
- The count of sourceCommitUris.
-
getSourceCommitUris
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];- Specified by:
getSourceCommitUrisin interfaceArtifactDeploymentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sourceCommitUris at the given index.
-
getSourceCommitUrisBytes
public com.google.protobuf.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];- Specified by:
getSourceCommitUrisBytesin interfaceArtifactDeploymentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sourceCommitUris at the given index.
-
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];- Specified by:
hasDeployTimein interfaceArtifactDeploymentOrBuilder- Returns:
- Whether the deployTime field is set.
-
getDeployTime
public com.google.protobuf.Timestamp getDeployTime()Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployTimein interfaceArtifactDeploymentOrBuilder- Returns:
- The deployTime.
-
getDeployTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder()Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployTimeOrBuilderin interfaceArtifactDeploymentOrBuilder
-
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];- Specified by:
hasUndeployTimein interfaceArtifactDeploymentOrBuilder- Returns:
- Whether the undeployTime field is set.
-
getUndeployTime
public com.google.protobuf.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];- Specified by:
getUndeployTimein interfaceArtifactDeploymentOrBuilder- Returns:
- The undeployTime.
-
getUndeployTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getUndeployTimeOrBuilderin interfaceArtifactDeploymentOrBuilder
-
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];- Specified by:
getContainerStatusSummaryin interfaceArtifactDeploymentOrBuilder- Returns:
- The containerStatusSummary.
-
getContainerStatusSummaryBytes
public com.google.protobuf.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];- Specified by:
getContainerStatusSummaryBytesin interfaceArtifactDeploymentOrBuilder- Returns:
- The bytes for containerStatusSummary.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ArtifactDeployment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ArtifactDeployment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ArtifactDeployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ArtifactDeployment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ArtifactDeployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ArtifactDeployment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ArtifactDeployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ArtifactDeployment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ArtifactDeployment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ArtifactDeployment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ArtifactDeployment.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-