Class DeployJobRunMetadata.Builder (1.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployJobRunMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeployJobRunMetadata.Builder
Overrides

build()

public DeployJobRunMetadata build()
Returns
TypeDescription
DeployJobRunMetadata

buildPartial()

public DeployJobRunMetadata buildPartial()
Returns
TypeDescription
DeployJobRunMetadata

clear()

public DeployJobRunMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DeployJobRunMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public DeployJobRunMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeployJobRunMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployJobRunMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeployJobRunMetadata.Builder
Overrides

clone()

public DeployJobRunMetadata.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CustomTargetDeployMetadataOrBuilder

getDefaultInstanceForType()

public DeployJobRunMetadata getDefaultInstanceForType()
Returns
TypeDescription
DeployJobRunMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the customTarget field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCloudRunMetadata
Returns
TypeDescription
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
NameDescription
valueCustomMetadata
Returns
TypeDescription
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
NameDescription
valueCustomTargetDeployMetadata
Returns
TypeDescription
DeployJobRunMetadata.Builder

mergeFrom(DeployJobRunMetadata other)

public DeployJobRunMetadata.Builder mergeFrom(DeployJobRunMetadata other)
Parameter
NameDescription
otherDeployJobRunMetadata
Returns
TypeDescription
DeployJobRunMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployJobRunMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployJobRunMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeployJobRunMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeployJobRunMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployJobRunMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCloudRunMetadata
Returns
TypeDescription
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
NameDescription
builderForValueCloudRunMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueCustomMetadata
Returns
TypeDescription
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
NameDescription
builderForValueCustomMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueCustomTargetDeployMetadata
Returns
TypeDescription
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
NameDescription
builderForValueCustomTargetDeployMetadata.Builder
Returns
TypeDescription
DeployJobRunMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeployJobRunMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeployJobRunMetadata.Builder
Overrides

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

public DeployJobRunMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeployJobRunMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployJobRunMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeployJobRunMetadata.Builder
Overrides