Class LinkedRouterApplianceInstances (1.34.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
TypeDescription
int

SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER

public static final int SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER
Field Value
TypeDescription
int

VPC_NETWORK_FIELD_NUMBER

public static final int VPC_NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LinkedRouterApplianceInstances getDefaultInstance()
Returns
TypeDescription
LinkedRouterApplianceInstances

getDescriptor()

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

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

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>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LinkedRouterApplianceInstances getDefaultInstanceForType()
Returns
TypeDescription
LinkedRouterApplianceInstances

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. Data transfer is available only in supported locations.

bool site_to_site_data_transfer = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for vpcNetwork.

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 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

toBuilder()

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

writeTo(CodedOutputStream output)

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