Class DeploymentEvent

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.developerconnect.v1.DeploymentEvent
All Implemented Interfaces:
DeploymentEventOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DeploymentEvent extends com.google.protobuf.GeneratedMessage implements DeploymentEventOrBuilder
 The DeploymentEvent resource represents the deployment of the artifact within
 the InsightsConfig resource.
 
Protobuf type google.cloud.developerconnect.v1.DeploymentEvent
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • RUNTIME_CONFIG_FIELD_NUMBER

      public static final int RUNTIME_CONFIG_FIELD_NUMBER
      See Also:
    • RUNTIME_DEPLOYMENT_URI_FIELD_NUMBER

      public static final int RUNTIME_DEPLOYMENT_URI_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • ARTIFACT_DEPLOYMENTS_FIELD_NUMBER

      public static final int ARTIFACT_DEPLOYMENTS_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:
  • 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
    • getName

      public String getName()
       Identifier. The name of the DeploymentEvent. This name is provided by
       Developer Connect insights. Format:
       projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DeploymentEventOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the DeploymentEvent. This name is provided by
       Developer Connect insights. Format:
       projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DeploymentEventOrBuilder
      Returns:
      The bytes for name.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The create time of the DeploymentEvent.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DeploymentEventOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The create time of the DeploymentEvent.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DeploymentEventOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The create time of the DeploymentEvent.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DeploymentEventOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The update time of the DeploymentEvent.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DeploymentEventOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The update time of the DeploymentEvent.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface DeploymentEventOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The update time of the DeploymentEvent.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DeploymentEventOrBuilder
    • hasRuntimeConfig

      public boolean hasRuntimeConfig()
       Output only. The runtime configurations where the DeploymentEvent happened.
       
      .google.cloud.developerconnect.v1.RuntimeConfig runtime_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRuntimeConfig in interface DeploymentEventOrBuilder
      Returns:
      Whether the runtimeConfig field is set.
    • getRuntimeConfig

      public RuntimeConfig getRuntimeConfig()
       Output only. The runtime configurations where the DeploymentEvent happened.
       
      .google.cloud.developerconnect.v1.RuntimeConfig runtime_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuntimeConfig in interface DeploymentEventOrBuilder
      Returns:
      The runtimeConfig.
    • getRuntimeConfigOrBuilder

      public RuntimeConfigOrBuilder getRuntimeConfigOrBuilder()
       Output only. The runtime configurations where the DeploymentEvent happened.
       
      .google.cloud.developerconnect.v1.RuntimeConfig runtime_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuntimeConfigOrBuilder in interface DeploymentEventOrBuilder
    • getRuntimeDeploymentUri

      public String getRuntimeDeploymentUri()
       Output only. The runtime assigned URI of the DeploymentEvent.
       For GKE, this is the fully qualified replica set uri.
       e.g.
       container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/apps/replicasets/{replica-set-id}
       For Cloud Run, this is the revision name.
       
      string runtime_deployment_uri = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuntimeDeploymentUri in interface DeploymentEventOrBuilder
      Returns:
      The runtimeDeploymentUri.
    • getRuntimeDeploymentUriBytes

      public com.google.protobuf.ByteString getRuntimeDeploymentUriBytes()
       Output only. The runtime assigned URI of the DeploymentEvent.
       For GKE, this is the fully qualified replica set uri.
       e.g.
       container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/apps/replicasets/{replica-set-id}
       For Cloud Run, this is the revision name.
       
      string runtime_deployment_uri = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRuntimeDeploymentUriBytes in interface DeploymentEventOrBuilder
      Returns:
      The bytes for runtimeDeploymentUri.
    • getStateValue

      public int getStateValue()
       Output only. The state of the DeploymentEvent.
       
      .google.cloud.developerconnect.v1.DeploymentEvent.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface DeploymentEventOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public DeploymentEvent.State getState()
       Output only. The state of the DeploymentEvent.
       
      .google.cloud.developerconnect.v1.DeploymentEvent.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface DeploymentEventOrBuilder
      Returns:
      The state.
    • getArtifactDeploymentsList

      public List<ArtifactDeployment> getArtifactDeploymentsList()
       Output only. The artifact deployments of the DeploymentEvent. Each artifact
       deployment contains the artifact uri and the runtime configuration uri. For
       GKE, this would be all the containers images that are deployed in the pod.
       
      repeated .google.cloud.developerconnect.v1.ArtifactDeployment artifact_deployments = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArtifactDeploymentsList in interface DeploymentEventOrBuilder
    • getArtifactDeploymentsOrBuilderList

      public List<? extends ArtifactDeploymentOrBuilder> getArtifactDeploymentsOrBuilderList()
       Output only. The artifact deployments of the DeploymentEvent. Each artifact
       deployment contains the artifact uri and the runtime configuration uri. For
       GKE, this would be all the containers images that are deployed in the pod.
       
      repeated .google.cloud.developerconnect.v1.ArtifactDeployment artifact_deployments = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArtifactDeploymentsOrBuilderList in interface DeploymentEventOrBuilder
    • getArtifactDeploymentsCount

      public int getArtifactDeploymentsCount()
       Output only. The artifact deployments of the DeploymentEvent. Each artifact
       deployment contains the artifact uri and the runtime configuration uri. For
       GKE, this would be all the containers images that are deployed in the pod.
       
      repeated .google.cloud.developerconnect.v1.ArtifactDeployment artifact_deployments = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArtifactDeploymentsCount in interface DeploymentEventOrBuilder
    • getArtifactDeployments

      public ArtifactDeployment getArtifactDeployments(int index)
       Output only. The artifact deployments of the DeploymentEvent. Each artifact
       deployment contains the artifact uri and the runtime configuration uri. For
       GKE, this would be all the containers images that are deployed in the pod.
       
      repeated .google.cloud.developerconnect.v1.ArtifactDeployment artifact_deployments = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArtifactDeployments in interface DeploymentEventOrBuilder
    • getArtifactDeploymentsOrBuilder

      public ArtifactDeploymentOrBuilder getArtifactDeploymentsOrBuilder(int index)
       Output only. The artifact deployments of the DeploymentEvent. Each artifact
       deployment contains the artifact uri and the runtime configuration uri. For
       GKE, this would be all the containers images that are deployed in the pod.
       
      repeated .google.cloud.developerconnect.v1.ArtifactDeployment artifact_deployments = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArtifactDeploymentsOrBuilder in interface DeploymentEventOrBuilder
    • hasDeployTime

      public boolean hasDeployTime()
       Output only. The time at which the DeploymentEvent was deployed.
       This would be the min of all ArtifactDeployment deploy_times.
       
      .google.protobuf.Timestamp deploy_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDeployTime in interface DeploymentEventOrBuilder
      Returns:
      Whether the deployTime field is set.
    • getDeployTime

      public com.google.protobuf.Timestamp getDeployTime()
       Output only. The time at which the DeploymentEvent was deployed.
       This would be the min of all ArtifactDeployment deploy_times.
       
      .google.protobuf.Timestamp deploy_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeployTime in interface DeploymentEventOrBuilder
      Returns:
      The deployTime.
    • getDeployTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder()
       Output only. The time at which the DeploymentEvent was deployed.
       This would be the min of all ArtifactDeployment deploy_times.
       
      .google.protobuf.Timestamp deploy_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeployTimeOrBuilder in interface DeploymentEventOrBuilder
    • hasUndeployTime

      public boolean hasUndeployTime()
       Output only. The time at which the DeploymentEvent was undeployed, all
       artifacts are considered undeployed once this time is set. This would be
       the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment
       is still active (i.e. does not have an undeploy_time), this field will be
       empty.
       
      .google.protobuf.Timestamp undeploy_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUndeployTime in interface DeploymentEventOrBuilder
      Returns:
      Whether the undeployTime field is set.
    • getUndeployTime

      public com.google.protobuf.Timestamp getUndeployTime()
       Output only. The time at which the DeploymentEvent was undeployed, all
       artifacts are considered undeployed once this time is set. This would be
       the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment
       is still active (i.e. does not have an undeploy_time), this field will be
       empty.
       
      .google.protobuf.Timestamp undeploy_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUndeployTime in interface DeploymentEventOrBuilder
      Returns:
      The undeployTime.
    • getUndeployTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUndeployTimeOrBuilder()
       Output only. The time at which the DeploymentEvent was undeployed, all
       artifacts are considered undeployed once this time is set. This would be
       the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment
       is still active (i.e. does not have an undeploy_time), this field will be
       empty.
       
      .google.protobuf.Timestamp undeploy_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUndeployTimeOrBuilder in interface DeploymentEventOrBuilder
    • 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 DeploymentEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static DeploymentEvent parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static DeploymentEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeploymentEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static DeploymentEvent.Builder newBuilder()
    • newBuilder

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

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

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

      public static DeploymentEvent getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DeploymentEvent> 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 DeploymentEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder