- 1.91.0 (latest)
- 1.90.0
- 1.88.0
- 1.86.0
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class InterconnectAttachmentL2Forwarding.Builder extends GeneratedMessageV3.Builder<InterconnectAttachmentL2Forwarding.Builder> implements InterconnectAttachmentL2ForwardingOrBuilderL2 Interconnect Attachment related configuration.
Protobuf type google.cloud.compute.v1.InterconnectAttachmentL2Forwarding
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InterconnectAttachmentL2Forwarding.BuilderImplements
InterconnectAttachmentL2ForwardingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InterconnectAttachmentL2Forwarding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
build()
public InterconnectAttachmentL2Forwarding build()| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding |
|
buildPartial()
public InterconnectAttachmentL2Forwarding buildPartial()| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding |
|
clear()
public InterconnectAttachmentL2Forwarding.Builder clear()| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
clearApplianceMappings()
public InterconnectAttachmentL2Forwarding.Builder clearApplianceMappings()| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
clearDefaultApplianceIpAddress()
public InterconnectAttachmentL2Forwarding.Builder clearDefaultApplianceIpAddress()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 |
InterconnectAttachmentL2Forwarding.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InterconnectAttachmentL2Forwarding.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
clearGeneveHeader()
public InterconnectAttachmentL2Forwarding.Builder clearGeneveHeader()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 |
InterconnectAttachmentL2Forwarding.Builder |
|
clearNetwork()
public InterconnectAttachmentL2Forwarding.Builder clearNetwork()Required. Resource URL of the network to which this attachment belongs.
optional string network = 232872494;
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InterconnectAttachmentL2Forwarding.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
clearTunnelEndpointIpAddress()
public InterconnectAttachmentL2Forwarding.Builder clearTunnelEndpointIpAddress()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 |
InterconnectAttachmentL2Forwarding.Builder |
This builder for chaining. |
clone()
public InterconnectAttachmentL2Forwarding.Builder clone()| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getApplianceMappings() (deprecated)
public Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> getApplianceMappings()Use #getApplianceMappingsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> |
|
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;
| Returns | |
|---|---|
| Type | Description |
Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> |
|
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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
InterconnectAttachmentL2ForwardingApplianceMapping |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2ForwardingApplianceMapping |
|
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 |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2ForwardingApplianceMapping |
|
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()| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGeneveHeader()
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;
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2ForwardingGeneveHeader |
The geneveHeader. |
getGeneveHeaderBuilder()
public InterconnectAttachmentL2ForwardingGeneveHeader.Builder getGeneveHeaderBuilder()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 |
InterconnectAttachmentL2ForwardingGeneveHeader.Builder |
|
getGeneveHeaderOrBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2ForwardingGeneveHeaderOrBuilder |
|
getMutableApplianceMappings() (deprecated)
public Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> getMutableApplianceMappings()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> |
|
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. |
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. |
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;
| 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InterconnectAttachmentL2Forwarding other)
public InterconnectAttachmentL2Forwarding.Builder mergeFrom(InterconnectAttachmentL2Forwarding other)| Parameter | |
|---|---|
| Name | Description |
other |
InterconnectAttachmentL2Forwarding |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InterconnectAttachmentL2Forwarding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InterconnectAttachmentL2Forwarding.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
mergeGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader value)
public InterconnectAttachmentL2Forwarding.Builder mergeGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
InterconnectAttachmentL2ForwardingGeneveHeader |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectAttachmentL2Forwarding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
putAllApplianceMappings(Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> values)
public InterconnectAttachmentL2Forwarding.Builder putAllApplianceMappings(Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> values)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 |
values |
Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
putApplianceMappings(String key, InterconnectAttachmentL2ForwardingApplianceMapping value)
public InterconnectAttachmentL2Forwarding.Builder putApplianceMappings(String key, InterconnectAttachmentL2ForwardingApplianceMapping value)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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
InterconnectAttachmentL2ForwardingApplianceMapping |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
putApplianceMappingsBuilderIfAbsent(String key)
public InterconnectAttachmentL2ForwardingApplianceMapping.Builder putApplianceMappingsBuilderIfAbsent(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 |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2ForwardingApplianceMapping.Builder |
|
removeApplianceMappings(String key)
public InterconnectAttachmentL2Forwarding.Builder removeApplianceMappings(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 |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
setDefaultApplianceIpAddress(String value)
public InterconnectAttachmentL2Forwarding.Builder setDefaultApplianceIpAddress(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe defaultApplianceIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
This builder for chaining. |
setDefaultApplianceIpAddressBytes(ByteString value)
public InterconnectAttachmentL2Forwarding.Builder setDefaultApplianceIpAddressBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for defaultApplianceIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InterconnectAttachmentL2Forwarding.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
setGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader value)
public InterconnectAttachmentL2Forwarding.Builder setGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
InterconnectAttachmentL2ForwardingGeneveHeader |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
setGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader.Builder builderForValue)
public InterconnectAttachmentL2Forwarding.Builder setGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InterconnectAttachmentL2ForwardingGeneveHeader.Builder |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
setNetwork(String value)
public InterconnectAttachmentL2Forwarding.Builder setNetwork(String value)Required. Resource URL of the network to which this attachment belongs.
optional string network = 232872494;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe network to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
This builder for chaining. |
setNetworkBytes(ByteString value)
public InterconnectAttachmentL2Forwarding.Builder setNetworkBytes(ByteString value)Required. Resource URL of the network to which this attachment belongs.
optional string network = 232872494;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for network to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InterconnectAttachmentL2Forwarding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|
setTunnelEndpointIpAddress(String value)
public InterconnectAttachmentL2Forwarding.Builder setTunnelEndpointIpAddress(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tunnelEndpointIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
This builder for chaining. |
setTunnelEndpointIpAddressBytes(ByteString value)
public InterconnectAttachmentL2Forwarding.Builder setTunnelEndpointIpAddressBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tunnelEndpointIpAddress to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectAttachmentL2Forwarding.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
InterconnectAttachmentL2Forwarding.Builder |
|