public final class SubnetworkSecondaryRange extends GeneratedMessageV3 implements SubnetworkSecondaryRangeOrBuilder
Represents a secondary IP range of a subnetwork.
Protobuf type google.cloud.compute.v1.SubnetworkSecondaryRange
Static Fields
IP_CIDR_RANGE_FIELD_NUMBER
public static final int IP_CIDR_RANGE_FIELD_NUMBER
Field Value
RANGE_NAME_FIELD_NUMBER
public static final int RANGE_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SubnetworkSecondaryRange getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SubnetworkSecondaryRange.Builder newBuilder()
Returns
newBuilder(SubnetworkSecondaryRange prototype)
public static SubnetworkSecondaryRange.Builder newBuilder(SubnetworkSecondaryRange prototype)
Parameter
Returns
public static SubnetworkSecondaryRange parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SubnetworkSecondaryRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SubnetworkSecondaryRange parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubnetworkSecondaryRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SubnetworkSecondaryRange parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubnetworkSecondaryRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SubnetworkSecondaryRange parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SubnetworkSecondaryRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SubnetworkSecondaryRange parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SubnetworkSecondaryRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SubnetworkSecondaryRange parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubnetworkSecondaryRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SubnetworkSecondaryRange> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SubnetworkSecondaryRange getDefaultInstanceForType()
Returns
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. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
optional string ip_cidr_range = 98117322;
Returns
Type | Description |
String | The ipCidrRange.
|
getIpCidrRangeBytes()
public 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. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
optional string ip_cidr_range = 98117322;
Returns
Type | Description |
ByteString | The bytes for ipCidrRange.
|
getParserForType()
public Parser<SubnetworkSecondaryRange> getParserForType()
Returns
Overrides
getRangeName()
public String getRangeName()
The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
optional string range_name = 332216397;
Returns
Type | Description |
String | The rangeName.
|
getRangeNameBytes()
public ByteString getRangeNameBytes()
The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
optional string range_name = 332216397;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
optional string ip_cidr_range = 98117322;
Returns
Type | Description |
boolean | Whether the ipCidrRange field is set.
|
hasRangeName()
public boolean hasRangeName()
The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
optional string range_name = 332216397;
Returns
Type | Description |
boolean | Whether the rangeName field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SubnetworkSecondaryRange.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubnetworkSecondaryRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SubnetworkSecondaryRange.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions