Class VpnConnection.Details.CloudVpn.Builder (0.52.0)

public static final class VpnConnection.Details.CloudVpn.Builder extends GeneratedMessageV3.Builder<VpnConnection.Details.CloudVpn.Builder> implements VpnConnection.Details.CloudVpnOrBuilder

The Cloud VPN info.

Protobuf type google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpnConnection.Details.CloudVpn.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder
Overrides

build()

public VpnConnection.Details.CloudVpn build()
Returns
Type Description
VpnConnection.Details.CloudVpn

buildPartial()

public VpnConnection.Details.CloudVpn buildPartial()
Returns
Type Description
VpnConnection.Details.CloudVpn

clear()

public VpnConnection.Details.CloudVpn.Builder clear()
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VpnConnection.Details.CloudVpn.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder
Overrides

clearGateway()

public VpnConnection.Details.CloudVpn.Builder clearGateway()

The created Cloud VPN gateway name.

string gateway = 1;

Returns
Type Description
VpnConnection.Details.CloudVpn.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VpnConnection.Details.CloudVpn.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder
Overrides

clone()

public VpnConnection.Details.CloudVpn.Builder clone()
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder
Overrides

getDefaultInstanceForType()

public VpnConnection.Details.CloudVpn getDefaultInstanceForType()
Returns
Type Description
VpnConnection.Details.CloudVpn

getDescriptorForType()

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

getGateway()

public String getGateway()

The created Cloud VPN gateway name.

string gateway = 1;

Returns
Type Description
String

The gateway.

getGatewayBytes()

public ByteString getGatewayBytes()

The created Cloud VPN gateway name.

string gateway = 1;

Returns
Type Description
ByteString

The bytes for gateway.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VpnConnection.Details.CloudVpn other)

public VpnConnection.Details.CloudVpn.Builder mergeFrom(VpnConnection.Details.CloudVpn other)
Parameter
Name Description
other VpnConnection.Details.CloudVpn
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VpnConnection.Details.CloudVpn.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VpnConnection.Details.CloudVpn.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpnConnection.Details.CloudVpn.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VpnConnection.Details.CloudVpn.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder
Overrides

setGateway(String value)

public VpnConnection.Details.CloudVpn.Builder setGateway(String value)

The created Cloud VPN gateway name.

string gateway = 1;

Parameter
Name Description
value String

The gateway to set.

Returns
Type Description
VpnConnection.Details.CloudVpn.Builder

This builder for chaining.

setGatewayBytes(ByteString value)

public VpnConnection.Details.CloudVpn.Builder setGatewayBytes(ByteString value)

The created Cloud VPN gateway name.

string gateway = 1;

Parameter
Name Description
value ByteString

The bytes for gateway to set.

Returns
Type Description
VpnConnection.Details.CloudVpn.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final VpnConnection.Details.CloudVpn.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpnConnection.Details.CloudVpn.Builder
Overrides