Class NetworkAttachmentsScopedList (1.63.0)

public final class NetworkAttachmentsScopedList extends GeneratedMessageV3 implements NetworkAttachmentsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.NetworkAttachmentsScopedList

Static Fields

NETWORK_ATTACHMENTS_FIELD_NUMBER

public static final int NETWORK_ATTACHMENTS_FIELD_NUMBER
Field Value
Type Description
int

WARNING_FIELD_NUMBER

public static final int WARNING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NetworkAttachmentsScopedList getDefaultInstance()
Returns
Type Description
NetworkAttachmentsScopedList

getDescriptor()

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

newBuilder()

public static NetworkAttachmentsScopedList.Builder newBuilder()
Returns
Type Description
NetworkAttachmentsScopedList.Builder

newBuilder(NetworkAttachmentsScopedList prototype)

public static NetworkAttachmentsScopedList.Builder newBuilder(NetworkAttachmentsScopedList prototype)
Parameter
Name Description
prototype NetworkAttachmentsScopedList
Returns
Type Description
NetworkAttachmentsScopedList.Builder

parseDelimitedFrom(InputStream input)

public static NetworkAttachmentsScopedList parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkAttachmentsScopedList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NetworkAttachmentsScopedList parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkAttachmentsScopedList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkAttachmentsScopedList parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkAttachmentsScopedList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkAttachmentsScopedList parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkAttachmentsScopedList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NetworkAttachmentsScopedList parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkAttachmentsScopedList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NetworkAttachmentsScopedList parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkAttachmentsScopedList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkAttachmentsScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NetworkAttachmentsScopedList> parser()
Returns
Type Description
Parser<NetworkAttachmentsScopedList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NetworkAttachmentsScopedList getDefaultInstanceForType()
Returns
Type Description
NetworkAttachmentsScopedList

getNetworkAttachments(int index)

public NetworkAttachment getNetworkAttachments(int index)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameter
Name Description
index int
Returns
Type Description
NetworkAttachment

getNetworkAttachmentsCount()

public int getNetworkAttachmentsCount()

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Returns
Type Description
int

getNetworkAttachmentsList()

public List<NetworkAttachment> getNetworkAttachmentsList()

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Returns
Type Description
List<NetworkAttachment>

getNetworkAttachmentsOrBuilder(int index)

public NetworkAttachmentOrBuilder getNetworkAttachmentsOrBuilder(int index)

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

Parameter
Name Description
index int
Returns
Type Description
NetworkAttachmentOrBuilder

getNetworkAttachmentsOrBuilderList()

public List<? extends NetworkAttachmentOrBuilder> getNetworkAttachmentsOrBuilderList()

A list of NetworkAttachments contained in this scope.

repeated .google.cloud.compute.v1.NetworkAttachment network_attachments = 521514783;

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

getParserForType()

public Parser<NetworkAttachmentsScopedList> getParserForType()
Returns
Type Description
Parser<NetworkAttachmentsScopedList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWarning()

public Warning getWarning()

Informational warning which replaces the list of network attachments when the list is empty.

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

Returns
Type Description
Warning

The warning.

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of network attachments when the list is empty.

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

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of network attachments when the list is empty.

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

Returns
Type Description
boolean

Whether the warning field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NetworkAttachmentsScopedList.Builder newBuilderForType()
Returns
Type Description
NetworkAttachmentsScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkAttachmentsScopedList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NetworkAttachmentsScopedList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NetworkAttachmentsScopedList.Builder toBuilder()
Returns
Type Description
NetworkAttachmentsScopedList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException