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
@Generated
public interface SubnetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe IP address of the gateway of this subnet.com.google.protobuf.ByteStringThe IP address of the gateway of this subnet.The IP address range of the subnet in CIDR format '10.0.0.0/24'.com.google.protobuf.ByteStringThe IP address range of the subnet in CIDR format '10.0.0.0/24'.getName()Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.getType()Output only.com.google.protobuf.ByteStringOutput only.intOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-
getVlanId
int getVlanId()Output only. VLAN ID of the VLAN on which the subnet is configured
int32 vlan_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The vlanId.
-