Package com.google.cloud.compute.v1
Interface SubnetworkSecondaryRangeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SubnetworkSecondaryRange,SubnetworkSecondaryRange.Builder
@Generated
public interface SubnetworkSecondaryRangeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe range of IP addresses belonging to this subnetwork secondary range.com.google.protobuf.ByteStringThe range of IP addresses belonging to this subnetwork secondary range.The name associated with this subnetwork secondary range, used when adding an alias IP/IPv6 range to a VM instance.com.google.protobuf.ByteStringThe 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.ByteStringThe URL of the reserved internal range.booleanThe range of IP addresses belonging to this subnetwork secondary range.booleanThe name associated with this subnetwork secondary range, used when adding an alias IP/IPv6 range to a VM instance.booleanThe URL of the reserved internal range.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIpCidrRange
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;- Returns:
- Whether the ipCidrRange field is set.
-
getIpCidrRange
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;- Returns:
- The ipCidrRange.
-
getIpCidrRangeBytes
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;- Returns:
- The bytes for ipCidrRange.
-
hasRangeName
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;- Returns:
- Whether the rangeName field is set.
-
getRangeName
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;- Returns:
- The rangeName.
-
getRangeNameBytes
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;- Returns:
- The bytes for rangeName.
-
hasReservedInternalRange
boolean hasReservedInternalRange()The URL of the reserved internal range. Only IPv4 is supported.
optional string reserved_internal_range = 286248754;- Returns:
- Whether the reservedInternalRange field is set.
-
getReservedInternalRange
String getReservedInternalRange()The URL of the reserved internal range. Only IPv4 is supported.
optional string reserved_internal_range = 286248754;- Returns:
- The reservedInternalRange.
-
getReservedInternalRangeBytes
com.google.protobuf.ByteString getReservedInternalRangeBytes()The URL of the reserved internal range. Only IPv4 is supported.
optional string reserved_internal_range = 286248754;- Returns:
- The bytes for reservedInternalRange.
-