Class Metadata.Builder (1.40.0)

public static final class Metadata.Builder extends GeneratedMessageV3.Builder<Metadata.Builder> implements MetadataOrBuilder

Metadata includes information associated with a Rollout.

Protobuf type google.cloud.deploy.v1.Metadata

Implements

MetadataOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Metadata build()
Returns
Type Description
Metadata

buildPartial()

public Metadata buildPartial()
Returns
Type Description
Metadata

clear()

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

clearAutomation()

public Metadata.Builder clearAutomation()

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Metadata.Builder

clearCloudRun()

public Metadata.Builder clearCloudRun()

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

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

Returns
Type Description
Metadata.Builder

clearCustom()

public Metadata.Builder clearCustom()

Output only. Custom metadata provided by user-defined Rollout operations.

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

Returns
Type Description
Metadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAutomation()

public AutomationRolloutMetadata getAutomation()

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutomationRolloutMetadata

The automation.

getAutomationBuilder()

public AutomationRolloutMetadata.Builder getAutomationBuilder()

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutomationRolloutMetadata.Builder

getAutomationOrBuilder()

public AutomationRolloutMetadataOrBuilder getAutomationOrBuilder()

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutomationRolloutMetadataOrBuilder

getCloudRun()

public CloudRunMetadata getCloudRun()

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

.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 Rollout.

.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 Rollout.

.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 Rollout operations.

.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 Rollout operations.

.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 Rollout operations.

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

Returns
Type Description
CustomMetadataOrBuilder

getDefaultInstanceForType()

public Metadata getDefaultInstanceForType()
Returns
Type Description
Metadata

getDescriptorForType()

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

hasAutomation()

public boolean hasAutomation()

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the automation field is set.

hasCloudRun()

public boolean hasCloudRun()

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

.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 Rollout operations.

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

Returns
Type Description
boolean

Whether the custom field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutomation(AutomationRolloutMetadata value)

public Metadata.Builder mergeAutomation(AutomationRolloutMetadata value)

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AutomationRolloutMetadata
Returns
Type Description
Metadata.Builder

mergeCloudRun(CloudRunMetadata value)

public Metadata.Builder mergeCloudRun(CloudRunMetadata value)

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

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

Parameter
Name Description
value CloudRunMetadata
Returns
Type Description
Metadata.Builder

mergeCustom(CustomMetadata value)

public Metadata.Builder mergeCustom(CustomMetadata value)

Output only. Custom metadata provided by user-defined Rollout operations.

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

Parameter
Name Description
value CustomMetadata
Returns
Type Description
Metadata.Builder

mergeFrom(Metadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAutomation(AutomationRolloutMetadata value)

public Metadata.Builder setAutomation(AutomationRolloutMetadata value)

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AutomationRolloutMetadata
Returns
Type Description
Metadata.Builder

setAutomation(AutomationRolloutMetadata.Builder builderForValue)

public Metadata.Builder setAutomation(AutomationRolloutMetadata.Builder builderForValue)

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

.google.cloud.deploy.v1.AutomationRolloutMetadata automation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AutomationRolloutMetadata.Builder
Returns
Type Description
Metadata.Builder

setCloudRun(CloudRunMetadata value)

public Metadata.Builder setCloudRun(CloudRunMetadata value)

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

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

Parameter
Name Description
value CloudRunMetadata
Returns
Type Description
Metadata.Builder

setCloudRun(CloudRunMetadata.Builder builderForValue)

public Metadata.Builder setCloudRun(CloudRunMetadata.Builder builderForValue)

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

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

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

setCustom(CustomMetadata value)

public Metadata.Builder setCustom(CustomMetadata value)

Output only. Custom metadata provided by user-defined Rollout operations.

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

Parameter
Name Description
value CustomMetadata
Returns
Type Description
Metadata.Builder

setCustom(CustomMetadata.Builder builderForValue)

public Metadata.Builder setCustom(CustomMetadata.Builder builderForValue)

Output only. Custom metadata provided by user-defined Rollout operations.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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