Class Endpoint.CloudRunRevisionEndpoint.Builder (1.84.0)

public static final class Endpoint.CloudRunRevisionEndpoint.Builder extends GeneratedMessage.Builder<Endpoint.CloudRunRevisionEndpoint.Builder> implements Endpoint.CloudRunRevisionEndpointOrBuilder

Wrapper for Cloud Run revision attributes.

Protobuf type google.cloud.networkmanagement.v1.Endpoint.CloudRunRevisionEndpoint

Static Methods

getDescriptor()

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

Methods

build()

public Endpoint.CloudRunRevisionEndpoint build()
Returns
Type Description
Endpoint.CloudRunRevisionEndpoint

buildPartial()

public Endpoint.CloudRunRevisionEndpoint buildPartial()
Returns
Type Description
Endpoint.CloudRunRevisionEndpoint

clear()

public Endpoint.CloudRunRevisionEndpoint.Builder clear()
Returns
Type Description
Endpoint.CloudRunRevisionEndpoint.Builder
Overrides

clearServiceUri()

public Endpoint.CloudRunRevisionEndpoint.Builder clearServiceUri()

Output only. The URI of the Cloud Run service that the revision belongs to. The format is: projects/{project}/locations/{location}/services/{service}

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

Returns
Type Description
Endpoint.CloudRunRevisionEndpoint.Builder

This builder for chaining.

clearUri()

public Endpoint.CloudRunRevisionEndpoint.Builder clearUri()

A Cloud Run revision URI. The format is: projects/{project}/locations/{location}/revisions/{revision}

string uri = 1;

Returns
Type Description
Endpoint.CloudRunRevisionEndpoint.Builder

This builder for chaining.

getDefaultInstanceForType()

public Endpoint.CloudRunRevisionEndpoint getDefaultInstanceForType()
Returns
Type Description
Endpoint.CloudRunRevisionEndpoint

getDescriptorForType()

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

getServiceUri()

public String getServiceUri()

Output only. The URI of the Cloud Run service that the revision belongs to. The format is: projects/{project}/locations/{location}/services/{service}

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

Returns
Type Description
String

The serviceUri.

getServiceUriBytes()

public ByteString getServiceUriBytes()

Output only. The URI of the Cloud Run service that the revision belongs to. The format is: projects/{project}/locations/{location}/services/{service}

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

Returns
Type Description
ByteString

The bytes for serviceUri.

getUri()

public String getUri()

A Cloud Run revision URI. The format is: projects/{project}/locations/{location}/revisions/{revision}

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

A Cloud Run revision URI. The format is: projects/{project}/locations/{location}/revisions/{revision}

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Endpoint.CloudRunRevisionEndpoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setServiceUri(String value)

public Endpoint.CloudRunRevisionEndpoint.Builder setServiceUri(String value)

Output only. The URI of the Cloud Run service that the revision belongs to. The format is: projects/{project}/locations/{location}/services/{service}

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

Parameter
Name Description
value String

The serviceUri to set.

Returns
Type Description
Endpoint.CloudRunRevisionEndpoint.Builder

This builder for chaining.

setServiceUriBytes(ByteString value)

public Endpoint.CloudRunRevisionEndpoint.Builder setServiceUriBytes(ByteString value)

Output only. The URI of the Cloud Run service that the revision belongs to. The format is: projects/{project}/locations/{location}/services/{service}

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

Parameter
Name Description
value ByteString

The bytes for serviceUri to set.

Returns
Type Description
Endpoint.CloudRunRevisionEndpoint.Builder

This builder for chaining.

setUri(String value)

public Endpoint.CloudRunRevisionEndpoint.Builder setUri(String value)

A Cloud Run revision URI. The format is: projects/{project}/locations/{location}/revisions/{revision}

string uri = 1;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
Endpoint.CloudRunRevisionEndpoint.Builder

This builder for chaining.

setUriBytes(ByteString value)

public Endpoint.CloudRunRevisionEndpoint.Builder setUriBytes(ByteString value)

A Cloud Run revision URI. The format is: projects/{project}/locations/{location}/revisions/{revision}

string uri = 1;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
Endpoint.CloudRunRevisionEndpoint.Builder

This builder for chaining.