Class VpnGatewayStatus.Builder (1.54.0)

public static final class VpnGatewayStatus.Builder extends GeneratedMessageV3.Builder<VpnGatewayStatus.Builder> implements VpnGatewayStatusOrBuilder

Protobuf type google.cloud.compute.v1.VpnGatewayStatus

Static Methods

getDescriptor()

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

Methods

addAllVpnConnections(Iterable<? extends VpnGatewayStatusVpnConnection> values)

public VpnGatewayStatus.Builder addAllVpnConnections(Iterable<? extends VpnGatewayStatusVpnConnection> values)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.VpnGatewayStatusVpnConnection>
Returns
Type Description
VpnGatewayStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addVpnConnections(VpnGatewayStatusVpnConnection value)

public VpnGatewayStatus.Builder addVpnConnections(VpnGatewayStatusVpnConnection value)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameter
Name Description
value VpnGatewayStatusVpnConnection
Returns
Type Description
VpnGatewayStatus.Builder

addVpnConnections(VpnGatewayStatusVpnConnection.Builder builderForValue)

public VpnGatewayStatus.Builder addVpnConnections(VpnGatewayStatusVpnConnection.Builder builderForValue)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameter
Name Description
builderForValue VpnGatewayStatusVpnConnection.Builder
Returns
Type Description
VpnGatewayStatus.Builder

addVpnConnections(int index, VpnGatewayStatusVpnConnection value)

public VpnGatewayStatus.Builder addVpnConnections(int index, VpnGatewayStatusVpnConnection value)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameters
Name Description
index int
value VpnGatewayStatusVpnConnection
Returns
Type Description
VpnGatewayStatus.Builder

addVpnConnections(int index, VpnGatewayStatusVpnConnection.Builder builderForValue)

public VpnGatewayStatus.Builder addVpnConnections(int index, VpnGatewayStatusVpnConnection.Builder builderForValue)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameters
Name Description
index int
builderForValue VpnGatewayStatusVpnConnection.Builder
Returns
Type Description
VpnGatewayStatus.Builder

addVpnConnectionsBuilder()

public VpnGatewayStatusVpnConnection.Builder addVpnConnectionsBuilder()

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Returns
Type Description
VpnGatewayStatusVpnConnection.Builder

addVpnConnectionsBuilder(int index)

public VpnGatewayStatusVpnConnection.Builder addVpnConnectionsBuilder(int index)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameter
Name Description
index int
Returns
Type Description
VpnGatewayStatusVpnConnection.Builder

build()

public VpnGatewayStatus build()
Returns
Type Description
VpnGatewayStatus

buildPartial()

public VpnGatewayStatus buildPartial()
Returns
Type Description
VpnGatewayStatus

clear()

public VpnGatewayStatus.Builder clear()
Returns
Type Description
VpnGatewayStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVpnConnections()

public VpnGatewayStatus.Builder clearVpnConnections()

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Returns
Type Description
VpnGatewayStatus.Builder

clone()

public VpnGatewayStatus.Builder clone()
Returns
Type Description
VpnGatewayStatus.Builder
Overrides

getDefaultInstanceForType()

public VpnGatewayStatus getDefaultInstanceForType()
Returns
Type Description
VpnGatewayStatus

getDescriptorForType()

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

getVpnConnections(int index)

public VpnGatewayStatusVpnConnection getVpnConnections(int index)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameter
Name Description
index int
Returns
Type Description
VpnGatewayStatusVpnConnection

getVpnConnectionsBuilder(int index)

public VpnGatewayStatusVpnConnection.Builder getVpnConnectionsBuilder(int index)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameter
Name Description
index int
Returns
Type Description
VpnGatewayStatusVpnConnection.Builder

getVpnConnectionsBuilderList()

public List<VpnGatewayStatusVpnConnection.Builder> getVpnConnectionsBuilderList()

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Returns
Type Description
List<Builder>

getVpnConnectionsCount()

public int getVpnConnectionsCount()

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Returns
Type Description
int

getVpnConnectionsList()

public List<VpnGatewayStatusVpnConnection> getVpnConnectionsList()

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Returns
Type Description
List<VpnGatewayStatusVpnConnection>

getVpnConnectionsOrBuilder(int index)

public VpnGatewayStatusVpnConnectionOrBuilder getVpnConnectionsOrBuilder(int index)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameter
Name Description
index int
Returns
Type Description
VpnGatewayStatusVpnConnectionOrBuilder

getVpnConnectionsOrBuilderList()

public List<? extends VpnGatewayStatusVpnConnectionOrBuilder> getVpnConnectionsOrBuilderList()

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.VpnGatewayStatusVpnConnectionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VpnGatewayStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeVpnConnections(int index)

public VpnGatewayStatus.Builder removeVpnConnections(int index)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameter
Name Description
index int
Returns
Type Description
VpnGatewayStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVpnConnections(int index, VpnGatewayStatusVpnConnection value)

public VpnGatewayStatus.Builder setVpnConnections(int index, VpnGatewayStatusVpnConnection value)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameters
Name Description
index int
value VpnGatewayStatusVpnConnection
Returns
Type Description
VpnGatewayStatus.Builder

setVpnConnections(int index, VpnGatewayStatusVpnConnection.Builder builderForValue)

public VpnGatewayStatus.Builder setVpnConnections(int index, VpnGatewayStatusVpnConnection.Builder builderForValue)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameters
Name Description
index int
builderForValue VpnGatewayStatusVpnConnection.Builder
Returns
Type Description
VpnGatewayStatus.Builder