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.v1beta1.UsableSubnetwork
Static Fields
IP_CIDR_RANGE_FIELD_NUMBER
public static final int IP_CIDR_RANGE_FIELD_NUMBER
Field Value
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value
SECONDARY_IP_RANGES_FIELD_NUMBER
public static final int SECONDARY_IP_RANGES_FIELD_NUMBER
Field Value
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
Field Value
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UsableSubnetwork getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UsableSubnetwork.Builder newBuilder()
Returns
newBuilder(UsableSubnetwork prototype)
public static UsableSubnetwork.Builder newBuilder(UsableSubnetwork prototype)
Parameter
Returns
public static UsableSubnetwork parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UsableSubnetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UsableSubnetwork parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UsableSubnetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UsableSubnetwork parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UsableSubnetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UsableSubnetwork parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UsableSubnetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UsableSubnetwork parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UsableSubnetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UsableSubnetwork parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UsableSubnetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UsableSubnetwork> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UsableSubnetwork getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<UsableSubnetwork> getParserForType()
Returns
Overrides
getSecondaryIpRanges(int index)
public UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Parameter
Returns
getSecondaryIpRangesCount()
public int getSecondaryIpRangesCount()
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Returns
getSecondaryIpRangesList()
public List<UsableSubnetworkSecondaryRange> getSecondaryIpRangesList()
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Returns
getSecondaryIpRangesOrBuilder(int index)
public UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Parameter
Returns
getSecondaryIpRangesOrBuilderList()
public List<? extends UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()
Secondary IP ranges.
repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4;
Returns
Type | Description |
List<? extends com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UsableSubnetwork.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UsableSubnetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UsableSubnetwork.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions