public final class UsableSubnetwork extends GeneratedMessageV3 implements UsableSubnetworkOrBuilder
Subnetwork which the current user has compute.subnetworks.use permission on.
Protobuf type google.cloud.compute.v1.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
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.
optional string ip_cidr_range = 98117322;
Returns
Type | Description |
String | The ipCidrRange.
|
getIpCidrRangeBytes()
public ByteString getIpCidrRangeBytes()
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;
Returns
Type | Description |
ByteString | The bytes for ipCidrRange.
|
getNetwork()
public String getNetwork()
Network URL.
optional string network = 232872494;
Returns
Type | Description |
String | The network.
|
getNetworkBytes()
public ByteString getNetworkBytes()
Network URL.
optional string network = 232872494;
Returns
getParserForType()
public Parser<UsableSubnetwork> getParserForType()
Returns
Overrides
getSecondaryIpRanges(int index)
public UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
Parameter
Returns
getSecondaryIpRangesCount()
public int getSecondaryIpRangesCount()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
Returns
getSecondaryIpRangesList()
public List<UsableSubnetworkSecondaryRange> getSecondaryIpRangesList()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
Returns
getSecondaryIpRangesOrBuilder(int index)
public UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
Parameter
Returns
getSecondaryIpRangesOrBuilderList()
public List<? extends UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()
Secondary IP ranges.
repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.UsableSubnetworkSecondaryRangeOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSubnetwork()
public String getSubnetwork()
Subnetwork URL.
optional string subnetwork = 307827694;
Returns
Type | Description |
String | The subnetwork.
|
getSubnetworkBytes()
public ByteString getSubnetworkBytes()
Subnetwork URL.
optional string subnetwork = 307827694;
Returns
Type | Description |
ByteString | The bytes for subnetwork.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasIpCidrRange()
public boolean hasIpCidrRange()
The range of internal addresses that are owned by this subnetwork.
optional string ip_cidr_range = 98117322;
Returns
Type | Description |
boolean | Whether the ipCidrRange field is set.
|
hasNetwork()
public boolean hasNetwork()
Network URL.
optional string network = 232872494;
Returns
Type | Description |
boolean | Whether the network field is set.
|
hasSubnetwork()
public boolean hasSubnetwork()
Subnetwork URL.
optional string subnetwork = 307827694;
Returns
Type | Description |
boolean | Whether the subnetwork field is set.
|
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