Class CloudRunRenderMetadata.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudRunRenderMetadata build()
Returns
TypeDescription
CloudRunRenderMetadata

buildPartial()

public CloudRunRenderMetadata buildPartial()
Returns
TypeDescription
CloudRunRenderMetadata

clear()

public CloudRunRenderMetadata.Builder clear()
Returns
TypeDescription
CloudRunRenderMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudRunRenderMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CloudRunRenderMetadata.Builder

This builder for chaining.

clone()

public CloudRunRenderMetadata.Builder clone()
Returns
TypeDescription
CloudRunRenderMetadata.Builder
Overrides

getDefaultInstanceForType()

public CloudRunRenderMetadata getDefaultInstanceForType()
Returns
TypeDescription
CloudRunRenderMetadata

getDescriptorForType()

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

The bytes for service.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudRunRenderMetadata other)

public CloudRunRenderMetadata.Builder mergeFrom(CloudRunRenderMetadata other)
Parameter
NameDescription
otherCloudRunRenderMetadata
Returns
TypeDescription
CloudRunRenderMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudRunRenderMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudRunRenderMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CloudRunRenderMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The service to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for service to set.

Returns
TypeDescription
CloudRunRenderMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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