Class Endpoint.CloudFunctionEndpoint.Builder (1.45.0)

public static final class Endpoint.CloudFunctionEndpoint.Builder extends GeneratedMessageV3.Builder<Endpoint.CloudFunctionEndpoint.Builder> implements Endpoint.CloudFunctionEndpointOrBuilder

Wrapper for Cloud Function attributes.

Protobuf type google.cloud.networkmanagement.v1beta1.Endpoint.CloudFunctionEndpoint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public Endpoint.CloudFunctionEndpoint.Builder clearUri()

A Cloud Function name.

string uri = 1;

Returns
Type Description
Endpoint.CloudFunctionEndpoint.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getUri()

public String getUri()

A Cloud Function name.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

A Cloud Function name.

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.CloudFunctionEndpoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public Endpoint.CloudFunctionEndpoint.Builder setUri(String value)

A Cloud Function name.

string uri = 1;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
Endpoint.CloudFunctionEndpoint.Builder

This builder for chaining.

setUriBytes(ByteString value)

public Endpoint.CloudFunctionEndpoint.Builder setUriBytes(ByteString value)

A Cloud Function name.

string uri = 1;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
Endpoint.CloudFunctionEndpoint.Builder

This builder for chaining.