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 TypeMethodDescriptiongetCarrierIds(int index) Optional.com.google.protobuf.ByteStringgetCarrierIdsBytes(int index) Optional.intOptional.Optional.getSipTrunks(int index) List of SIP trunks that are allowed to make calls to this phone number.com.google.protobuf.ByteStringgetSipTrunksBytes(int index) List of SIP trunks that are allowed to make calls to this phone number.intList 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
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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
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.
-