Class DeployJobRunMetadata.Builder (1.14.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

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

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.

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

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

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