Class VpnGatewaysScopedList (1.23.0)

public final class VpnGatewaysScopedList extends GeneratedMessageV3 implements VpnGatewaysScopedListOrBuilder

Protobuf type google.cloud.compute.v1.VpnGatewaysScopedList

Static Fields

VPN_GATEWAYS_FIELD_NUMBER

public static final int VPN_GATEWAYS_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 VpnGatewaysScopedList getDefaultInstance()
Returns
TypeDescription
VpnGatewaysScopedList

getDescriptor()

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

newBuilder()

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

newBuilder(VpnGatewaysScopedList prototype)

public static VpnGatewaysScopedList.Builder newBuilder(VpnGatewaysScopedList prototype)
Parameter
NameDescription
prototypeVpnGatewaysScopedList
Returns
TypeDescription
VpnGatewaysScopedList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VpnGatewaysScopedList getDefaultInstanceForType()
Returns
TypeDescription
VpnGatewaysScopedList

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVpnGateways(int index)

public VpnGateway getVpnGateways(int index)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Parameter
NameDescription
indexint
Returns
TypeDescription
VpnGateway

getVpnGatewaysCount()

public int getVpnGatewaysCount()

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Returns
TypeDescription
int

getVpnGatewaysList()

public List<VpnGateway> getVpnGatewaysList()

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Returns
TypeDescription
List<VpnGateway>

getVpnGatewaysOrBuilder(int index)

public VpnGatewayOrBuilder getVpnGatewaysOrBuilder(int index)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Parameter
NameDescription
indexint
Returns
TypeDescription
VpnGatewayOrBuilder

getVpnGatewaysOrBuilderList()

public List<? extends VpnGatewayOrBuilder> getVpnGatewaysOrBuilderList()

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

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

getWarning()

public Warning getWarning()

[Output Only] 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()

[Output Only] 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()

[Output Only] 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 VpnGatewaysScopedList.Builder newBuilderForType()
Returns
TypeDescription
VpnGatewaysScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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