Class LinkedRouterApplianceInstances (1.52.0)

public final class LinkedRouterApplianceInstances extends GeneratedMessageV3 implements LinkedRouterApplianceInstancesOrBuilder

A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.

Protobuf type google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances

Inheritance

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

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER

public static final int SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER
Field Value
Type Description
int

VPC_NETWORK_FIELD_NUMBER

public static final int VPC_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LinkedRouterApplianceInstances getDefaultInstance()
Returns
Type Description
LinkedRouterApplianceInstances

getDescriptor()

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

newBuilder()

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

newBuilder(LinkedRouterApplianceInstances prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LinkedRouterApplianceInstances getDefaultInstanceForType()
Returns
Type Description
LinkedRouterApplianceInstances

getInstances(int index)

public RouterApplianceInstance getInstances(int index)

The list of router appliance instances.

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

Parameter
Name Description
index int
Returns
Type Description
RouterApplianceInstance

getInstancesCount()

public int getInstancesCount()

The list of router appliance instances.

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

Returns
Type Description
int

getInstancesList()

public List<RouterApplianceInstance> getInstancesList()

The list of router appliance instances.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
RouterApplianceInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends RouterApplianceInstanceOrBuilder> getInstancesOrBuilderList()

The list of router appliance instances.

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

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSiteToSiteDataTransfer()

public boolean getSiteToSiteDataTransfer()

A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations.

bool site_to_site_data_transfer = 2;

Returns
Type Description
boolean

The siteToSiteDataTransfer.

getVpcNetwork()

public String getVpcNetwork()

Output only. The VPC network where these router appliance instances are located.

string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The vpcNetwork.

getVpcNetworkBytes()

public ByteString getVpcNetworkBytes()

Output only. The VPC network where these router appliance instances are located.

string vpc_network = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for vpcNetwork.

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 LinkedRouterApplianceInstances.Builder newBuilderForType()
Returns
Type Description
LinkedRouterApplianceInstances.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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