Class SubnetworksScopedList (1.40.0)

public final class SubnetworksScopedList extends GeneratedMessageV3 implements SubnetworksScopedListOrBuilder

Protobuf type google.cloud.compute.v1.SubnetworksScopedList

Static Fields

SUBNETWORKS_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(SubnetworksScopedList prototype)

public static SubnetworksScopedList.Builder newBuilder(SubnetworksScopedList prototype)
Parameter
NameDescription
prototypeSubnetworksScopedList
Returns
TypeDescription
SubnetworksScopedList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SubnetworksScopedList getDefaultInstanceForType()
Returns
TypeDescription
SubnetworksScopedList

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubnetworks(int index)

public Subnetwork getSubnetworks(int index)

A list of subnetworks contained in this scope.

repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;

Parameter
NameDescription
indexint
Returns
TypeDescription
Subnetwork

getSubnetworksCount()

public int getSubnetworksCount()

A list of subnetworks contained in this scope.

repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;

Returns
TypeDescription
int

getSubnetworksList()

public List<Subnetwork> getSubnetworksList()

A list of subnetworks contained in this scope.

repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;

Returns
TypeDescription
List<Subnetwork>

getSubnetworksOrBuilder(int index)

public SubnetworkOrBuilder getSubnetworksOrBuilder(int index)

A list of subnetworks contained in this scope.

repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;

Parameter
NameDescription
indexint
Returns
TypeDescription
SubnetworkOrBuilder

getSubnetworksOrBuilderList()

public List<? extends SubnetworkOrBuilder> getSubnetworksOrBuilderList()

A list of subnetworks contained in this scope.

repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;

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

getWarning()

public Warning getWarning()

An informational warning that appears when the list of addresses is empty.

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

Returns
TypeDescription
Warning

The warning.

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

An informational warning that appears when the list of addresses is empty.

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

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public boolean hasWarning()

An informational warning that appears when the list of addresses 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 SubnetworksScopedList.Builder newBuilderForType()
Returns
TypeDescription
SubnetworksScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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