Class VpnGatewayInfo.Builder (1.31.0)

public static final class VpnGatewayInfo.Builder extends GeneratedMessageV3.Builder<VpnGatewayInfo.Builder> implements VpnGatewayInfoOrBuilder

For display only. Metadata associated with a Compute Engine VPN gateway.

Protobuf type google.cloud.networkmanagement.v1.VpnGatewayInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VpnGatewayInfo build()
Returns
TypeDescription
VpnGatewayInfo

buildPartial()

public VpnGatewayInfo buildPartial()
Returns
TypeDescription
VpnGatewayInfo

clear()

public VpnGatewayInfo.Builder clear()
Returns
TypeDescription
VpnGatewayInfo.Builder
Overrides

clearDisplayName()

public VpnGatewayInfo.Builder clearDisplayName()

Name of a VPN gateway.

string display_name = 1;

Returns
TypeDescription