Class VpnTunnelsScopedList (1.30.0)

public final class VpnTunnelsScopedList extends GeneratedMessageV3 implements VpnTunnelsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.VpnTunnelsScopedList

Static Fields

VPN_TUNNELS_FIELD_NUMBER

public static final int VPN_TUNNELS_FIELD_NUMBER
Field Value
TypeDescription
int

WARNING_FIELD_NUMBER

public static final int WARNING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VpnTunnelsScopedList getDefaultInstance()
Returns
TypeDescription
VpnTunnelsScopedList

getDescriptor()

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

newBuilder()

public static VpnTunnelsScopedList.Builder newBuilder()
Returns
TypeDescription
VpnTunnelsScopedList.Builder

newBuilder(VpnTunnelsScopedList prototype)

public static VpnTunnelsScopedList.Builder newBuilder(VpnTunnelsScopedList prototype)
Parameter
NameDescription
prototypeVpnTunnelsScopedList
Returns
TypeDescription
VpnTunnelsScopedList.Builder

parseDelimitedFrom(InputStream input)

public static VpnTunnelsScopedList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnTunnelsScopedList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VpnTunnelsScopedList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VpnTunnelsScopedList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VpnTunnelsScopedList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VpnTunnelsScopedList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VpnTunnelsScopedList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnTunnelsScopedList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VpnTunnelsScopedList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnTunnelsScopedList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VpnTunnelsScopedList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VpnTunnelsScopedList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnTunnelsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VpnTunnelsScopedList> parser()
Returns
TypeDescription
Parser<VpnTunnelsScopedList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VpnTunnelsScopedList getDefaultInstanceForType()
Returns
TypeDescription
VpnTunnelsScopedList

getParserForType()

public Parser<VpnTunnelsScopedList> getParserForType()
Returns
TypeDescription
Parser<VpnTunnelsScopedList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVpnTunnels(int index)

public VpnTunnel getVpnTunnels(int index)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameter
NameDescription
indexint
Returns
TypeDescription
VpnTunnel

getVpnTunnelsCount()

public int getVpnTunnelsCount()

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Returns
TypeDescription
int

getVpnTunnelsList()

public List<VpnTunnel> getVpnTunnelsList()

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Returns
TypeDescription
List<VpnTunnel>

getVpnTunnelsOrBuilder(int index)

public VpnTunnelOrBuilder getVpnTunnelsOrBuilder(int index)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameter
NameDescription
indexint
Returns
TypeDescription
VpnTunnelOrBuilder

getVpnTunnelsOrBuilderList()

public List<? extends VpnTunnelOrBuilder> getVpnTunnelsOrBuilderList()

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

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

getWarning()

public Warning getWarning()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
Warning

The warning.

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
boolean

Whether the warning field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VpnTunnelsScopedList.Builder newBuilderForType()
Returns
TypeDescription
VpnTunnelsScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VpnTunnelsScopedList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VpnTunnelsScopedList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VpnTunnelsScopedList.Builder toBuilder()
Returns
TypeDescription
VpnTunnelsScopedList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException