Class VpnGatewayStatus.Builder (1.17.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.VpnGatewayStatusVpnConnection>
Returns
TypeDescription
VpnGatewayStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpnGatewayStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueVpnGatewayStatusVpnConnection
Returns
TypeDescription
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
NameDescription
builderForValueVpnGatewayStatusVpnConnection.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVpnGatewayStatusVpnConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVpnGatewayStatusVpnConnection.Builder
Returns
TypeDescription
VpnGatewayStatus.Builder

addVpnConnectionsBuilder()

public VpnGatewayStatusVpnConnection.Builder addVpnConnectionsBuilder()

List of VPN connection for this VpnGateway.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VpnGatewayStatusVpnConnection.Builder

build()

public VpnGatewayStatus build()
Returns
TypeDescription
VpnGatewayStatus

buildPartial()

public VpnGatewayStatus buildPartial()
Returns
TypeDescription
VpnGatewayStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public VpnGatewayStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
VpnGatewayStatus.Builder

clone()

public VpnGatewayStatus.Builder clone()
Returns
TypeDescription
VpnGatewayStatus.Builder
Overrides

getDefaultInstanceForType()

public VpnGatewayStatus getDefaultInstanceForType()
Returns
TypeDescription
VpnGatewayStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getVpnConnectionsCount()

public int getVpnConnectionsCount()

List of VPN connection for this VpnGateway.

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

Returns
TypeDescription
int

getVpnConnectionsList()

public List<VpnGatewayStatusVpnConnection> getVpnConnectionsList()

List of VPN connection for this VpnGateway.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VpnGatewayStatusVpnConnectionOrBuilder

getVpnConnectionsOrBuilderList()

public List<? extends VpnGatewayStatusVpnConnectionOrBuilder> getVpnConnectionsOrBuilderList()

List of VPN connection for this VpnGateway.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VpnGatewayStatus other)

public VpnGatewayStatus.Builder mergeFrom(VpnGatewayStatus other)
Parameter
NameDescription
otherVpnGatewayStatus
Returns
TypeDescription
VpnGatewayStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpnGatewayStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VpnGatewayStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public VpnGatewayStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VpnGatewayStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VpnGatewayStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueVpnGatewayStatusVpnConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVpnGatewayStatusVpnConnection.Builder
Returns
TypeDescription
VpnGatewayStatus.Builder