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 Type
    Method
    Description
     
     
     
    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.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The IP alias ranges to allocate for this interface.
    com.google.protobuf.ByteString
    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.
    com.google.protobuf.ByteString
    The name of a subnetwork secondary IP range from which to allocate an IP alias range.
    boolean
    The IP alias ranges to allocate for this interface.
    boolean
    The name of a subnetwork secondary IP range from which to allocate an IP alias range.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The IP alias ranges to allocate for this interface.
    setIpCidrRangeBytes(com.google.protobuf.ByteString value)
    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.
    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AliasIpRange.Builder>
    • clear

      public AliasIpRange.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AliasIpRange.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AliasIpRange.Builder>
    • getDefaultInstanceForType

      public AliasIpRange getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AliasIpRange build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AliasIpRange buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AliasIpRange.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AliasIpRange.Builder>
    • mergeFrom

      public AliasIpRange.Builder mergeFrom(AliasIpRange other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasIpCidrRange in interface AliasIpRangeOrBuilder
      Returns:
      Whether the ipCidrRange field is set.
    • getIpCidrRange

      public String 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:
      getIpCidrRange in interface AliasIpRangeOrBuilder
      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:
      getIpCidrRangeBytes in interface AliasIpRangeOrBuilder
      Returns:
      The bytes for ipCidrRange.
    • setIpCidrRange

      public AliasIpRange.Builder setIpCidrRange(String value)
       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

      public AliasIpRange.Builder 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

      public AliasIpRange.Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value)
       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:
      hasSubnetworkRangeName in interface AliasIpRangeOrBuilder
      Returns:
      Whether the subnetworkRangeName field is set.
    • getSubnetworkRangeName

      public String 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:
      getSubnetworkRangeName in interface AliasIpRangeOrBuilder
      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:
      getSubnetworkRangeNameBytes in interface AliasIpRangeOrBuilder
      Returns:
      The bytes for subnetworkRangeName.
    • setSubnetworkRangeName

      public AliasIpRange.Builder setSubnetworkRangeName(String value)
       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

      public AliasIpRange.Builder 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

      public AliasIpRange.Builder setSubnetworkRangeNameBytes(com.google.protobuf.ByteString value)
       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.