public final class DeploymentEvent extends GeneratedMessage implements DeploymentEventOrBuilder
The DeploymentEvent resource represents the deployment of the artifact within
the InsightsConfig resource.
Protobuf type google.cloud.developerconnect.v1.DeploymentEvent
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_DEPLOYMENTS_FIELD_NUMBER
public static final int ARTIFACT_DEPLOYMENTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DEPLOY_TIME_FIELD_NUMBER
public static final int DEPLOY_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RUNTIME_CONFIG_FIELD_NUMBER
public static final int RUNTIME_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RUNTIME_DEPLOYMENT_URI_FIELD_NUMBER
public static final int RUNTIME_DEPLOYMENT_URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UNDEPLOY_TIME_FIELD_NUMBER
public static final int UNDEPLOY_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DeploymentEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DeploymentEvent.Builder newBuilder()
newBuilder(DeploymentEvent prototype)
public static DeploymentEvent.Builder newBuilder(DeploymentEvent prototype)
public static DeploymentEvent parseDelimitedFrom(InputStream input)
public static DeploymentEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DeploymentEvent parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeploymentEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DeploymentEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeploymentEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeploymentEvent parseFrom(CodedInputStream input)
public static DeploymentEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DeploymentEvent parseFrom(InputStream input)
public static DeploymentEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DeploymentEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DeploymentEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DeploymentEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getArtifactDeployments(int index)
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];
| Parameter |
| Name |
Description |
index |
int
|
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];
| Returns |
| Type |
Description |
int |
|
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];
getArtifactDeploymentsOrBuilder(int index)
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];
| Parameter |
| Name |
Description |
index |
int
|
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];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.developerconnect.v1.ArtifactDeploymentOrBuilder> |
|
getCreateTime()
public Timestamp getCreateTime()
Output only. The create time of the DeploymentEvent.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The create time of the DeploymentEvent.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public DeploymentEvent getDefaultInstanceForType()
getDeployTime()
public 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];
| Returns |
| Type |
Description |
Timestamp |
The deployTime.
|
getDeployTimeOrBuilder()
public 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];
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];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public 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];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<DeploymentEvent> getParserForType()
Overrides
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];
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];
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];
| Returns |
| Type |
Description |
String |
The runtimeDeploymentUri.
|
getRuntimeDeploymentUriBytes()
public 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];
| Returns |
| Type |
Description |
ByteString |
The bytes for runtimeDeploymentUri.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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];
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];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for state.
|
getUndeployTime()
public 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];
| Returns |
| Type |
Description |
Timestamp |
The undeployTime.
|
getUndeployTimeOrBuilder()
public 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];
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The update time of the DeploymentEvent.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The update time of the DeploymentEvent.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. The create time of the DeploymentEvent.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the deployTime field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the runtimeConfig field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the undeployTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The update time of the DeploymentEvent.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DeploymentEvent.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DeploymentEvent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DeploymentEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides