Package com.google.cloud.compute.v1
Class AliasIpRange.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AliasIpRange.Builder>
com.google.cloud.compute.v1.AliasIpRange.Builder
- All Implemented Interfaces:
AliasIpRangeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AliasIpRange
public static final class AliasIpRange.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AliasIpRange.Builder>
implements AliasIpRangeOrBuilder
An alias IP range attached to an instance's network interface.Protobuf type
google.cloud.compute.v1.AliasIpRange-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The IP alias ranges to allocate for this interface.The name of a subnetwork secondary IP range from which to allocate an IP alias range.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe IP alias ranges to allocate for this interface.com.google.protobuf.ByteStringThe IP alias ranges to allocate for this interface.The name of a subnetwork secondary IP range from which to allocate an IP alias range.com.google.protobuf.ByteStringThe name of a subnetwork secondary IP range from which to allocate an IP alias range.booleanThe IP alias ranges to allocate for this interface.booleanThe name of a subnetwork secondary IP range from which to allocate an IP alias range.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AliasIpRange other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setIpCidrRange(String value) The IP alias ranges to allocate for this interface.setIpCidrRangeBytes(com.google.protobuf.ByteString value) The IP alias ranges to allocate for this interface.setSubnetworkRangeName(String value) The name of a subnetwork secondary IP range from which to allocate an IP alias range.setSubnetworkRangeNameBytes(com.google.protobuf.ByteString value) The name of a subnetwork secondary IP range from which to allocate an IP alias range.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<AliasIpRange.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<AliasIpRange.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<AliasIpRange.Builder>
-
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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AliasIpRange.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AliasIpRange.Builder>
-
mergeFrom
public AliasIpRange.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<AliasIpRange.Builder>- Throws:
IOException
-
hasIpCidrRange
public boolean hasIpCidrRange()The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as/24) or a CIDR-formatted string (such as10.1.2.0/24).
optional string ip_cidr_range = 98117322;- Specified by:
hasIpCidrRangein interfaceAliasIpRangeOrBuilder- Returns:
- Whether the ipCidrRange field is set.
-
getIpCidrRange
The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as/24) or a CIDR-formatted string (such as10.1.2.0/24).
optional string ip_cidr_range = 98117322;- Specified by:
getIpCidrRangein interfaceAliasIpRangeOrBuilder- Returns:
- The ipCidrRange.
-
getIpCidrRangeBytes
public com.google.protobuf.ByteString getIpCidrRangeBytes()The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as/24) or a CIDR-formatted string (such as10.1.2.0/24).
optional string ip_cidr_range = 98117322;- Specified by:
getIpCidrRangeBytesin interfaceAliasIpRangeOrBuilder- Returns:
- The bytes for ipCidrRange.
-
setIpCidrRange
The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as/24) or a CIDR-formatted string (such as10.1.2.0/24).
optional string ip_cidr_range = 98117322;- Parameters:
value- The ipCidrRange to set.- Returns:
- This builder for chaining.
-
clearIpCidrRange
The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as/24) or a CIDR-formatted string (such as10.1.2.0/24).
optional string ip_cidr_range = 98117322;- Returns:
- This builder for chaining.
-
setIpCidrRangeBytes
The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as/24) or a CIDR-formatted string (such as10.1.2.0/24).
optional string ip_cidr_range = 98117322;- Parameters:
value- The bytes for ipCidrRange to set.- Returns:
- This builder for chaining.
-
hasSubnetworkRangeName
public boolean hasSubnetworkRangeName()The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
optional string subnetwork_range_name = 387995966;- Specified by:
hasSubnetworkRangeNamein interfaceAliasIpRangeOrBuilder- Returns:
- Whether the subnetworkRangeName field is set.
-
getSubnetworkRangeName
The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
optional string subnetwork_range_name = 387995966;- Specified by:
getSubnetworkRangeNamein interfaceAliasIpRangeOrBuilder- Returns:
- The subnetworkRangeName.
-
getSubnetworkRangeNameBytes
public com.google.protobuf.ByteString getSubnetworkRangeNameBytes()The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
optional string subnetwork_range_name = 387995966;- Specified by:
getSubnetworkRangeNameBytesin interfaceAliasIpRangeOrBuilder- Returns:
- The bytes for subnetworkRangeName.
-
setSubnetworkRangeName
The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
optional string subnetwork_range_name = 387995966;- Parameters:
value- The subnetworkRangeName to set.- Returns:
- This builder for chaining.
-
clearSubnetworkRangeName
The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
optional string subnetwork_range_name = 387995966;- Returns:
- This builder for chaining.
-
setSubnetworkRangeNameBytes
The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.
optional string subnetwork_range_name = 387995966;- Parameters:
value- The bytes for subnetworkRangeName to set.- Returns:
- This builder for chaining.
-