Class DeployJobRunMetadata.Builder (1.43.0)

public static final class DeployJobRunMetadata.Builder extends GeneratedMessageV3.Builder<DeployJobRunMetadata.Builder> implements DeployJobRunMetadataOrBuilder

DeployJobRunMetadata surfaces information associated with a DeployJobRun to the user.

Protobuf type google.cloud.deploy.v1.DeployJobRunMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployJobRunMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployJobRunMetadata.Builder
Overrides

build()

public DeployJobRunMetadata build()
Returns
Type Description
DeployJobRunMetadata

buildPartial()

public DeployJobRunMetadata buildPartial()
Returns
Type Description
DeployJobRunMetadata

clear()

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

clearCloudRun()

public DeployJobRunMetadata.Builder clearCloudRun()

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployJobRunMetadata.Builder

clearCustom()

public DeployJobRunMetadata.Builder clearCustom()

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployJobRunMetadata.Builder

clearCustomTarget()

public DeployJobRunMetadata.Builder clearCustomTarget()

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployJobRunMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public DeployJobRunMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeployJobRunMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployJobRunMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeployJobRunMetadata.Builder
Overrides

clone()

public DeployJobRunMetadata.Builder clone()
Returns
Type Description
DeployJobRunMetadata.Builder
Overrides

getCloudRun()

public CloudRunMetadata getCloudRun()

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudRunMetadata

The cloudRun.

getCloudRunBuilder()

public CloudRunMetadata.Builder getCloudRunBuilder()

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudRunMetadata.Builder

getCloudRunOrBuilder()

public CloudRunMetadataOrBuilder getCloudRunOrBuilder()

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudRunMetadataOrBuilder

getCustom()

public CustomMetadata getCustom()

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomMetadata

The custom.

getCustomBuilder()

public CustomMetadata.Builder getCustomBuilder()

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomMetadata.Builder

getCustomOrBuilder()

public CustomMetadataOrBuilder getCustomOrBuilder()

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomMetadataOrBuilder

getCustomTarget()

public CustomTargetDeployMetadata getCustomTarget()

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomTargetDeployMetadata

The customTarget.

getCustomTargetBuilder()

public CustomTargetDeployMetadata.Builder getCustomTargetBuilder()

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomTargetDeployMetadata.Builder

getCustomTargetOrBuilder()

public CustomTargetDeployMetadataOrBuilder getCustomTargetOrBuilder()

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomTargetDeployMetadataOrBuilder

getDefaultInstanceForType()

public DeployJobRunMetadata getDefaultInstanceForType()
Returns
Type Description
DeployJobRunMetadata

getDescriptorForType()

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

hasCloudRun()

public boolean hasCloudRun()

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cloudRun field is set.

hasCustom()

public boolean hasCustom()

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the custom field is set.

hasCustomTarget()

public boolean hasCustomTarget()

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the customTarget field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudRun(CloudRunMetadata value)

public DeployJobRunMetadata.Builder mergeCloudRun(CloudRunMetadata value)

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CloudRunMetadata
Returns
Type Description
DeployJobRunMetadata.Builder

mergeCustom(CustomMetadata value)

public DeployJobRunMetadata.Builder mergeCustom(CustomMetadata value)

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CustomMetadata
Returns
Type Description
DeployJobRunMetadata.Builder

mergeCustomTarget(CustomTargetDeployMetadata value)

public DeployJobRunMetadata.Builder mergeCustomTarget(CustomTargetDeployMetadata value)

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CustomTargetDeployMetadata
Returns
Type Description
DeployJobRunMetadata.Builder

mergeFrom(DeployJobRunMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployJobRunMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployJobRunMetadata.Builder
Overrides

setCloudRun(CloudRunMetadata value)

public DeployJobRunMetadata.Builder setCloudRun(CloudRunMetadata value)

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CloudRunMetadata
Returns
Type Description
DeployJobRunMetadata.Builder

setCloudRun(CloudRunMetadata.Builder builderForValue)

public DeployJobRunMetadata.Builder setCloudRun(CloudRunMetadata.Builder builderForValue)

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

.google.cloud.deploy.v1.CloudRunMetadata cloud_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CloudRunMetadata.Builder
Returns
Type Description
DeployJobRunMetadata.Builder

setCustom(CustomMetadata value)

public DeployJobRunMetadata.Builder setCustom(CustomMetadata value)

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CustomMetadata
Returns
Type Description
DeployJobRunMetadata.Builder

setCustom(CustomMetadata.Builder builderForValue)

public DeployJobRunMetadata.Builder setCustom(CustomMetadata.Builder builderForValue)

Output only. Custom metadata provided by user-defined deploy operation.

.google.cloud.deploy.v1.CustomMetadata custom = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CustomMetadata.Builder
Returns
Type Description
DeployJobRunMetadata.Builder

setCustomTarget(CustomTargetDeployMetadata value)

public DeployJobRunMetadata.Builder setCustomTarget(CustomTargetDeployMetadata value)

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CustomTargetDeployMetadata
Returns
Type Description
DeployJobRunMetadata.Builder

setCustomTarget(CustomTargetDeployMetadata.Builder builderForValue)

public DeployJobRunMetadata.Builder setCustomTarget(CustomTargetDeployMetadata.Builder builderForValue)

Output only. Custom Target metadata associated with a DeployJobRun.

.google.cloud.deploy.v1.CustomTargetDeployMetadata custom_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CustomTargetDeployMetadata.Builder
Returns
Type Description
DeployJobRunMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeployJobRunMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployJobRunMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeployJobRunMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeployJobRunMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployJobRunMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployJobRunMetadata.Builder
Overrides