Class Endpoint.CloudFunctionEndpoint.Builder (1.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Endpoint.CloudFunctionEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Endpoint.CloudFunctionEndpoint.Builder
Overrides

clearUri()

public Endpoint.CloudFunctionEndpoint.Builder clearUri()

A Cloud function name.

string uri = 1;

Returns
TypeDescription
Endpoint.CloudFunctionEndpoint.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUri()

public String getUri()

A Cloud function name.

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

A Cloud function name.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Endpoint.CloudFunctionEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Endpoint.CloudFunctionEndpoint.Builder
Overrides

setUri(String value)

public Endpoint.CloudFunctionEndpoint.Builder setUri(String value)

A Cloud function name.

string uri = 1;

Parameter
NameDescription
valueString

The uri to set.

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

The bytes for uri to set.

Returns
TypeDescription
Endpoint.CloudFunctionEndpoint.Builder

This builder for chaining.