Class LinkedRouterApplianceInstances (1.94.0)

public final class LinkedRouterApplianceInstances extends GeneratedMessage 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.v1beta.LinkedRouterApplianceInstances

Inheritance

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

Static Fields

EXCLUDE_EXPORT_RANGES_FIELD_NUMBER

public static final int EXCLUDE_EXPORT_RANGES_FIELD_NUMBER
Field Value
Type Description
int

EXCLUDE_IMPORT_RANGES_FIELD_NUMBER

public static final int EXCLUDE_IMPORT_RANGES_FIELD_NUMBER
Field Value
Type Description
int

INCLUDE_EXPORT_RANGES_FIELD_NUMBER

public static final int INCLUDE_EXPORT_RANGES_FIELD_NUMBER
Field Value
Type Description
int

INCLUDE_IMPORT_RANGES_FIELD_NUMBER

public static final int INCLUDE_IMPORT_RANGES_FIELD_NUMBER
Field Value
Type Description
int

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

getExcludeExportRanges(int index)

public String getExcludeExportRanges(int index)

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludeExportRanges at the given index.

getExcludeExportRangesBytes(int index)

public ByteString getExcludeExportRangesBytes(int index)

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludeExportRanges at the given index.

getExcludeExportRangesCount()

public int getExcludeExportRangesCount()

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of excludeExportRanges.

getExcludeExportRangesList()

public ProtocolStringList getExcludeExportRangesList()

Optional. Dynamic routes overlapped/encompassed by exclude export ranges are excluded during export to hub.

repeated string exclude_export_ranges = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the excludeExportRanges.

getExcludeImportRanges(int index)

public String getExcludeImportRanges(int index)

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludeImportRanges at the given index.

getExcludeImportRangesBytes(int index)

public ByteString getExcludeImportRangesBytes(int index)

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludeImportRanges at the given index.

getExcludeImportRangesCount()

public int getExcludeImportRangesCount()

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of excludeImportRanges.

getExcludeImportRangesList()

public ProtocolStringList getExcludeImportRangesList()

Optional. Hub routes overlapped/encompassed by exclude import ranges are excluded during import from hub.

repeated string exclude_import_ranges = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the excludeImportRanges.

getIncludeExportRanges(int index)

public String getIncludeExportRanges(int index)

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The includeExportRanges at the given index.

getIncludeExportRangesBytes(int index)

public ByteString getIncludeExportRangesBytes(int index)

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the includeExportRanges at the given index.

getIncludeExportRangesCount()

public int getIncludeExportRangesCount()

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of includeExportRanges.

getIncludeExportRangesList()

public ProtocolStringList getIncludeExportRangesList()

Optional. Dynamic routes fully encompassed by include export ranges are included during export to hub.

repeated string include_export_ranges = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the includeExportRanges.

getIncludeImportRanges(int index)

public String getIncludeImportRanges(int index)

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The includeImportRanges at the given index.

getIncludeImportRangesBytes(int index)

public ByteString getIncludeImportRangesBytes(int index)

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the includeImportRanges at the given index.

getIncludeImportRangesCount()

public int getIncludeImportRangesCount()

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of includeImportRanges.

getIncludeImportRangesList()

public ProtocolStringList getIncludeImportRangesList()

Optional. Hub routes fully encompassed by include import ranges are included during import from hub.

repeated string include_import_ranges = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the includeImportRanges.

getInstances(int index)

public RouterApplianceInstance getInstances(int index)

The list of router appliance instances.

repeated .google.cloud.networkconnectivity.v1beta.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.v1beta.RouterApplianceInstance instances = 1;

Returns
Type Description
int

getInstancesList()

public List<RouterApplianceInstance> getInstancesList()

The list of router appliance instances.

repeated .google.cloud.networkconnectivity.v1beta.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.v1beta.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.v1beta.RouterApplianceInstance instances = 1;

Returns
Type Description
List<? extends com.google.cloud.networkconnectivity.v1beta.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 GeneratedMessage.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(AbstractMessage.BuilderParent parent)

protected LinkedRouterApplianceInstances.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LinkedRouterApplianceInstances.Builder
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