public final class UsableSubnetwork extends GeneratedMessageV3 implements UsableSubnetworkOrBuilder
UsableSubnetwork resource returns the subnetwork name, its associated network
and the primary CIDR range.
Protobuf type google.container.v1.UsableSubnetwork
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 | |
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SECONDARY_IP_RANGES_FIELD_NUMBER
public static final int SECONDARY_IP_RANGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UsableSubnetwork getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UsableSubnetwork.Builder newBuilder()
newBuilder(UsableSubnetwork prototype)
public static UsableSubnetwork.Builder newBuilder(UsableSubnetwork prototype)
public static UsableSubnetwork parseDelimitedFrom(InputStream input)
public static UsableSubnetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UsableSubnetwork parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UsableSubnetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UsableSubnetwork parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UsableSubnetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UsableSubnetwork parseFrom(CodedInputStream input)
public static UsableSubnetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UsableSubnetwork parseFrom(InputStream input)
public static UsableSubnetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UsableSubnetwork parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UsableSubnetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UsableSubnetwork> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public UsableSubnetwork getDefaultInstanceForType()
getIpCidrRange()
public String getIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
string ip_cidr_range = 3;
Returns |
---|
Type | Description |
String | The ipCidrRange.
|
getIpCidrRangeBytes()
public ByteString getIpCidrRangeBytes()
The range of internal addresses that are owned by this subnetwork.
string ip_cidr_range = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for ipCidrRange.
|
getNetwork()
public String getNetwork()
Network Name.
Example: projects/my-project/global/networks/my-network
string network = 2;
Returns |
---|
Type | Description |
String | The network.
|
getNetworkBytes()
public ByteString getNetworkBytes()
Network Name.
Example: projects/my-project/global/networks/my-network
string network = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for network.
|
getParserForType()
public Parser<UsableSubnetwork> getParserForType()
Overrides
getSecondaryIpRanges(int index)
public UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index)
Secondary IP ranges.
repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Parameter |
---|
Name | Description |
index | int
|
getSecondaryIpRangesCount()
public int getSecondaryIpRangesCount()
Secondary IP ranges.
repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Returns |
---|
Type | Description |
int | |
getSecondaryIpRangesList()
public List<UsableSubnetworkSecondaryRange> getSecondaryIpRangesList()
Secondary IP ranges.
repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
getSecondaryIpRangesOrBuilder(int index)
public UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)
Secondary IP ranges.
repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Parameter |
---|
Name | Description |
index | int
|
getSecondaryIpRangesOrBuilderList()
public List<? extends UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()
Secondary IP ranges.
repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Returns |
---|
Type | Description |
List<? extends com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getStatusMessage()
public String getStatusMessage()
A human readable status message representing the reasons for cases where
the caller cannot use the secondary ranges under the subnet. For example if
the secondary_ip_ranges is empty due to a permission issue, an insufficient
permission message will be given by status_message.
string status_message = 5;
Returns |
---|
Type | Description |
String | The statusMessage.
|
getStatusMessageBytes()
public ByteString getStatusMessageBytes()
A human readable status message representing the reasons for cases where
the caller cannot use the secondary ranges under the subnet. For example if
the secondary_ip_ranges is empty due to a permission issue, an insufficient
permission message will be given by status_message.
string status_message = 5;
Returns |
---|
Type | Description |
ByteString | The bytes for statusMessage.
|
getSubnetwork()
public String getSubnetwork()
Subnetwork Name.
Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;
Returns |
---|
Type | Description |
String | The subnetwork.
|
getSubnetworkBytes()
public ByteString getSubnetworkBytes()
Subnetwork Name.
Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
string subnetwork = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for subnetwork.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UsableSubnetwork.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UsableSubnetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UsableSubnetwork.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides