Class DeploymentEvent.Builder (0.44.0)

public static final class DeploymentEvent.Builder extends GeneratedMessage.Builder<DeploymentEvent.Builder> implements DeploymentEventOrBuilder

The DeploymentEvent resource represents the deployment of the artifact within the InsightsConfig resource.

Protobuf type google.cloud.developerconnect.v1.DeploymentEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllArtifactDeployments(Iterable<? extends ArtifactDeployment> values)

public DeploymentEvent.Builder addAllArtifactDeployments(Iterable<? extends ArtifactDeployment> values)

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
values Iterable<? extends com.google.cloud.developerconnect.v1.ArtifactDeployment>
Returns
Type Description
DeploymentEvent.Builder

addArtifactDeployments(ArtifactDeployment value)

public DeploymentEvent.Builder addArtifactDeployments(ArtifactDeployment value)

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
value ArtifactDeployment
Returns
Type Description
DeploymentEvent.Builder

addArtifactDeployments(ArtifactDeployment.Builder builderForValue)

public DeploymentEvent.Builder addArtifactDeployments(ArtifactDeployment.Builder builderForValue)

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
builderForValue ArtifactDeployment.Builder
Returns
Type Description
DeploymentEvent.Builder

addArtifactDeployments(int index, ArtifactDeployment value)

public DeploymentEvent.Builder addArtifactDeployments(int index, ArtifactDeployment value)

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];

Parameters
Name Description
index int
value ArtifactDeployment
Returns
Type Description
DeploymentEvent.Builder

addArtifactDeployments(int index, ArtifactDeployment.Builder builderForValue)

public DeploymentEvent.Builder addArtifactDeployments(int index, ArtifactDeployment.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ArtifactDeployment.Builder
Returns
Type Description
DeploymentEvent.Builder

addArtifactDeploymentsBuilder()

public ArtifactDeployment.Builder addArtifactDeploymentsBuilder()

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
ArtifactDeployment.Builder

addArtifactDeploymentsBuilder(int index)

public ArtifactDeployment.Builder addArtifactDeploymentsBuilder(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
Returns
Type Description
ArtifactDeployment.Builder

build()

public DeploymentEvent build()
Returns
Type Description
DeploymentEvent

buildPartial()

public DeploymentEvent buildPartial()
Returns
Type Description
DeploymentEvent

clear()

public DeploymentEvent.Builder clear()
Returns
Type Description
DeploymentEvent.Builder
Overrides

clearArtifactDeployments()

public DeploymentEvent.Builder clearArtifactDeployments()

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
DeploymentEvent.Builder

clearCreateTime()

public DeploymentEvent.Builder clearCreateTime()

Output only. The create time of the DeploymentEvent.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentEvent.Builder

clearDeployTime()

public DeploymentEvent.Builder clearDeployTime()

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
DeploymentEvent.Builder

clearName()

public DeploymentEvent.Builder clearName()

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
DeploymentEvent.Builder

This builder for chaining.

clearRuntimeConfig()

public DeploymentEvent.Builder clearRuntimeConfig()

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
DeploymentEvent.Builder

clearRuntimeDeploymentUri()

public DeploymentEvent.Builder clearRuntimeDeploymentUri()

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
DeploymentEvent.Builder

This builder for chaining.

clearState()

public DeploymentEvent.Builder clearState()

Output only. The state of the DeploymentEvent.

.google.cloud.developerconnect.v1.DeploymentEvent.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentEvent.Builder

This builder for chaining.

clearUndeployTime()

public DeploymentEvent.Builder clearUndeployTime()

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
DeploymentEvent.Builder

clearUpdateTime()

public DeploymentEvent.Builder clearUpdateTime()

Output only. The update time of the DeploymentEvent.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentEvent.Builder

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
Returns
Type Description
ArtifactDeployment

getArtifactDeploymentsBuilder(int index)

public ArtifactDeployment.Builder getArtifactDeploymentsBuilder(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
Returns
Type Description
ArtifactDeployment.Builder

getArtifactDeploymentsBuilderList()

public List<ArtifactDeployment.Builder> getArtifactDeploymentsBuilderList()

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<Builder>

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];

Returns
Type Description
List<ArtifactDeployment>

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
Returns
Type Description
ArtifactDeploymentOrBuilder

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.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The create time of the DeploymentEvent.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create time of the DeploymentEvent.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DeploymentEvent getDefaultInstanceForType()
Returns
Type Description
DeploymentEvent

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.

getDeployTimeBuilder()

public Timestamp.Builder getDeployTimeBuilder()

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
Builder

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];

Returns
Type Description
TimestampOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

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.

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];

Returns
Type Description
RuntimeConfig

The runtimeConfig.

getRuntimeConfigBuilder()

public RuntimeConfig.Builder getRuntimeConfigBuilder()

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
RuntimeConfig.Builder

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];

Returns
Type Description
RuntimeConfigOrBuilder

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.

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];

Returns
Type Description
DeploymentEvent.State

The state.

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.

getUndeployTimeBuilder()

public Timestamp.Builder getUndeployTimeBuilder()

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
Builder

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];

Returns
Type Description
TimestampOrBuilder

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.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The update time of the DeploymentEvent.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update time of the DeploymentEvent.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public DeploymentEvent.Builder mergeCreateTime(Timestamp value)

Output only. The create time of the DeploymentEvent.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentEvent.Builder

mergeDeployTime(Timestamp value)

public DeploymentEvent.Builder mergeDeployTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentEvent.Builder

mergeFrom(DeploymentEvent other)

public DeploymentEvent.Builder mergeFrom(DeploymentEvent other)
Parameter
Name Description
other DeploymentEvent
Returns
Type Description
DeploymentEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeploymentEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeploymentEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeploymentEvent.Builder
Overrides

mergeRuntimeConfig(RuntimeConfig value)

public DeploymentEvent.Builder mergeRuntimeConfig(RuntimeConfig value)

Output only. The runtime configurations where the DeploymentEvent happened.

.google.cloud.developerconnect.v1.RuntimeConfig runtime_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RuntimeConfig
Returns
Type Description
DeploymentEvent.Builder

mergeUndeployTime(Timestamp value)

public DeploymentEvent.Builder mergeUndeployTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentEvent.Builder

mergeUpdateTime(Timestamp value)

public DeploymentEvent.Builder mergeUpdateTime(Timestamp value)

Output only. The update time of the DeploymentEvent.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentEvent.Builder

removeArtifactDeployments(int index)

public DeploymentEvent.Builder removeArtifactDeployments(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
Returns
Type Description
DeploymentEvent.Builder

setArtifactDeployments(int index, ArtifactDeployment value)

public DeploymentEvent.Builder setArtifactDeployments(int index, ArtifactDeployment value)

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];

Parameters
Name Description
index int
value ArtifactDeployment
Returns
Type Description
DeploymentEvent.Builder

setArtifactDeployments(int index, ArtifactDeployment.Builder builderForValue)

public DeploymentEvent.Builder setArtifactDeployments(int index, ArtifactDeployment.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ArtifactDeployment.Builder
Returns
Type Description
DeploymentEvent.Builder

setCreateTime(Timestamp value)

public DeploymentEvent.Builder setCreateTime(Timestamp value)

Output only. The create time of the DeploymentEvent.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentEvent.Builder

setCreateTime(Timestamp.Builder builderForValue)

public DeploymentEvent.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The create time of the DeploymentEvent.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DeploymentEvent.Builder

setDeployTime(Timestamp value)

public DeploymentEvent.Builder setDeployTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentEvent.Builder

setDeployTime(Timestamp.Builder builderForValue)

public DeploymentEvent.Builder setDeployTime(Timestamp.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DeploymentEvent.Builder

setName(String value)

public DeploymentEvent.Builder setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeploymentEvent.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeploymentEvent.Builder setNameBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeploymentEvent.Builder

This builder for chaining.

setRuntimeConfig(RuntimeConfig value)

public DeploymentEvent.Builder setRuntimeConfig(RuntimeConfig value)

Output only. The runtime configurations where the DeploymentEvent happened.

.google.cloud.developerconnect.v1.RuntimeConfig runtime_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RuntimeConfig
Returns
Type Description
DeploymentEvent.Builder

setRuntimeConfig(RuntimeConfig.Builder builderForValue)

public DeploymentEvent.Builder setRuntimeConfig(RuntimeConfig.Builder builderForValue)

Output only. The runtime configurations where the DeploymentEvent happened.

.google.cloud.developerconnect.v1.RuntimeConfig runtime_config = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue RuntimeConfig.Builder
Returns
Type Description
DeploymentEvent.Builder

setRuntimeDeploymentUri(String value)

public DeploymentEvent.Builder setRuntimeDeploymentUri(String value)

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];

Parameter
Name Description
value String

The runtimeDeploymentUri to set.

Returns
Type Description
DeploymentEvent.Builder

This builder for chaining.

setRuntimeDeploymentUriBytes(ByteString value)

public DeploymentEvent.Builder setRuntimeDeploymentUriBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for runtimeDeploymentUri to set.

Returns
Type Description
DeploymentEvent.Builder

This builder for chaining.

setState(DeploymentEvent.State value)

public DeploymentEvent.Builder setState(DeploymentEvent.State value)

Output only. The state of the DeploymentEvent.

.google.cloud.developerconnect.v1.DeploymentEvent.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DeploymentEvent.State

The state to set.

Returns
Type Description
DeploymentEvent.Builder

This builder for chaining.

setStateValue(int value)

public DeploymentEvent.Builder setStateValue(int value)

Output only. The state of the DeploymentEvent.

.google.cloud.developerconnect.v1.DeploymentEvent.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
DeploymentEvent.Builder

This builder for chaining.

setUndeployTime(Timestamp value)

public DeploymentEvent.Builder setUndeployTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentEvent.Builder

setUndeployTime(Timestamp.Builder builderForValue)

public DeploymentEvent.Builder setUndeployTime(Timestamp.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DeploymentEvent.Builder

setUpdateTime(Timestamp value)

public DeploymentEvent.Builder setUpdateTime(Timestamp value)

Output only. The update time of the DeploymentEvent.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentEvent.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public DeploymentEvent.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The update time of the DeploymentEvent.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DeploymentEvent.Builder