Package com.google.cloud.vmwareengine.v1
Interface SubnetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Subnet
,Subnet.Builder
public interface SubnetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getGatewayIp()
The IP address of the gateway of this subnet.com.google.protobuf.ByteString
getGatewayIpBytes()
The IP address of the gateway of this subnet.String
getIpCidrRange()
The IP address range of the subnet in CIDR format '10.0.0.0/24'.com.google.protobuf.ByteString
getIpCidrRangeBytes()
The IP address range of the subnet in CIDR format '10.0.0.0/24'.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.Subnet.State
getState()
Output only.int
getStateValue()
Output only.String
getType()
Output only.com.google.protobuf.ByteString
getTypeBytes()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name of this subnet. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of this subnet. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
getIpCidrRange
String getIpCidrRange()
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
string ip_cidr_range = 7;
- Returns:
- The ipCidrRange.
-
getIpCidrRangeBytes
com.google.protobuf.ByteString getIpCidrRangeBytes()
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
string ip_cidr_range = 7;
- Returns:
- The bytes for ipCidrRange.
-
getGatewayIp
String getGatewayIp()
The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
string gateway_ip = 8;
- Returns:
- The gatewayIp.
-
getGatewayIpBytes
com.google.protobuf.ByteString getGatewayIpBytes()
The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
string gateway_ip = 8;
- Returns:
- The bytes for gatewayIp.
-
getType
String getType()
Output only. The type of the subnet. For example "management" or "userDefined".
string type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
Output only. The type of the subnet. For example "management" or "userDefined".
string type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for type.
-
getStateValue
int getStateValue()
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.Subnet.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
Subnet.State getState()
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.Subnet.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
-