Interface OdbNetworkOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OdbNetwork,OdbNetwork.Builder
@Generated
public interface OdbNetworkOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Required.com.google.protobuf.ByteStringRequired.getState()Output only.intOutput only.booleanOutput 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()Identifier. The name of the OdbNetwork resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. The name of the OdbNetwork resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getNetwork
String getNetwork()Required. The name of the VPC network in the following format: projects/{project}/global/networks/{network}string network = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()Required. The name of the VPC network in the following format: projects/{project}/global/networks/{network}string network = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for network.
-
getLabelsCount
int getLabelsCount()Optional. Labels or tags associated with the resource.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Labels or tags associated with the resource.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels or tags associated with the resource.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels or tags associated with the resource.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Labels or tags associated with the resource.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasCreateTime
boolean hasCreateTime()Output only. The date and time that the OdbNetwork was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The date and time that the OdbNetwork was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The date and time that the OdbNetwork was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateValue
int getStateValue()Output only. State of the ODB Network.
.google.cloud.oracledatabase.v1.OdbNetwork.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
OdbNetwork.State getState()Output only. State of the ODB Network.
.google.cloud.oracledatabase.v1.OdbNetwork.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getEntitlementId
String getEntitlementId()Output only. The ID of the subscription entitlement associated with the OdbNetwork.
string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The entitlementId.
-
getEntitlementIdBytes
com.google.protobuf.ByteString getEntitlementIdBytes()Output only. The ID of the subscription entitlement associated with the OdbNetwork.
string entitlement_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for entitlementId.
-
getGcpOracleZone
String getGcpOracleZone()Optional. The GCP Oracle zone where OdbNetwork is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The gcpOracleZone.
-
getGcpOracleZoneBytes
com.google.protobuf.ByteString getGcpOracleZoneBytes()Optional. The GCP Oracle zone where OdbNetwork is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
string gcp_oracle_zone = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for gcpOracleZone.
-