Class CloudRunRenderMetadata.Builder (1.42.0)

public static final class CloudRunRenderMetadata.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudRunRenderMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CloudRunRenderMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

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