public final class InterconnectAttachmentL2Forwarding extends GeneratedMessageV3 implements InterconnectAttachmentL2ForwardingOrBuilder
L2 Interconnect Attachment related configuration.
Protobuf type google.cloud.compute.v1.InterconnectAttachmentL2Forwarding
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_MAPPINGS_FIELD_NUMBER
public static final int APPLIANCE_MAPPINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DEFAULT_APPLIANCE_IP_ADDRESS_FIELD_NUMBER
public static final int DEFAULT_APPLIANCE_IP_ADDRESS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int GENEVE_HEADER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TUNNEL_ENDPOINT_IP_ADDRESS_FIELD_NUMBER
public static final int TUNNEL_ENDPOINT_IP_ADDRESS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static InterconnectAttachmentL2Forwarding getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InterconnectAttachmentL2Forwarding.Builder newBuilder()
newBuilder(InterconnectAttachmentL2Forwarding prototype)
public static InterconnectAttachmentL2Forwarding.Builder newBuilder(InterconnectAttachmentL2Forwarding prototype)
public static InterconnectAttachmentL2Forwarding parseDelimitedFrom(InputStream input)
public static InterconnectAttachmentL2Forwarding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InterconnectAttachmentL2Forwarding parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachmentL2Forwarding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InterconnectAttachmentL2Forwarding parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachmentL2Forwarding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachmentL2Forwarding parseFrom(CodedInputStream input)
public static InterconnectAttachmentL2Forwarding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachmentL2Forwarding parseFrom(InputStream input)
public static InterconnectAttachmentL2Forwarding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InterconnectAttachmentL2Forwarding parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachmentL2Forwarding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InterconnectAttachmentL2Forwarding> parser()
Methods
containsApplianceMappings(String key)
public boolean containsApplianceMappings(String key)
Optional. A map of VLAN tags to appliances and optional inner mapping
rules. If VLANs are not explicitly mapped to any appliance, the
defaultApplianceIpAddress is used.
Each VLAN tag can be a single number or a range of numbers in the range
of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping
VLAN tag ranges are enforced, and violating operations will be rejected.
The VLAN tags in the Ethernet header must use an ethertype value of
0x88A8 or 0x8100.
map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getApplianceMappings() (deprecated)
public Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> getApplianceMappings()
getApplianceMappingsCount()
public int getApplianceMappingsCount()
Optional. A map of VLAN tags to appliances and optional inner mapping
rules. If VLANs are not explicitly mapped to any appliance, the
defaultApplianceIpAddress is used.
Each VLAN tag can be a single number or a range of numbers in the range
of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping
VLAN tag ranges are enforced, and violating operations will be rejected.
The VLAN tags in the Ethernet header must use an ethertype value of
0x88A8 or 0x8100.
map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;
| Returns |
| Type |
Description |
int |
|
getApplianceMappingsMap()
public Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> getApplianceMappingsMap()
Optional. A map of VLAN tags to appliances and optional inner mapping
rules. If VLANs are not explicitly mapped to any appliance, the
defaultApplianceIpAddress is used.
Each VLAN tag can be a single number or a range of numbers in the range
of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping
VLAN tag ranges are enforced, and violating operations will be rejected.
The VLAN tags in the Ethernet header must use an ethertype value of
0x88A8 or 0x8100.
map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;
getApplianceMappingsOrDefault(String key, InterconnectAttachmentL2ForwardingApplianceMapping defaultValue)
public InterconnectAttachmentL2ForwardingApplianceMapping getApplianceMappingsOrDefault(String key, InterconnectAttachmentL2ForwardingApplianceMapping defaultValue)
Optional. A map of VLAN tags to appliances and optional inner mapping
rules. If VLANs are not explicitly mapped to any appliance, the
defaultApplianceIpAddress is used.
Each VLAN tag can be a single number or a range of numbers in the range
of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping
VLAN tag ranges are enforced, and violating operations will be rejected.
The VLAN tags in the Ethernet header must use an ethertype value of
0x88A8 or 0x8100.
map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;
getApplianceMappingsOrThrow(String key)
public InterconnectAttachmentL2ForwardingApplianceMapping getApplianceMappingsOrThrow(String key)
Optional. A map of VLAN tags to appliances and optional inner mapping
rules. If VLANs are not explicitly mapped to any appliance, the
defaultApplianceIpAddress is used.
Each VLAN tag can be a single number or a range of numbers in the range
of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping
VLAN tag ranges are enforced, and violating operations will be rejected.
The VLAN tags in the Ethernet header must use an ethertype value of
0x88A8 or 0x8100.
map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;
| Parameter |
| Name |
Description |
key |
String
|
getDefaultApplianceIpAddress()
public String getDefaultApplianceIpAddress()
Optional. A single IPv4 or IPv6 address used as the default destination
IP when there is no VLAN mapping result found.
Unset field (null-value) indicates the unmatched packet should be
dropped.
optional string default_appliance_ip_address = 536490476;
| Returns |
| Type |
Description |
String |
The defaultApplianceIpAddress.
|
getDefaultApplianceIpAddressBytes()
public ByteString getDefaultApplianceIpAddressBytes()
Optional. A single IPv4 or IPv6 address used as the default destination
IP when there is no VLAN mapping result found.
Unset field (null-value) indicates the unmatched packet should be
dropped.
optional string default_appliance_ip_address = 536490476;
| Returns |
| Type |
Description |
ByteString |
The bytes for defaultApplianceIpAddress.
|
getDefaultInstanceForType()
public InterconnectAttachmentL2Forwarding getDefaultInstanceForType()
public InterconnectAttachmentL2ForwardingGeneveHeader getGeneveHeader()
Optional. It represents the structure of a Geneve (Generic Network
Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various
protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization
environments.
optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;
public InterconnectAttachmentL2ForwardingGeneveHeaderOrBuilder getGeneveHeaderOrBuilder()
Optional. It represents the structure of a Geneve (Generic Network
Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various
protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization
environments.
optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;
getNetwork()
public String getNetwork()
Required. Resource URL of the network to which this attachment belongs.
optional string network = 232872494;
| Returns |
| Type |
Description |
String |
The network.
|
getNetworkBytes()
public ByteString getNetworkBytes()
Required. Resource URL of the network to which this attachment belongs.
optional string network = 232872494;
| Returns |
| Type |
Description |
ByteString |
The bytes for network.
|
getParserForType()
public Parser<InterconnectAttachmentL2Forwarding> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTunnelEndpointIpAddress()
public String getTunnelEndpointIpAddress()
Required. A single IPv4 or IPv6 address. This address will be used as the
source IP address for packets sent to the appliances, and must be used as
the destination IP address for packets that should be sent out through
this attachment.
optional string tunnel_endpoint_ip_address = 468740975;
| Returns |
| Type |
Description |
String |
The tunnelEndpointIpAddress.
|
getTunnelEndpointIpAddressBytes()
public ByteString getTunnelEndpointIpAddressBytes()
Required. A single IPv4 or IPv6 address. This address will be used as the
source IP address for packets sent to the appliances, and must be used as
the destination IP address for packets that should be sent out through
this attachment.
optional string tunnel_endpoint_ip_address = 468740975;
| Returns |
| Type |
Description |
ByteString |
The bytes for tunnelEndpointIpAddress.
|
hasDefaultApplianceIpAddress()
public boolean hasDefaultApplianceIpAddress()
Optional. A single IPv4 or IPv6 address used as the default destination
IP when there is no VLAN mapping result found.
Unset field (null-value) indicates the unmatched packet should be
dropped.
optional string default_appliance_ip_address = 536490476;
| Returns |
| Type |
Description |
boolean |
Whether the defaultApplianceIpAddress field is set.
|
public boolean hasGeneveHeader()
Optional. It represents the structure of a Geneve (Generic Network
Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various
protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization
environments.
optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;
| Returns |
| Type |
Description |
boolean |
Whether the geneveHeader field is set.
|
hasNetwork()
public boolean hasNetwork()
Required. Resource URL of the network to which this attachment belongs.
optional string network = 232872494;
| Returns |
| Type |
Description |
boolean |
Whether the network field is set.
|
hasTunnelEndpointIpAddress()
public boolean hasTunnelEndpointIpAddress()
Required. A single IPv4 or IPv6 address. This address will be used as the
source IP address for packets sent to the appliances, and must be used as
the destination IP address for packets that should be sent out through
this attachment.
optional string tunnel_endpoint_ip_address = 468740975;
| Returns |
| Type |
Description |
boolean |
Whether the tunnelEndpointIpAddress field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InterconnectAttachmentL2Forwarding.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InterconnectAttachmentL2Forwarding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public InterconnectAttachmentL2Forwarding.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides