Class PhoneNumber.AllowedSipTrunks (4.97.0)

public static final class PhoneNumber.AllowedSipTrunks extends GeneratedMessage implements PhoneNumber.AllowedSipTrunksOrBuilder

List of SIP trunks that are allowed to make calls to this phone number.

Protobuf type google.cloud.dialogflow.v2beta1.PhoneNumber.AllowedSipTrunks

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PhoneNumber.AllowedSipTrunks

Static Fields

CARRIER_IDS_FIELD_NUMBER

public static final int CARRIER_IDS_FIELD_NUMBER
Field Value
Type Description
int

SIP_TRUNKS_FIELD_NUMBER

public static final int SIP_TRUNKS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PhoneNumber.AllowedSipTrunks getDefaultInstance()
Returns
Type Description
PhoneNumber.AllowedSipTrunks

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PhoneNumber.AllowedSipTrunks.Builder newBuilder()
Returns
Type Description
PhoneNumber.AllowedSipTrunks.Builder

newBuilder(PhoneNumber.AllowedSipTrunks prototype)

public static PhoneNumber.AllowedSipTrunks.Builder newBuilder(PhoneNumber.AllowedSipTrunks prototype)
Parameter
Name Description
prototype PhoneNumber.AllowedSipTrunks
Returns
Type Description
PhoneNumber.AllowedSipTrunks.Builder

parseDelimitedFrom(InputStream input)

public static PhoneNumber.AllowedSipTrunks parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PhoneNumber.AllowedSipTrunks parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PhoneNumber.AllowedSipTrunks parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PhoneNumber.AllowedSipTrunks parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PhoneNumber.AllowedSipTrunks parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PhoneNumber.AllowedSipTrunks parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PhoneNumber.AllowedSipTrunks parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PhoneNumber.AllowedSipTrunks parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PhoneNumber.AllowedSipTrunks parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PhoneNumber.AllowedSipTrunks parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PhoneNumber.AllowedSipTrunks parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PhoneNumber.AllowedSipTrunks parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneNumber.AllowedSipTrunks
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PhoneNumber.AllowedSipTrunks> parser()
Returns
Type Description
Parser<AllowedSipTrunks>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCarrierIds(int index)

public 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 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 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 ProtocolStringList 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
ProtocolStringList

A list containing the carrierIds.

getDefaultInstanceForType()

public PhoneNumber.AllowedSipTrunks getDefaultInstanceForType()
Returns
Type Description
PhoneNumber.AllowedSipTrunks

getParserForType()

public Parser<PhoneNumber.AllowedSipTrunks> getParserForType()
Returns
Type Description
Parser<AllowedSipTrunks>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSipTrunks(int index)

public 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 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 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 ProtocolStringList 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
ProtocolStringList

A list containing the sipTrunks.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PhoneNumber.AllowedSipTrunks.Builder newBuilderForType()
Returns
Type Description
PhoneNumber.AllowedSipTrunks.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected PhoneNumber.AllowedSipTrunks.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PhoneNumber.AllowedSipTrunks.Builder
Overrides

toBuilder()

public PhoneNumber.AllowedSipTrunks.Builder toBuilder()
Returns
Type Description
PhoneNumber.AllowedSipTrunks.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException