Class Metadata.Builder (1.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Metadata build()
Returns
TypeDescription
Metadata

buildPartial()

public Metadata buildPartial()
Returns
TypeDescription
Metadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Metadata getDefaultInstanceForType()
Returns
TypeDescription
Metadata

getDescriptorForType()

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

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
NameDescription
valueAutomationRolloutMetadata
Returns
TypeDescription
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
NameDescription
valueCloudRunMetadata
Returns
TypeDescription
Metadata.Builder

mergeFrom(Metadata other)

public Metadata.Builder mergeFrom(Metadata other)
Parameter
NameDescription
otherMetadata
Returns
TypeDescription
Metadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Metadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAutomationRolloutMetadata
Returns
TypeDescription
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
NameDescription
builderForValueAutomationRolloutMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueCloudRunMetadata
Returns
TypeDescription
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
NameDescription
builderForValueCloudRunMetadata.Builder
Returns
TypeDescription
Metadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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