Class InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder (1.93.0)

public static final class InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder extends GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder> implements InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder

The inner VLAN-to-Appliance mapping.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder

Static Methods

getDescriptor()

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

Methods

addAllInnerVlanTags(Iterable<String> values)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder addAllInnerVlanTags(Iterable<String> values)

Required in this object. Used to match the inner VLAN tag on the packet. Each entry can be a single number or a range of numbers in the range of 1 to 4094, e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The inner VLAN tags must have an ethertype value of 0x8100.

repeated string inner_vlan_tags = 431186636;

Parameter
Name Description
values Iterable<String>

The innerVlanTags to add.

Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder

This builder for chaining.

addInnerVlanTags(String value)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder addInnerVlanTags(String value)

Required in this object. Used to match the inner VLAN tag on the packet. Each entry can be a single number or a range of numbers in the range of 1 to 4094, e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The inner VLAN tags must have an ethertype value of 0x8100.

repeated string inner_vlan_tags = 431186636;

Parameter
Name Description
value String

The innerVlanTags to add.

Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder

This builder for chaining.

addInnerVlanTagsBytes(ByteString value)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder addInnerVlanTagsBytes(ByteString value)

Required in this object. Used to match the inner VLAN tag on the packet. Each entry can be a single number or a range of numbers in the range of 1 to 4094, e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The inner VLAN tags must have an ethertype value of 0x8100.

repeated string inner_vlan_tags = 431186636;

Parameter
Name Description
value ByteString

The bytes of the innerVlanTags to add.

Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder

This builder for chaining.

build()

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping build()
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping

buildPartial()

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping buildPartial()
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping

clear()

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder clear()
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder
Overrides

clearInnerApplianceIpAddress()

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder clearInnerApplianceIpAddress()

Required in this object. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on both VLAN tags.

optional string inner_appliance_ip_address = 350619895;

Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder

This builder for chaining.

clearInnerVlanTags()

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder clearInnerVlanTags()

Required in this object. Used to match the inner VLAN tag on the packet. Each entry can be a single number or a range of numbers in the range of 1 to 4094, e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The inner VLAN tags must have an ethertype value of 0x8100.

repeated string inner_vlan_tags = 431186636;

Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder

This builder for chaining.

getDefaultInstanceForType()

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInnerApplianceIpAddress()

public String getInnerApplianceIpAddress()

Required in this object. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on both VLAN tags.

optional string inner_appliance_ip_address = 350619895;

Returns
Type Description
String

The innerApplianceIpAddress.

getInnerApplianceIpAddressBytes()

public ByteString getInnerApplianceIpAddressBytes()

Required in this object. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on both VLAN tags.

optional string inner_appliance_ip_address = 350619895;

Returns
Type Description
ByteString

The bytes for innerApplianceIpAddress.

getInnerVlanTags(int index)

public String getInnerVlanTags(int index)

Required in this object. Used to match the inner VLAN tag on the packet. Each entry can be a single number or a range of numbers in the range of 1 to 4094, e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The inner VLAN tags must have an ethertype value of 0x8100.

repeated string inner_vlan_tags = 431186636;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The innerVlanTags at the given index.

getInnerVlanTagsBytes(int index)

public ByteString getInnerVlanTagsBytes(int index)

Required in this object. Used to match the inner VLAN tag on the packet. Each entry can be a single number or a range of numbers in the range of 1 to 4094, e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The inner VLAN tags must have an ethertype value of 0x8100.

repeated string inner_vlan_tags = 431186636;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the innerVlanTags at the given index.

getInnerVlanTagsCount()

public int getInnerVlanTagsCount()

Required in this object. Used to match the inner VLAN tag on the packet. Each entry can be a single number or a range of numbers in the range of 1 to 4094, e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The inner VLAN tags must have an ethertype value of 0x8100.

repeated string inner_vlan_tags = 431186636;

Returns
Type Description
int

The count of innerVlanTags.

getInnerVlanTagsList()

public ProtocolStringList getInnerVlanTagsList()

Required in this object. Used to match the inner VLAN tag on the packet. Each entry can be a single number or a range of numbers in the range of 1 to 4094, e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The inner VLAN tags must have an ethertype value of 0x8100.

repeated string inner_vlan_tags = 431186636;

Returns
Type Description
ProtocolStringList

A list containing the innerVlanTags.

hasInnerApplianceIpAddress()

public boolean hasInnerApplianceIpAddress()

Required in this object. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on both VLAN tags.

optional string inner_appliance_ip_address = 350619895;

Returns
Type Description
boolean

Whether the innerApplianceIpAddress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping other)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder mergeFrom(InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping other)
Parameter
Name Description
other InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder
Overrides

setInnerApplianceIpAddress(String value)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder setInnerApplianceIpAddress(String value)

Required in this object. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on both VLAN tags.

optional string inner_appliance_ip_address = 350619895;

Parameter
Name Description
value String

The innerApplianceIpAddress to set.

Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder

This builder for chaining.

setInnerApplianceIpAddressBytes(ByteString value)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder setInnerApplianceIpAddressBytes(ByteString value)

Required in this object. A single IPv4 or IPv6 address used as the destination IP address for ingress packets that match on both VLAN tags.

optional string inner_appliance_ip_address = 350619895;

Parameter
Name Description
value ByteString

The bytes for innerApplianceIpAddress to set.

Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder

This builder for chaining.

setInnerVlanTags(int index, String value)

public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder setInnerVlanTags(int index, String value)

Required in this object. Used to match the inner VLAN tag on the packet. Each entry can be a single number or a range of numbers in the range of 1 to 4094, e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The inner VLAN tags must have an ethertype value of 0x8100.

repeated string inner_vlan_tags = 431186636;

Parameters
Name Description
index int

The index to set the value at.

value String

The innerVlanTags to set.

Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder

This builder for chaining.