Class Endpoint.CloudRunRevisionEndpoint.Builder (1.38.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.v1beta1.Endpoint.CloudRunRevisionEndpoint

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Endpoint.CloudRunRevisionEndpoint build()
Returns
TypeDescription
Endpoint.CloudRunRevisionEndpoint

buildPartial()

public Endpoint.CloudRunRevisionEndpoint buildPartial()
Returns
TypeDescription
Endpoint.CloudRunRevisionEndpoint

clear()

public Endpoint.CloudRunRevisionEndpoint.Builder clear()
Returns
TypeDescription
Endpoint.CloudRunRevisionEndpoint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public Endpoint.CloudRunRevisionEndpoint.Builder clone()
Returns
TypeDescription
Endpoint.CloudRunRevisionEndpoint.Builder
Overrides

getDefaultInstanceForType()

public Endpoint.CloudRunRevisionEndpoint getDefaultInstanceForType()
Returns
TypeDescription
Endpoint.CloudRunRevisionEndpoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUri()

public String getUri()

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

string uri = 1;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Endpoint.CloudRunRevisionEndpoint other)

public Endpoint.CloudRunRevisionEndpoint.Builder mergeFrom(Endpoint.CloudRunRevisionEndpoint other)
Parameter
NameDescription
otherEndpoint.CloudRunRevisionEndpoint
Returns
TypeDescription
Endpoint.CloudRunRevisionEndpoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Endpoint.CloudRunRevisionEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Endpoint.CloudRunRevisionEndpoint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Endpoint.CloudRunRevisionEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The uri to set.

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

The bytes for uri to set.

Returns
TypeDescription
Endpoint.CloudRunRevisionEndpoint.Builder

This builder for chaining.