Class Endpoint.CloudRunRevisionEndpoint.Builder (1.54.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Endpoint.CloudRunRevisionEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Endpoint.CloudRunRevisionEndpoint.Builder
Overrides

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.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Endpoint.CloudRunRevisionEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Endpoint.CloudRunRevisionEndpoint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

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.