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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public DeployJobRunMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DeployJobRunMetadata build()
public DeployJobRunMetadata buildPartial()
public DeployJobRunMetadata.Builder clear()
Overrides
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];
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];
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];
public DeployJobRunMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public DeployJobRunMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public DeployJobRunMetadata.Builder clone()
Overrides
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];
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];
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];
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];
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];
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];
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];
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];
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];
public DeployJobRunMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
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];
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];
public DeployJobRunMetadata.Builder mergeFrom(DeployJobRunMetadata other)
public DeployJobRunMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DeployJobRunMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final DeployJobRunMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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];
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];
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];
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];
public DeployJobRunMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DeployJobRunMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final DeployJobRunMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides