Class LinkedRouterApplianceInstances

public final class LinkedRouterApplianceInstances extends GeneratedMessageV3 implements LinkedRouterApplianceInstancesOrBuilder

A collection of router appliance instances. If you have multiple router appliance instances connected to the same site, they should all be attached to the same spoke.

Protobuf type google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LinkedRouterApplianceInstances

Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER

public static final int SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static LinkedRouterApplianceInstances getDefaultInstance()
Returns
TypeDescription
LinkedRouterApplianceInstances

getDefaultInstanceForType()

public LinkedRouterApplianceInstances getDefaultInstanceForType()
Returns
TypeDescription
LinkedRouterApplianceInstances

getDescriptor()

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

getInstances(int index)

public RouterApplianceInstance getInstances(int index)

The list of router appliance instances.

repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterApplianceInstance

getInstancesCount()

public int getInstancesCount()

The list of router appliance instances.

repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;

Returns
TypeDescription
int

getInstancesList()

public List<RouterApplianceInstance> getInstancesList()

The list of router appliance instances.

repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;

Returns
TypeDescription
List<RouterApplianceInstance>

getInstancesOrBuilder(int index)

public RouterApplianceInstanceOrBuilder getInstancesOrBuilder(int index)

The list of router appliance instances.

repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterApplianceInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends RouterApplianceInstanceOrBuilder> getInstancesOrBuilderList()

The list of router appliance instances.

repeated .google.cloud.networkconnectivity.v1.RouterApplianceInstance instances = 1;

Returns
TypeDescription
List<? extends com.google.cloud.networkconnectivity.v1.RouterApplianceInstanceOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSiteToSiteDataTransfer()

public boolean getSiteToSiteDataTransfer()

A value that controls whether site-to-site data transfer is enabled for these resources. This field is set to false by default, but you must set it to true. Note that data transfer is available only in supported locations.

bool site_to_site_data_transfer = 2;

Returns
TypeDescription
boolean

The siteToSiteDataTransfer.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilder()

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

newBuilder(LinkedRouterApplianceInstances prototype)

public static LinkedRouterApplianceInstances.Builder newBuilder(LinkedRouterApplianceInstances prototype)
Parameter
NameDescription
prototypeLinkedRouterApplianceInstances
Returns
TypeDescription
LinkedRouterApplianceInstances.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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