Class CloudRunMetadata.Builder (1.22.0)

public static final class CloudRunMetadata.Builder extends GeneratedMessageV3.Builder<CloudRunMetadata.Builder> implements CloudRunMetadataOrBuilder

CloudRunMetadata contains information from a Cloud Run deployment.

Protobuf type google.cloud.deploy.v1.CloudRunMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllServiceUrls(Iterable<String> values)

public CloudRunMetadata.Builder addAllServiceUrls(Iterable<String> values)

Output only. The Cloud Run Service urls that are associated with a Rollout.

repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<String>

The serviceUrls to add.

Returns
TypeDescription
CloudRunMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addServiceUrls(String value)

public CloudRunMetadata.Builder addServiceUrls(String value)

Output only. The Cloud Run Service urls that are associated with a Rollout.

repeate