Class PhoneNumber.AllowedSipTrunks
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2beta1.PhoneNumber.AllowedSipTrunks
- All Implemented Interfaces:
PhoneNumber.AllowedSipTrunksOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- PhoneNumber
public static final class PhoneNumber.AllowedSipTrunks
extends com.google.protobuf.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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classList of SIP trunks that are allowed to make calls to this phone number.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCarrierIds(int index) Optional.com.google.protobuf.ByteStringgetCarrierIdsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.static PhoneNumber.AllowedSipTrunksstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<PhoneNumber.AllowedSipTrunks>intgetSipTrunks(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.com.google.protobuf.ProtocolStringListList of SIP trunks that are allowed to make calls to this phone number.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(PhoneNumber.AllowedSipTrunks prototype) protected PhoneNumber.AllowedSipTrunks.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PhoneNumber.AllowedSipTrunksparseDelimitedFrom(InputStream input) static PhoneNumber.AllowedSipTrunksparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PhoneNumber.AllowedSipTrunksparseFrom(byte[] data) static PhoneNumber.AllowedSipTrunksparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PhoneNumber.AllowedSipTrunksparseFrom(com.google.protobuf.ByteString data) static PhoneNumber.AllowedSipTrunksparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PhoneNumber.AllowedSipTrunksparseFrom(com.google.protobuf.CodedInputStream input) static PhoneNumber.AllowedSipTrunksparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PhoneNumber.AllowedSipTrunksparseFrom(InputStream input) static PhoneNumber.AllowedSipTrunksparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PhoneNumber.AllowedSipTrunksparseFrom(ByteBuffer data) static PhoneNumber.AllowedSipTrunksparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PhoneNumber.AllowedSipTrunks>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SIP_TRUNKS_FIELD_NUMBER
public static final int SIP_TRUNKS_FIELD_NUMBER- See Also:
-
CARRIER_IDS_FIELD_NUMBER
public static final int CARRIER_IDS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSipTrunksList
public com.google.protobuf.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) = { ... }- Specified by:
getSipTrunksListin interfacePhoneNumber.AllowedSipTrunksOrBuilder- Returns:
- A list containing the sipTrunks.
-
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) = { ... }- Specified by:
getSipTrunksCountin interfacePhoneNumber.AllowedSipTrunksOrBuilder- 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) = { ... }- Specified by:
getSipTrunksin interfacePhoneNumber.AllowedSipTrunksOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sipTrunks at the given index.
-
getSipTrunksBytes
public 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) = { ... }- Specified by:
getSipTrunksBytesin interfacePhoneNumber.AllowedSipTrunksOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sipTrunks at the given index.
-
getCarrierIdsList
public com.google.protobuf.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];- Specified by:
getCarrierIdsListin interfacePhoneNumber.AllowedSipTrunksOrBuilder- Returns:
- A list containing the carrierIds.
-
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];- Specified by:
getCarrierIdsCountin interfacePhoneNumber.AllowedSipTrunksOrBuilder- 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];- Specified by:
getCarrierIdsin interfacePhoneNumber.AllowedSipTrunksOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The carrierIds at the given index.
-
getCarrierIdsBytes
public 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];- Specified by:
getCarrierIdsBytesin interfacePhoneNumber.AllowedSipTrunksOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the carrierIds at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PhoneNumber.AllowedSipTrunks parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhoneNumber.AllowedSipTrunks parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhoneNumber.AllowedSipTrunks parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhoneNumber.AllowedSipTrunks parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhoneNumber.AllowedSipTrunks parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PhoneNumber.AllowedSipTrunks parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PhoneNumber.AllowedSipTrunks parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PhoneNumber.AllowedSipTrunks parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PhoneNumber.AllowedSipTrunks parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PhoneNumber.AllowedSipTrunks parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static PhoneNumber.AllowedSipTrunks.Builder newBuilder(PhoneNumber.AllowedSipTrunks prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PhoneNumber.AllowedSipTrunks.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-