Class CloudRunRenderMetadata.Builder (1.81.0)

public static final class CloudRunRenderMetadata.Builder extends GeneratedMessage.Builder<CloudRunRenderMetadata.Builder> implements CloudRunRenderMetadataOrBuilder

CloudRunRenderMetadata contains Cloud Run information associated with a Release render.

Protobuf type google.cloud.deploy.v1.CloudRunRenderMetadata

Static Methods

getDescriptor()

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

Methods

build()

public CloudRunRenderMetadata build()
Returns
Type Description
CloudRunRenderMetadata

buildPartial()

public CloudRunRenderMetadata buildPartial()
Returns
Type Description
CloudRunRenderMetadata

clear()

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

clearService()

public CloudRunRenderMetadata.Builder clearService()

Output only. The name of the Cloud Run Service in the rendered manifest. Format is projects/{project}/locations/{location}/services/{service}.

string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
CloudRunRenderMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public CloudRunRenderMetadata getDefaultInstanceForType()
Returns
Type Description
CloudRunRenderMetadata

getDescriptorForType()

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

getService()

public String getService()

Output only. The name of the Cloud Run Service in the rendered manifest. Format is projects/{project}/locations/{location}/services/{service}.

string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Output only. The name of the Cloud Run Service in the rendered manifest. Format is projects/{project}/locations/{location}/services/{service}.

string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for service.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudRunRenderMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setService(String value)

public CloudRunRenderMetadata.Builder setService(String value)

Output only. The name of the Cloud Run Service in the rendered manifest. Format is projects/{project}/locations/{location}/services/{service}.

string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The service to set.

Returns
Type Description
CloudRunRenderMetadata.Builder

This builder for chaining.

setServiceBytes(ByteString value)

public CloudRunRenderMetadata.Builder setServiceBytes(ByteString value)

Output only. The name of the Cloud Run Service in the rendered manifest. Format is projects/{project}/locations/{location}/services/{service}.

string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for service to set.

Returns
Type Description
CloudRunRenderMetadata.Builder

This builder for chaining.