Interface SubnetOrBuilder (0.41.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for type.

getVlanId()

public abstract 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
Type Description
int

The vlanId.