public final class SubnetworkSecondaryRange extends GeneratedMessageV3 implements SubnetworkSecondaryRangeOrBuilder
Represents a secondary IP range of a subnetwork.
Protobuf type google.cloud.compute.v1.SubnetworkSecondaryRange
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
IP_CIDR_RANGE_FIELD_NUMBER
public static final int IP_CIDR_RANGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RANGE_NAME_FIELD_NUMBER
public static final int RANGE_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SubnetworkSecondaryRange getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SubnetworkSecondaryRange.Builder newBuilder()
newBuilder(SubnetworkSecondaryRange prototype)
public static SubnetworkSecondaryRange.Builder newBuilder(SubnetworkSecondaryRange prototype)
public static SubnetworkSecondaryRange parseDelimitedFrom(InputStream input)
public static SubnetworkSecondaryRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SubnetworkSecondaryRange parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubnetworkSecondaryRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SubnetworkSecondaryRange parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubnetworkSecondaryRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubnetworkSecondaryRange parseFrom(CodedInputStream input)
public static SubnetworkSecondaryRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SubnetworkSecondaryRange parseFrom(InputStream input)
public static SubnetworkSecondaryRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SubnetworkSecondaryRange parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubnetworkSecondaryRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SubnetworkSecondaryRange> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SubnetworkSecondaryRange getDefaultInstanceForType()
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()
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 |
---|
Type | Description |
ByteString | The bytes for rangeName.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SubnetworkSecondaryRange.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubnetworkSecondaryRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SubnetworkSecondaryRange.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides