Package com.google.cloud.compute.v1
Class InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder>
com.google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder
- All Implemented Interfaces:
InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
public static final class InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder>
implements InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder
The inner VLAN-to-Appliance mapping.Protobuf type
google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping-
Method Summary
Modifier and TypeMethodDescriptionaddAllInnerVlanTags(Iterable<String> values) Required in this object.addInnerVlanTags(String value) Required in this object.addInnerVlanTagsBytes(com.google.protobuf.ByteString value) Required in this object.build()clear()Required in this object.Required in this object.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired in this object.com.google.protobuf.ByteStringRequired in this object.getInnerVlanTags(int index) Required in this object.com.google.protobuf.ByteStringgetInnerVlanTagsBytes(int index) Required in this object.intRequired in this object.com.google.protobuf.ProtocolStringListRequired in this object.booleanRequired in this object.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setInnerApplianceIpAddress(String value) Required in this object.setInnerApplianceIpAddressBytes(com.google.protobuf.ByteString value) Required in this object.setInnerVlanTags(int index, String value) Required in this object.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder>
-
clear
public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder clear()- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder>
-
getDefaultInstanceForType
public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder>
-
mergeFrom
public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder>- Throws:
IOException
-
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;- Specified by:
hasInnerApplianceIpAddressin interfaceInterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder- Returns:
- Whether the innerApplianceIpAddress field is set.
-
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;- Specified by:
getInnerApplianceIpAddressin interfaceInterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder- Returns:
- The innerApplianceIpAddress.
-
getInnerApplianceIpAddressBytes
public com.google.protobuf.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;- Specified by:
getInnerApplianceIpAddressBytesin interfaceInterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder- Returns:
- The bytes for innerApplianceIpAddress.
-
setInnerApplianceIpAddress
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;- Parameters:
value- The innerApplianceIpAddress to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setInnerApplianceIpAddressBytes
public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder setInnerApplianceIpAddressBytes(com.google.protobuf.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;- Parameters:
value- The bytes for innerApplianceIpAddress to set.- Returns:
- This builder for chaining.
-
getInnerVlanTagsList
public com.google.protobuf.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;- Specified by:
getInnerVlanTagsListin interfaceInterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder- Returns:
- A list containing the innerVlanTags.
-
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;- Specified by:
getInnerVlanTagsCountin interfaceInterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder- Returns:
- The count of innerVlanTags.
-
getInnerVlanTags
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;- Specified by:
getInnerVlanTagsin interfaceInterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The innerVlanTags at the given index.
-
getInnerVlanTagsBytes
public com.google.protobuf.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;- Specified by:
getInnerVlanTagsBytesin interfaceInterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the innerVlanTags at the given index.
-
setInnerVlanTags
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:
index- The index to set the value at.value- The innerVlanTags to set.- Returns:
- This builder for chaining.
-
addInnerVlanTags
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;- Parameters:
value- The innerVlanTags to add.- Returns:
- This builder for chaining.
-
addAllInnerVlanTags
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;- Parameters:
values- The innerVlanTags to add.- Returns:
- 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:
- This builder for chaining.
-
addInnerVlanTagsBytes
public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder addInnerVlanTagsBytes(com.google.protobuf.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;- Parameters:
value- The bytes of the innerVlanTags to add.- Returns:
- This builder for chaining.
-