Interface OdbSubnetOrBuilder (0.29.0)

public interface OdbSubnetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. Labels or tags associated with the resource.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCidrRange()

public abstract String getCidrRange()

Required. The CIDR range of the subnet.

string cidr_range = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The cidrRange.

getCidrRangeBytes()

public abstract ByteString getCidrRangeBytes()

Required. The CIDR range of the subnet.

string cidr_range = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for cidrRange.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The date and time that the OdbNetwork was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The date and time that the OdbNetwork was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. Labels or tags associated with the resource.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. Labels or tags associated with the resource.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels or tags associated with the resource.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. Labels or tags associated with the resource.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Identifier. The name of the OdbSubnet resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The name of the OdbSubnet resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPurpose()

public abstract OdbSubnet.Purpose getPurpose()

Required. Purpose of the subnet.

.google.cloud.oracledatabase.v1.OdbSubnet.Purpose purpose = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OdbSubnet.Purpose

The purpose.

getPurposeValue()

public abstract int getPurposeValue()

Required. Purpose of the subnet.

.google.cloud.oracledatabase.v1.OdbSubnet.Purpose purpose = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for purpose.

getState()

public abstract OdbSubnet.State getState()

Output only. State of the ODB Subnet.

.google.cloud.oracledatabase.v1.OdbSubnet.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OdbSubnet.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the ODB Subnet.

.google.cloud.oracledatabase.v1.OdbSubnet.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The date and time that the OdbNetwork was created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.