Class InterconnectAttachmentL2ForwardingApplianceMapping (1.91.0)

public final class InterconnectAttachmentL2ForwardingApplianceMapping extends GeneratedMessageV3 implements InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder

Two-level VLAN-to-Appliance mapping rule.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping

Inheritance

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

Static Fields

APPLIANCE_IP_ADDRESS_FIELD_NUMBER

public static final int APPLIANCE_IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

INNER_VLAN_TO_APPLIANCE_MAPPINGS_FIELD_NUMBER

public static final int INNER_VLAN_TO_APPLIANCE_MAPPINGS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterconnectAttachmentL2ForwardingApplianceMapping getDefaultInstance()
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMapping

getDescriptor()

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

newBuilder()

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

newBuilder(InterconnectAttachmentL2ForwardingApplianceMapping prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApplianceIpAddress()

public String getApplianceIpAddress()

Optional. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on a VLAN tag, but do not match a more specific inner VLAN tag.

Unset field (null-value) indicates both VLAN tags are required to be mapped. Otherwise, defaultApplianceIpAddress is used.

optional string appliance_ip_address = 57985710;

Returns
Type Description
String

The applianceIpAddress.

getApplianceIpAddressBytes()

public ByteString getApplianceIpAddressBytes()

Optional. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on a VLAN tag, but do not match a more specific inner VLAN tag.

Unset field (null-value) indicates both VLAN tags are required to be mapped. Otherwise, defaultApplianceIpAddress is used.

optional string appliance_ip_address = 57985710;

Returns
Type Description
ByteString

The bytes for applianceIpAddress.

getDefaultInstanceForType()

public InterconnectAttachmentL2ForwardingApplianceMapping getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMapping

getInnerVlanToApplianceMappings(int index)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping getInnerVlanToApplianceMappings(int index)

Optional. Used to match against the inner VLAN when the packet contains two VLAN tags.

A list of mapping rules from inner VLAN tags to IP addresses. If the inner VLAN is not explicitly mapped to an IP address range, the applianceIpAddress is used.

repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping

getInnerVlanToApplianceMappingsCount()

public int getInnerVlanToApplianceMappingsCount()

Optional. Used to match against the inner VLAN when the packet contains two VLAN tags.

A list of mapping rules from inner VLAN tags to IP addresses. If the inner VLAN is not explicitly mapped to an IP address range, the applianceIpAddress is used.

repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;

Returns
Type Description
int

getInnerVlanToApplianceMappingsList()

public List<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping> getInnerVlanToApplianceMappingsList()

Optional. Used to match against the inner VLAN when the packet contains two VLAN tags.

A list of mapping rules from inner VLAN tags to IP addresses. If the inner VLAN is not explicitly mapped to an IP address range, the applianceIpAddress is used.

repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;

Returns
Type Description
List<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping>

getInnerVlanToApplianceMappingsOrBuilder(int index)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder getInnerVlanToApplianceMappingsOrBuilder(int index)

Optional. Used to match against the inner VLAN when the packet contains two VLAN tags.

A list of mapping rules from inner VLAN tags to IP addresses. If the inner VLAN is not explicitly mapped to an IP address range, the applianceIpAddress is used.

repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;

Parameter
Name Description
index int
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder

getInnerVlanToApplianceMappingsOrBuilderList()

public List<? extends InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder> getInnerVlanToApplianceMappingsOrBuilderList()

Optional. Used to match against the inner VLAN when the packet contains two VLAN tags.

A list of mapping rules from inner VLAN tags to IP addresses. If the inner VLAN is not explicitly mapped to an IP address range, the applianceIpAddress is used.

repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;

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

getName()

public String getName()

Optional. The name of this appliance mapping rule.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. The name of this appliance mapping rule.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasApplianceIpAddress()

public boolean hasApplianceIpAddress()

Optional. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on a VLAN tag, but do not match a more specific inner VLAN tag.

Unset field (null-value) indicates both VLAN tags are required to be mapped. Otherwise, defaultApplianceIpAddress is used.

optional string appliance_ip_address = 57985710;

Returns
Type Description
boolean

Whether the applianceIpAddress field is set.

hasName()

public boolean hasName()

Optional. The name of this appliance mapping rule.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name 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 InterconnectAttachmentL2ForwardingApplianceMapping.Builder newBuilderForType()
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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