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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
public Metadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
Returns
public Metadata buildPartial()
Returns
public Metadata.Builder clear()
Returns
Overrides
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
public Metadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Metadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Metadata.Builder clone()
Returns
Overrides
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
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
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
public Metadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
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
Returns
public Metadata.Builder mergeFrom(Metadata other)
Parameter
Returns
public Metadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Metadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Metadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
public Metadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Metadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Metadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides