public final class InterconnectAttachmentL2ForwardingApplianceMapping extends GeneratedMessageV3 implements InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
Two-level VLAN-to-Appliance mapping rule.
Protobuf type google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InterconnectAttachmentL2ForwardingApplianceMapping.Builder newBuilder()
newBuilder(InterconnectAttachmentL2ForwardingApplianceMapping prototype)
public static InterconnectAttachmentL2ForwardingApplianceMapping.Builder newBuilder(InterconnectAttachmentL2ForwardingApplianceMapping prototype)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseDelimitedFrom(InputStream input)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseFrom(CodedInputStream input)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseFrom(InputStream input)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachmentL2ForwardingApplianceMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InterconnectAttachmentL2ForwardingApplianceMapping> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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()
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
|
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;
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
|
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()
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()
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()
Optional. The name of this appliance mapping rule.
optional string name = 3373707;
| Returns |
| Type |
Description |
boolean |
Whether the name field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InterconnectAttachmentL2ForwardingApplianceMapping.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InterconnectAttachmentL2ForwardingApplianceMapping.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public InterconnectAttachmentL2ForwardingApplianceMapping.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides