Interface SubnetOrBuilder (0.5.0)

public interface SubnetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGatewayIp()

public abstract String getGatewayIp()

The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.

string gateway_ip = 8;

Returns
TypeDescription
String

The gatewayIp.

getGatewayIpBytes()

public abstract ByteString getGatewayIpBytes()

The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.

string gateway_ip = 8;

Returns
TypeDescription
ByteString

The bytes for gatewayIp.

getIpCidrRange()

public abstract String getIpCidrRange()

The IP address range of the subnet in CIDR format '10.0.0.0/24'.

string ip_cidr_range = 7;

Returns
TypeDescription
String

The ipCidrRange.

getIpCidrRangeBytes()

public abstract ByteString getIpCidrRangeBytes()

The IP address range of the subnet in CIDR format '10.0.0.0/24'.

string ip_cidr_range = 7;

Returns
TypeDescription
ByteString

The bytes for ipCidrRange.

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getState()

public abstract 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
TypeDescription
Subnet.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The state of the resource.

.google.cloud.vmwareengine.v1.Subnet.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getType()

public abstract String getType()

Output only. The type of the subnet. For example "management" or "userDefined".

string type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Output only. The type of the subnet. For example "management" or "userDefined".

string type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for type.