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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getId

      public String getId()
       Output only. Unique identifier of `ArtifactDeployment`.
       
      string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getId in interface ArtifactDeploymentOrBuilder
      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:
      getIdBytes in interface ArtifactDeploymentOrBuilder
      Returns:
      The bytes for id.
    • getArtifactReference

      public String getArtifactReference()
       Output only. The artifact that is deployed.
       
      string artifact_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArtifactReference in interface ArtifactDeploymentOrBuilder
      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:
      getArtifactReferenceBytes in interface ArtifactDeploymentOrBuilder
      Returns:
      The bytes for artifactReference.
    • 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];
      Specified by:
      getArtifactAlias in interface ArtifactDeploymentOrBuilder
      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:
      getArtifactAliasBytes in interface ArtifactDeploymentOrBuilder
      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:
      getSourceCommitUrisList in interface ArtifactDeploymentOrBuilder
      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:
      getSourceCommitUrisCount in interface ArtifactDeploymentOrBuilder
      Returns:
      The count of sourceCommitUris.
    • getSourceCommitUris

      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];
      Specified by:
      getSourceCommitUris in interface ArtifactDeploymentOrBuilder
      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:
      getSourceCommitUrisBytes in interface ArtifactDeploymentOrBuilder
      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:
      hasDeployTime in interface ArtifactDeploymentOrBuilder
      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:
      getDeployTime in interface ArtifactDeploymentOrBuilder
      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:
      getDeployTimeOrBuilder in interface ArtifactDeploymentOrBuilder
    • 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:
      hasUndeployTime in interface ArtifactDeploymentOrBuilder
      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:
      getUndeployTime in interface ArtifactDeploymentOrBuilder
      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:
      getUndeployTimeOrBuilder in interface ArtifactDeploymentOrBuilder
    • 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];
      Specified by:
      getContainerStatusSummary in interface ArtifactDeploymentOrBuilder
      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:
      getContainerStatusSummaryBytes in interface ArtifactDeploymentOrBuilder
      Returns:
      The bytes for containerStatusSummary.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static ArtifactDeployment parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ArtifactDeployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ArtifactDeployment parseDelimitedFrom(InputStream input) throws IOException
      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

      public ArtifactDeployment.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ArtifactDeployment.Builder newBuilder()
    • newBuilder

      public static ArtifactDeployment.Builder newBuilder(ArtifactDeployment prototype)
    • toBuilder

      public ArtifactDeployment.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ArtifactDeployment.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ArtifactDeployment getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ArtifactDeployment> parser()
    • getParserForType

      public com.google.protobuf.Parser<ArtifactDeployment> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ArtifactDeployment getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder