Interface PhoneNumber.AllowedSipTrunksOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PhoneNumber.AllowedSipTrunks, PhoneNumber.AllowedSipTrunks.Builder
Enclosing class:
PhoneNumber

public static interface PhoneNumber.AllowedSipTrunksOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getCarrierIds(int index)
    Optional.
    com.google.protobuf.ByteString
    getCarrierIdsBytes(int index)
    Optional.
    int
    Optional.
    Optional.
    getSipTrunks(int index)
    List of SIP trunks that are allowed to make calls to this phone number.
    com.google.protobuf.ByteString
    getSipTrunksBytes(int index)
    List of SIP trunks that are allowed to make calls to this phone number.
    int
    List of SIP trunks that are allowed to make calls to this phone number.
    List of SIP trunks that are allowed to make calls to this phone number.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSipTrunksList

      List<String> getSipTrunksList()
       List of SIP trunks that are allowed to make calls to this phone number.
       If empty, any SIP trunk is allowed.
       
      repeated string sip_trunks = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      A list containing the sipTrunks.
    • getSipTrunksCount

      int getSipTrunksCount()
       List of SIP trunks that are allowed to make calls to this phone number.
       If empty, any SIP trunk is allowed.
       
      repeated string sip_trunks = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The count of sipTrunks.
    • getSipTrunks

      String getSipTrunks(int index)
       List of SIP trunks that are allowed to make calls to this phone number.
       If empty, any SIP trunk is allowed.
       
      repeated string sip_trunks = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The sipTrunks at the given index.
    • getSipTrunksBytes

      com.google.protobuf.ByteString getSipTrunksBytes(int index)
       List of SIP trunks that are allowed to make calls to this phone number.
       If empty, any SIP trunk is allowed.
       
      repeated string sip_trunks = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sipTrunks at the given index.
    • getCarrierIdsList

      List<String> getCarrierIdsList()
       Optional. List of GTP carrier IDs allowed to make calls to this phone
       number. Used for private interconnects where standard SIP trunks aren't
       applicable.
       
      repeated string carrier_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the carrierIds.
    • getCarrierIdsCount

      int getCarrierIdsCount()
       Optional. List of GTP carrier IDs allowed to make calls to this phone
       number. Used for private interconnects where standard SIP trunks aren't
       applicable.
       
      repeated string carrier_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of carrierIds.
    • getCarrierIds

      String getCarrierIds(int index)
       Optional. List of GTP carrier IDs allowed to make calls to this phone
       number. Used for private interconnects where standard SIP trunks aren't
       applicable.
       
      repeated string carrier_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The carrierIds at the given index.
    • getCarrierIdsBytes

      com.google.protobuf.ByteString getCarrierIdsBytes(int index)
       Optional. List of GTP carrier IDs allowed to make calls to this phone
       number. Used for private interconnects where standard SIP trunks aren't
       applicable.
       
      repeated string carrier_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the carrierIds at the given index.