Package com.google.cloud.compute.v1
Class InterconnectAttachmentL2Forwarding
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.InterconnectAttachmentL2Forwarding
- All Implemented Interfaces:
InterconnectAttachmentL2ForwardingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class InterconnectAttachmentL2Forwarding
extends com.google.protobuf.GeneratedMessage
implements InterconnectAttachmentL2ForwardingOrBuilder
L2 Interconnect Attachment related configuration.Protobuf type
google.cloud.compute.v1.InterconnectAttachmentL2Forwarding- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classL2 Interconnect Attachment related configuration.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleanDeprecated.intOptional.Optional.getApplianceMappingsOrDefault(String key, InterconnectAttachmentL2ForwardingApplianceMapping defaultValue) Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorOptional.Optional.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<InterconnectAttachmentL2Forwarding>intRequired.com.google.protobuf.ByteStringRequired.booleanOptional.booleanOptional.inthashCode()booleanRequired.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(InterconnectAttachmentL2Forwarding prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InterconnectAttachmentL2Forwarding>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
APPLIANCE_MAPPINGS_FIELD_NUMBER
public static final int APPLIANCE_MAPPINGS_FIELD_NUMBER- See Also:
-
DEFAULT_APPLIANCE_IP_ADDRESS_FIELD_NUMBER
public static final int DEFAULT_APPLIANCE_IP_ADDRESS_FIELD_NUMBER- See Also:
-
GENEVE_HEADER_FIELD_NUMBER
public static final int GENEVE_HEADER_FIELD_NUMBER- See Also:
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER- See Also:
-
TUNNEL_ENDPOINT_IP_ADDRESS_FIELD_NUMBER
public static final int TUNNEL_ENDPOINT_IP_ADDRESS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getApplianceMappingsCount
public int getApplianceMappingsCount()Description copied from interface:InterconnectAttachmentL2ForwardingOrBuilderOptional. 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;- Specified by:
getApplianceMappingsCountin interfaceInterconnectAttachmentL2ForwardingOrBuilder
-
containsApplianceMappings
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;- Specified by:
containsApplianceMappingsin interfaceInterconnectAttachmentL2ForwardingOrBuilder
-
getApplianceMappings
@Deprecated public Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> getApplianceMappings()Deprecated.UsegetApplianceMappingsMap()instead.- Specified by:
getApplianceMappingsin interfaceInterconnectAttachmentL2ForwardingOrBuilder
-
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;- Specified by:
getApplianceMappingsMapin interfaceInterconnectAttachmentL2ForwardingOrBuilder
-
getApplianceMappingsOrDefault
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;- Specified by:
getApplianceMappingsOrDefaultin interfaceInterconnectAttachmentL2ForwardingOrBuilder
-
getApplianceMappingsOrThrow
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;- Specified by:
getApplianceMappingsOrThrowin interfaceInterconnectAttachmentL2ForwardingOrBuilder
-
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;- Specified by:
hasDefaultApplianceIpAddressin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- Whether the defaultApplianceIpAddress field is set.
-
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;- Specified by:
getDefaultApplianceIpAddressin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- The defaultApplianceIpAddress.
-
getDefaultApplianceIpAddressBytes
public com.google.protobuf.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;- Specified by:
getDefaultApplianceIpAddressBytesin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- The bytes for defaultApplianceIpAddress.
-
hasGeneveHeader
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;- Specified by:
hasGeneveHeaderin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- Whether the geneveHeader field is set.
-
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;- Specified by:
getGeneveHeaderin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- The geneveHeader.
-
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;- Specified by:
getGeneveHeaderOrBuilderin interfaceInterconnectAttachmentL2ForwardingOrBuilder
-
hasNetwork
public boolean hasNetwork()Required. Resource URL of the network to which this attachment belongs.
optional string network = 232872494;- Specified by:
hasNetworkin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
Required. Resource URL of the network to which this attachment belongs.
optional string network = 232872494;- Specified by:
getNetworkin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()Required. Resource URL of the network to which this attachment belongs.
optional string network = 232872494;- Specified by:
getNetworkBytesin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- The bytes for network.
-
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;- Specified by:
hasTunnelEndpointIpAddressin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- Whether the tunnelEndpointIpAddress field is set.
-
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;- Specified by:
getTunnelEndpointIpAddressin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- The tunnelEndpointIpAddress.
-
getTunnelEndpointIpAddressBytes
public com.google.protobuf.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;- Specified by:
getTunnelEndpointIpAddressBytesin interfaceInterconnectAttachmentL2ForwardingOrBuilder- Returns:
- The bytes for tunnelEndpointIpAddress.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InterconnectAttachmentL2Forwarding parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InterconnectAttachmentL2Forwarding parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InterconnectAttachmentL2Forwarding parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InterconnectAttachmentL2Forwarding parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InterconnectAttachmentL2Forwarding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InterconnectAttachmentL2Forwarding parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static InterconnectAttachmentL2Forwarding parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InterconnectAttachmentL2Forwarding parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InterconnectAttachmentL2Forwarding parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InterconnectAttachmentL2Forwarding parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InterconnectAttachmentL2Forwarding parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static InterconnectAttachmentL2Forwarding.Builder newBuilder(InterconnectAttachmentL2Forwarding prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InterconnectAttachmentL2Forwarding.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-