Class GoogleCloudRun.Builder (0.44.0)

public static final class GoogleCloudRun.Builder extends GeneratedMessage.Builder<GoogleCloudRun.Builder> implements GoogleCloudRunOrBuilder

GoogleCloudRun represents the Cloud Run runtime.

Protobuf type google.cloud.developerconnect.v1.GoogleCloudRun

Static Methods

getDescriptor()

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

Methods

build()

public GoogleCloudRun build()
Returns
Type Description
GoogleCloudRun

buildPartial()

public GoogleCloudRun buildPartial()
Returns
Type Description
GoogleCloudRun

clear()

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

clearServiceUri()

public GoogleCloudRun.Builder clearServiceUri()

Required. Immutable. The name of the Cloud Run service. Format: projects/{project}/locations/{location}/services/{service}.

string service_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
GoogleCloudRun.Builder

This builder for chaining.

getDefaultInstanceForType()

public GoogleCloudRun getDefaultInstanceForType()
Returns
Type Description
GoogleCloudRun

getDescriptorForType()

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

getServiceUri()

public String getServiceUri()

Required. Immutable. The name of the Cloud Run service. Format: projects/{project}/locations/{location}/services/{service}.

string service_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The serviceUri.

getServiceUriBytes()

public ByteString getServiceUriBytes()

Required. Immutable. The name of the Cloud Run service. Format: projects/{project}/locations/{location}/services/{service}.

string service_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for serviceUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoogleCloudRun other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setServiceUri(String value)

public GoogleCloudRun.Builder setServiceUri(String value)

Required. Immutable. The name of the Cloud Run service. Format: projects/{project}/locations/{location}/services/{service}.

string service_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The serviceUri to set.

Returns
Type Description
GoogleCloudRun.Builder

This builder for chaining.

setServiceUriBytes(ByteString value)

public GoogleCloudRun.Builder setServiceUriBytes(ByteString value)

Required. Immutable. The name of the Cloud Run service. Format: projects/{project}/locations/{location}/services/{service}.

string service_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for serviceUri to set.

Returns
Type Description
GoogleCloudRun.Builder

This builder for chaining.