Interface OdbSubnetOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OdbSubnet, OdbSubnet.Builder

@Generated public interface OdbSubnetOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      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:
      The name.
    • getNameBytes

      com.google.protobuf.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:
      The bytes for name.
    • getCidrRange

      String getCidrRange()
       Required. The CIDR range of the subnet.
       
      string cidr_range = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The cidrRange.
    • getCidrRangeBytes

      com.google.protobuf.ByteString getCidrRangeBytes()
       Required. The CIDR range of the subnet.
       
      string cidr_range = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for cidrRange.
    • getPurposeValue

      int getPurposeValue()
       Required. Purpose of the subnet.
       
      .google.cloud.oracledatabase.v1.OdbSubnet.Purpose purpose = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for purpose.
    • getPurpose

      OdbSubnet.Purpose getPurpose()
       Required. Purpose of the subnet.
       
      .google.cloud.oracledatabase.v1.OdbSubnet.Purpose purpose = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The purpose.
    • getLabelsCount

      int getLabelsCount()
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Labels or tags associated with the resource.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasCreateTime

      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:
      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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStateValue

      int getStateValue()
       Output only. State of the ODB Subnet.
       
      .google.cloud.oracledatabase.v1.OdbSubnet.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      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:
      The state.