Interface PhoneNumber.AllowedSipTrunksOrBuilder (4.97.0)

public static interface PhoneNumber.AllowedSipTrunksOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCarrierIds(int index)

public abstract 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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The carrierIds at the given index.

getCarrierIdsBytes(int index)

public abstract 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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the carrierIds at the given index.

getCarrierIdsCount()

public abstract 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
Type Description
int

The count of carrierIds.

getCarrierIdsList()

public abstract 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
Type Description
List<String>

A list containing the carrierIds.

getSipTrunks(int index)

public abstract 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) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sipTrunks at the given index.

getSipTrunksBytes(int index)

public abstract 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) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sipTrunks at the given index.

getSipTrunksCount()

public abstract 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
Type Description
int

The count of sipTrunks.

getSipTrunksList()

public abstract 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
Type Description
List<String>

A list containing the sipTrunks.