Class SubnetworkSecondaryRange

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.SubnetworkSecondaryRange
All Implemented Interfaces:
SubnetworkSecondaryRangeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SubnetworkSecondaryRange extends com.google.protobuf.GeneratedMessage implements SubnetworkSecondaryRangeOrBuilder
 Represents a secondary IP range of a subnetwork.
 
Protobuf type google.cloud.compute.v1.SubnetworkSecondaryRange
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Represents a secondary IP range of a subnetwork.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    The range of IP addresses belonging to this subnetwork secondary range.
    com.google.protobuf.ByteString
    The range of IP addresses belonging to this subnetwork secondary range.
    com.google.protobuf.Parser<SubnetworkSecondaryRange>
     
    The name associated with this subnetwork secondary range, used when adding an alias IP/IPv6 range to a VM instance.
    com.google.protobuf.ByteString
    The name associated with this subnetwork secondary range, used when adding an alias IP/IPv6 range to a VM instance.
    The URL of the reserved internal range.
    com.google.protobuf.ByteString
    The URL of the reserved internal range.
    int
     
    int
     
    boolean
    The range of IP addresses belonging to this subnetwork secondary range.
    boolean
    The name associated with this subnetwork secondary range, used when adding an alias IP/IPv6 range to a VM instance.
    boolean
    The URL of the reserved internal range.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<SubnetworkSecondaryRange>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • IP_CIDR_RANGE_FIELD_NUMBER

      public static final int IP_CIDR_RANGE_FIELD_NUMBER
      See Also:
    • RANGE_NAME_FIELD_NUMBER

      public static final int RANGE_NAME_FIELD_NUMBER
      See Also:
    • RESERVED_INTERNAL_RANGE_FIELD_NUMBER

      public static final int RESERVED_INTERNAL_RANGE_FIELD_NUMBER
      See Also:
  • 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
    • hasIpCidrRange

      public boolean hasIpCidrRange()
       The range of IP addresses belonging to this subnetwork secondary range.
       Provide this property when you create the subnetwork. Ranges must be
       unique and non-overlapping with all primary and secondary IP ranges
       within a network. Both IPv4 and IPv6 ranges are supported. For IPv4,
       the range can be any range listed in theValid
       ranges list.
      
       For IPv6:
       The range must have a /64 prefix length.
       The range must be omitted, for auto-allocation from Google-defined ULA
       IPv6 range.
       For BYOGUA internal IPv6 secondary range, the range may be specified
       along with the `ipCollection` field.
       If an `ipCollection` is specified, the requested ip_cidr_range must lie
       within the range of the PDP referenced by the `ipCollection` field for
       allocation.
       If `ipCollection` field is specified, but ip_cidr_range is not,
       the range is auto-allocated from the PDP referenced by the `ipCollection`
       field.
       
      optional string ip_cidr_range = 98117322;
      Specified by:
      hasIpCidrRange in interface SubnetworkSecondaryRangeOrBuilder
      Returns:
      Whether the ipCidrRange field is set.
    • getIpCidrRange

      public String getIpCidrRange()
       The range of IP addresses belonging to this subnetwork secondary range.
       Provide this property when you create the subnetwork. Ranges must be
       unique and non-overlapping with all primary and secondary IP ranges
       within a network. Both IPv4 and IPv6 ranges are supported. For IPv4,
       the range can be any range listed in theValid
       ranges list.
      
       For IPv6:
       The range must have a /64 prefix length.
       The range must be omitted, for auto-allocation from Google-defined ULA
       IPv6 range.
       For BYOGUA internal IPv6 secondary range, the range may be specified
       along with the `ipCollection` field.
       If an `ipCollection` is specified, the requested ip_cidr_range must lie
       within the range of the PDP referenced by the `ipCollection` field for
       allocation.
       If `ipCollection` field is specified, but ip_cidr_range is not,
       the range is auto-allocated from the PDP referenced by the `ipCollection`
       field.
       
      optional string ip_cidr_range = 98117322;
      Specified by:
      getIpCidrRange in interface SubnetworkSecondaryRangeOrBuilder
      Returns:
      The ipCidrRange.
    • getIpCidrRangeBytes

      public com.google.protobuf.ByteString getIpCidrRangeBytes()
       The range of IP addresses belonging to this subnetwork secondary range.
       Provide this property when you create the subnetwork. Ranges must be
       unique and non-overlapping with all primary and secondary IP ranges
       within a network. Both IPv4 and IPv6 ranges are supported. For IPv4,
       the range can be any range listed in theValid
       ranges list.
      
       For IPv6:
       The range must have a /64 prefix length.
       The range must be omitted, for auto-allocation from Google-defined ULA
       IPv6 range.
       For BYOGUA internal IPv6 secondary range, the range may be specified
       along with the `ipCollection` field.
       If an `ipCollection` is specified, the requested ip_cidr_range must lie
       within the range of the PDP referenced by the `ipCollection` field for
       allocation.
       If `ipCollection` field is specified, but ip_cidr_range is not,
       the range is auto-allocated from the PDP referenced by the `ipCollection`
       field.
       
      optional string ip_cidr_range = 98117322;
      Specified by:
      getIpCidrRangeBytes in interface SubnetworkSecondaryRangeOrBuilder
      Returns:
      The bytes for ipCidrRange.
    • hasRangeName

      public boolean hasRangeName()
       The name associated with this subnetwork secondary range, used when adding
       an alias IP/IPv6 range to a VM instance.
       The name must be 1-63 characters long, and comply withRFC1035.
       The name must be unique within the subnetwork.
       
      optional string range_name = 332216397;
      Specified by:
      hasRangeName in interface SubnetworkSecondaryRangeOrBuilder
      Returns:
      Whether the rangeName field is set.
    • getRangeName

      public String getRangeName()
       The name associated with this subnetwork secondary range, used when adding
       an alias IP/IPv6 range to a VM instance.
       The name must be 1-63 characters long, and comply withRFC1035.
       The name must be unique within the subnetwork.
       
      optional string range_name = 332216397;
      Specified by:
      getRangeName in interface SubnetworkSecondaryRangeOrBuilder
      Returns:
      The rangeName.
    • getRangeNameBytes

      public com.google.protobuf.ByteString getRangeNameBytes()
       The name associated with this subnetwork secondary range, used when adding
       an alias IP/IPv6 range to a VM instance.
       The name must be 1-63 characters long, and comply withRFC1035.
       The name must be unique within the subnetwork.
       
      optional string range_name = 332216397;
      Specified by:
      getRangeNameBytes in interface SubnetworkSecondaryRangeOrBuilder
      Returns:
      The bytes for rangeName.
    • hasReservedInternalRange

      public boolean hasReservedInternalRange()
       The URL of the reserved internal range. Only IPv4 is supported.
       
      optional string reserved_internal_range = 286248754;
      Specified by:
      hasReservedInternalRange in interface SubnetworkSecondaryRangeOrBuilder
      Returns:
      Whether the reservedInternalRange field is set.
    • getReservedInternalRange

      public String getReservedInternalRange()
       The URL of the reserved internal range. Only IPv4 is supported.
       
      optional string reserved_internal_range = 286248754;
      Specified by:
      getReservedInternalRange in interface SubnetworkSecondaryRangeOrBuilder
      Returns:
      The reservedInternalRange.
    • getReservedInternalRangeBytes

      public com.google.protobuf.ByteString getReservedInternalRangeBytes()
       The URL of the reserved internal range. Only IPv4 is supported.
       
      optional string reserved_internal_range = 286248754;
      Specified by:
      getReservedInternalRangeBytes in interface SubnetworkSecondaryRangeOrBuilder
      Returns:
      The bytes for reservedInternalRange.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SubnetworkSecondaryRange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SubnetworkSecondaryRange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SubnetworkSecondaryRange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SubnetworkSecondaryRange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SubnetworkSecondaryRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SubnetworkSecondaryRange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SubnetworkSecondaryRange parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SubnetworkSecondaryRange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SubnetworkSecondaryRange parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SubnetworkSecondaryRange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SubnetworkSecondaryRange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SubnetworkSecondaryRange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SubnetworkSecondaryRange.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SubnetworkSecondaryRange.Builder newBuilder()
    • newBuilder

      public static SubnetworkSecondaryRange.Builder newBuilder(SubnetworkSecondaryRange prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SubnetworkSecondaryRange.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SubnetworkSecondaryRange getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SubnetworkSecondaryRange> parser()
    • getParserForType

      public com.google.protobuf.Parser<SubnetworkSecondaryRange> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SubnetworkSecondaryRange getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder