// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.2
// source: google/cloud/dialogflow/v2beta1/phone_number.proto

package dialogflowpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// The states that a `PhoneNumber` can be in.
type PhoneNumber_LifecycleState int32

const (
	// This value is never used.
	PhoneNumber_LIFECYCLE_STATE_UNSPECIFIED PhoneNumber_LifecycleState = 0
	// Number is active and can receive phone calls.
	PhoneNumber_ACTIVE PhoneNumber_LifecycleState = 1
	// Number is pending deletion, and cannot receive calls.
	PhoneNumber_DELETE_REQUESTED PhoneNumber_LifecycleState = 2
)

// Enum value maps for PhoneNumber_LifecycleState.
var (
	PhoneNumber_LifecycleState_name = map[int32]string{
		0: "LIFECYCLE_STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "DELETE_REQUESTED",
	}
	PhoneNumber_LifecycleState_value = map[string]int32{
		"LIFECYCLE_STATE_UNSPECIFIED": 0,
		"ACTIVE":                      1,
		"DELETE_REQUESTED":            2,
	}
)

func (x PhoneNumber_LifecycleState) Enum() *PhoneNumber_LifecycleState {
	p := new(PhoneNumber_LifecycleState)
	*p = x
	return p
}

func (x PhoneNumber_LifecycleState) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PhoneNumber_LifecycleState) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_v2beta1_phone_number_proto_enumTypes[0].Descriptor()
}

func (PhoneNumber_LifecycleState) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_v2beta1_phone_number_proto_enumTypes[0]
}

func (x PhoneNumber_LifecycleState) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PhoneNumber_LifecycleState.Descriptor instead.
func (PhoneNumber_LifecycleState) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescGZIP(), []int{0, 0}
}

// Represents a phone number.
// `PhoneNumber` resources enable phone calls to be answered by Dialogflow
// services and are added to a project through a
// [PhoneNumberOrder][google.cloud.dialogflow.v2beta1.PhoneNumberOrder].
type PhoneNumber struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The unique identifier of this phone number.
	// Required for
	// [PhoneNumbers.UpdatePhoneNumber][google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber]
	// method. Format: `projects/<Project ID>/phoneNumbers/<PhoneNumber ID>`.
	// Format: `projects/<Project ID>/locations/<Location
	// ID>/phoneNumbers/<PhoneNumber ID>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Phone number in [E.164](https://en.wikipedia.org/wiki/E.164)
	// format. An example of a correctly formatted phone number: +15556767888.
	PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// Optional. The conversation profile calls to this `PhoneNumber` should use.
	// The project ID here should be the same as the one in
	// [name][google.cloud.dialogflow.v2beta1.PhoneNumber.name].
	// Format: `projects/<Project ID>/conversationProfiles/<ConversationProfile
	// ID>`.
	// Format: `projects/<Project ID>/locations/<Location
	// ID>/conversationProfiles/<ConversationProfile ID>`.
	ConversationProfile string `protobuf:"bytes,3,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"`
	// Output only. The state of the `PhoneNumber`. Defaults to `ACTIVE`.
	// `PhoneNumber` objects set to `DELETE_REQUESTED` always decline incoming
	// calls and can be removed completely within 30 days.
	LifecycleState PhoneNumber_LifecycleState `protobuf:"varint,4,opt,name=lifecycle_state,json=lifecycleState,proto3,enum=google.cloud.dialogflow.v2beta1.PhoneNumber_LifecycleState" json:"lifecycle_state,omitempty"`
	// Restricts inbound calls
	//
	// Types that are valid to be assigned to InboundRestriction:
	//
	//	*PhoneNumber_AllowedSipTrunks_
	InboundRestriction isPhoneNumber_InboundRestriction `protobuf_oneof:"inbound_restriction"`
	// Output only. The time at which this resource will be purged.
	PurgeTime     *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=purge_time,json=purgeTime,proto3" json:"purge_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PhoneNumber) Reset() {
	*x = PhoneNumber{}
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PhoneNumber) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PhoneNumber) ProtoMessage() {}

func (x *PhoneNumber) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PhoneNumber.ProtoReflect.Descriptor instead.
func (*PhoneNumber) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescGZIP(), []int{0}
}

func (x *PhoneNumber) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *PhoneNumber) GetPhoneNumber() string {
	if x != nil {
		return x.PhoneNumber
	}
	return ""
}

func (x *PhoneNumber) GetConversationProfile() string {
	if x != nil {
		return x.ConversationProfile
	}
	return ""
}

func (x *PhoneNumber) GetLifecycleState() PhoneNumber_LifecycleState {
	if x != nil {
		return x.LifecycleState
	}
	return PhoneNumber_LIFECYCLE_STATE_UNSPECIFIED
}

func (x *PhoneNumber) GetInboundRestriction() isPhoneNumber_InboundRestriction {
	if x != nil {
		return x.InboundRestriction
	}
	return nil
}

func (x *PhoneNumber) GetAllowedSipTrunks() *PhoneNumber_AllowedSipTrunks {
	if x != nil {
		if x, ok := x.InboundRestriction.(*PhoneNumber_AllowedSipTrunks_); ok {
			return x.AllowedSipTrunks
		}
	}
	return nil
}

func (x *PhoneNumber) GetPurgeTime() *timestamppb.Timestamp {
	if x != nil {
		return x.PurgeTime
	}
	return nil
}

type isPhoneNumber_InboundRestriction interface {
	isPhoneNumber_InboundRestriction()
}

type PhoneNumber_AllowedSipTrunks_ struct {
	// Optional. Only allow calls from the specified SIP trunks.
	AllowedSipTrunks *PhoneNumber_AllowedSipTrunks `protobuf:"bytes,7,opt,name=allowed_sip_trunks,json=allowedSipTrunks,proto3,oneof"`
}

func (*PhoneNumber_AllowedSipTrunks_) isPhoneNumber_InboundRestriction() {}

// The request message for
// [PhoneNumbers.DeletePhoneNumber][google.cloud.dialogflow.v2beta1.PhoneNumbers.DeletePhoneNumber].
type DeletePhoneNumberRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The unique identifier of the `PhoneNumber` to delete.
	// Format: `projects/<Project ID>/phoneNumbers/<PhoneNumber ID>`.
	// Format: `projects/<Project ID>/locations/<Location
	// ID>/phoneNumbers/<PhoneNumber ID>`.
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeletePhoneNumberRequest) Reset() {
	*x = DeletePhoneNumberRequest{}
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DeletePhoneNumberRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DeletePhoneNumberRequest) ProtoMessage() {}

func (x *DeletePhoneNumberRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DeletePhoneNumberRequest.ProtoReflect.Descriptor instead.
func (*DeletePhoneNumberRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescGZIP(), []int{1}
}

func (x *DeletePhoneNumberRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// The request message for
// [PhoneNumbers.UndeletePhoneNumber][google.cloud.dialogflow.v2beta1.PhoneNumbers.UndeletePhoneNumber].
type UndeletePhoneNumberRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The unique identifier of the `PhoneNumber` to delete.
	// Format: `projects/<Project ID>/phoneNumbers/<PhoneNumber ID>`.
	// Format: `projects/<Project ID>/locations/<Location
	// ID>/phoneNumbers/<PhoneNumber ID>`.
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UndeletePhoneNumberRequest) Reset() {
	*x = UndeletePhoneNumberRequest{}
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UndeletePhoneNumberRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UndeletePhoneNumberRequest) ProtoMessage() {}

func (x *UndeletePhoneNumberRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UndeletePhoneNumberRequest.ProtoReflect.Descriptor instead.
func (*UndeletePhoneNumberRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescGZIP(), []int{2}
}

func (x *UndeletePhoneNumberRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// The request message for
// [PhoneNumbers.ListPhoneNumbers][google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers].
type ListPhoneNumbersRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The project to list all `PhoneNumber` resources from.
	// Format: `projects/<Project ID>`.
	// Format: `projects/<Project ID>/locations/<Location ID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of items to return in a single page.
	// The default value is 100. The maximum value is 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Controls whether `PhoneNumber` resources in the
	// [DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED]
	// state should be returned. Defaults to false.
	ShowDeleted   bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListPhoneNumbersRequest) Reset() {
	*x = ListPhoneNumbersRequest{}
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListPhoneNumbersRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListPhoneNumbersRequest) ProtoMessage() {}

func (x *ListPhoneNumbersRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListPhoneNumbersRequest.ProtoReflect.Descriptor instead.
func (*ListPhoneNumbersRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescGZIP(), []int{3}
}

func (x *ListPhoneNumbersRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ListPhoneNumbersRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListPhoneNumbersRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListPhoneNumbersRequest) GetShowDeleted() bool {
	if x != nil {
		return x.ShowDeleted
	}
	return false
}

// The response message for
// [PhoneNumbers.ListPhoneNumbers][google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers].
type ListPhoneNumbersResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The list of `PhoneNumber` resources. There is a maximum number of items
	// returned based on the page_size field in the request.
	PhoneNumbers []*PhoneNumber `protobuf:"bytes,1,rep,name=phone_numbers,json=phoneNumbers,proto3" json:"phone_numbers,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no
	// more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListPhoneNumbersResponse) Reset() {
	*x = ListPhoneNumbersResponse{}
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListPhoneNumbersResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListPhoneNumbersResponse) ProtoMessage() {}

func (x *ListPhoneNumbersResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListPhoneNumbersResponse.ProtoReflect.Descriptor instead.
func (*ListPhoneNumbersResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescGZIP(), []int{4}
}

func (x *ListPhoneNumbersResponse) GetPhoneNumbers() []*PhoneNumber {
	if x != nil {
		return x.PhoneNumbers
	}
	return nil
}

func (x *ListPhoneNumbersResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

// The request message for
// [PhoneNumbers.UpdatePhoneNumber][google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber].
type UpdatePhoneNumberRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The `PhoneNumber` to update.
	PhoneNumber *PhoneNumber `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// Optional. The mask to control which fields get updated.
	UpdateMask    *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdatePhoneNumberRequest) Reset() {
	*x = UpdatePhoneNumberRequest{}
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdatePhoneNumberRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdatePhoneNumberRequest) ProtoMessage() {}

func (x *UpdatePhoneNumberRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UpdatePhoneNumberRequest.ProtoReflect.Descriptor instead.
func (*UpdatePhoneNumberRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescGZIP(), []int{5}
}

func (x *UpdatePhoneNumberRequest) GetPhoneNumber() *PhoneNumber {
	if x != nil {
		return x.PhoneNumber
	}
	return nil
}

func (x *UpdatePhoneNumberRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

// List of SIP trunks that are allowed to make calls to this phone number.
type PhoneNumber_AllowedSipTrunks struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of SIP trunks that are allowed to make calls to this phone number.
	// If empty, any SIP trunk is allowed.
	SipTrunks []string `protobuf:"bytes,1,rep,name=sip_trunks,json=sipTrunks,proto3" json:"sip_trunks,omitempty"`
	// 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.
	CarrierIds    []string `protobuf:"bytes,2,rep,name=carrier_ids,json=carrierIds,proto3" json:"carrier_ids,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PhoneNumber_AllowedSipTrunks) Reset() {
	*x = PhoneNumber_AllowedSipTrunks{}
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PhoneNumber_AllowedSipTrunks) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PhoneNumber_AllowedSipTrunks) ProtoMessage() {}

func (x *PhoneNumber_AllowedSipTrunks) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PhoneNumber_AllowedSipTrunks.ProtoReflect.Descriptor instead.
func (*PhoneNumber_AllowedSipTrunks) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescGZIP(), []int{0, 0}
}

func (x *PhoneNumber_AllowedSipTrunks) GetSipTrunks() []string {
	if x != nil {
		return x.SipTrunks
	}
	return nil
}

func (x *PhoneNumber_AllowedSipTrunks) GetCarrierIds() []string {
	if x != nil {
		return x.CarrierIds
	}
	return nil
}

var File_google_cloud_dialogflow_v2beta1_phone_number_proto protoreflect.FileDescriptor

const file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDesc = "" +
	"\n" +
	"2google/cloud/dialogflow/v2beta1/phone_number.proto\x12\x1fgoogle.cloud.dialogflow.v2beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x06\n" +
	"\vPhoneNumber\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x01R\x04name\x12&\n" +
	"\fphone_number\x18\x02 \x01(\tB\x03\xe0A\x03R\vphoneNumber\x126\n" +
	"\x14conversation_profile\x18\x03 \x01(\tB\x03\xe0A\x01R\x13conversationProfile\x12i\n" +
	"\x0flifecycle_state\x18\x04 \x01(\x0e2;.google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleStateB\x03\xe0A\x03R\x0elifecycleState\x12r\n" +
	"\x12allowed_sip_trunks\x18\a \x01(\v2=.google.cloud.dialogflow.v2beta1.PhoneNumber.AllowedSipTrunksB\x03\xe0A\x01H\x00R\x10allowedSipTrunks\x12>\n" +
	"\n" +
	"purge_time\x18\b \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\tpurgeTime\x1a\x80\x01\n" +
	"\x10AllowedSipTrunks\x12F\n" +
	"\n" +
	"sip_trunks\x18\x01 \x03(\tB'\xfaA$\n" +
	"\"dialogflow.googleapis.com/SipTrunkR\tsipTrunks\x12$\n" +
	"\vcarrier_ids\x18\x02 \x03(\tB\x03\xe0A\x01R\n" +
	"carrierIds\"S\n" +
	"\x0eLifecycleState\x12\x1f\n" +
	"\x1bLIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06ACTIVE\x10\x01\x12\x14\n" +
	"\x10DELETE_REQUESTED\x10\x02:\xa0\x01\xeaA\x9c\x01\n" +
	"%dialogflow.googleapis.com/PhoneNumber\x12.projects/{project}/phoneNumbers/{phone_number}\x12Cprojects/{project}/locations/{location}/phoneNumbers/{phone_number}B\x15\n" +
	"\x13inbound_restriction\"]\n" +
	"\x18DeletePhoneNumberRequest\x12A\n" +
	"\x04name\x18\x01 \x01(\tB-\xe0A\x02\xfaA'\n" +
	"%dialogflow.googleapis.com/PhoneNumberR\x04name\"_\n" +
	"\x1aUndeletePhoneNumberRequest\x12A\n" +
	"\x04name\x18\x01 \x01(\tB-\xe0A\x02\xfaA'\n" +
	"%dialogflow.googleapis.com/PhoneNumberR\x04name\"\xce\x01\n" +
	"\x17ListPhoneNumbersRequest\x12E\n" +
	"\x06parent\x18\x01 \x01(\tB-\xe0A\x02\xfaA'\x12%dialogflow.googleapis.com/PhoneNumberR\x06parent\x12 \n" +
	"\tpage_size\x18\x02 \x01(\x05B\x03\xe0A\x01R\bpageSize\x12\"\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\x03\xe0A\x01R\tpageToken\x12&\n" +
	"\fshow_deleted\x18\x04 \x01(\bB\x03\xe0A\x01R\vshowDeleted\"\x95\x01\n" +
	"\x18ListPhoneNumbersResponse\x12Q\n" +
	"\rphone_numbers\x18\x01 \x03(\v2,.google.cloud.dialogflow.v2beta1.PhoneNumberR\fphoneNumbers\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xb2\x01\n" +
	"\x18UpdatePhoneNumberRequest\x12T\n" +
	"\fphone_number\x18\x01 \x01(\v2,.google.cloud.dialogflow.v2beta1.PhoneNumberB\x03\xe0A\x02R\vphoneNumber\x12@\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x01R\n" +
	"updateMask2\xc6\t\n" +
	"\fPhoneNumbers\x12\xfc\x01\n" +
	"\x10ListPhoneNumbers\x128.google.cloud.dialogflow.v2beta1.ListPhoneNumbersRequest\x1a9.google.cloud.dialogflow.v2beta1.ListPhoneNumbersResponse\"s\xdaA\x06parent\x82\xd3\xe4\x93\x02dZ7\x125/v2beta1/{parent=projects/*/locations/*}/phoneNumbers\x12)/v2beta1/{parent=projects/*}/phoneNumbers\x12\xbb\x02\n" +
	"\x11UpdatePhoneNumber\x129.google.cloud.dialogflow.v2beta1.UpdatePhoneNumberRequest\x1a,.google.cloud.dialogflow.v2beta1.PhoneNumber\"\xbc\x01\xdaA\x18phone_number,update_mask\x82\xd3\xe4\x93\x02\x9a\x01:\fphone_numberZR:\fphone_number2B/v2beta1/{phone_number.name=projects/*/locations/*/phoneNumbers/*}26/v2beta1/{phone_number.name=projects/*/phoneNumbers/*}\x12\xef\x01\n" +
	"\x11DeletePhoneNumber\x129.google.cloud.dialogflow.v2beta1.DeletePhoneNumberRequest\x1a,.google.cloud.dialogflow.v2beta1.PhoneNumber\"q\xdaA\x04name\x82\xd3\xe4\x93\x02dZ7*5/v2beta1/{name=projects/*/locations/*/phoneNumbers/*}*)/v2beta1/{name=projects/*/phoneNumbers/*}\x12\x8c\x02\n" +
	"\x13UndeletePhoneNumber\x12;.google.cloud.dialogflow.v2beta1.UndeletePhoneNumberRequest\x1a,.google.cloud.dialogflow.v2beta1.PhoneNumber\"\x89\x01\xdaA\x04name\x82\xd3\xe4\x93\x02|:\x01*ZC:\x01*\">/v2beta1/{name=projects/*/locations/*/phoneNumbers/*}:undelete\"2/v2beta1/{name=projects/*/phoneNumbers/*}:undelete\x1ax\xcaA\x19dialogflow.googleapis.com\xd2AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xa5\x01\n" +
	"#com.google.cloud.dialogflow.v2beta1B\x10PhoneNumberProtoP\x01ZCcloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb\xa2\x02\x02DF\xaa\x02\x1fGoogle.Cloud.Dialogflow.V2Beta1b\x06proto3"

var (
	file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescOnce sync.Once
	file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescData []byte
)

func file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescGZIP() []byte {
	file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescOnce.Do(func() {
		file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDesc), len(file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDesc)))
	})
	return file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDescData
}

var file_google_cloud_dialogflow_v2beta1_phone_number_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_google_cloud_dialogflow_v2beta1_phone_number_proto_goTypes = []any{
	(PhoneNumber_LifecycleState)(0),      // 0: google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState
	(*PhoneNumber)(nil),                  // 1: google.cloud.dialogflow.v2beta1.PhoneNumber
	(*DeletePhoneNumberRequest)(nil),     // 2: google.cloud.dialogflow.v2beta1.DeletePhoneNumberRequest
	(*UndeletePhoneNumberRequest)(nil),   // 3: google.cloud.dialogflow.v2beta1.UndeletePhoneNumberRequest
	(*ListPhoneNumbersRequest)(nil),      // 4: google.cloud.dialogflow.v2beta1.ListPhoneNumbersRequest
	(*ListPhoneNumbersResponse)(nil),     // 5: google.cloud.dialogflow.v2beta1.ListPhoneNumbersResponse
	(*UpdatePhoneNumberRequest)(nil),     // 6: google.cloud.dialogflow.v2beta1.UpdatePhoneNumberRequest
	(*PhoneNumber_AllowedSipTrunks)(nil), // 7: google.cloud.dialogflow.v2beta1.PhoneNumber.AllowedSipTrunks
	(*timestamppb.Timestamp)(nil),        // 8: google.protobuf.Timestamp
	(*fieldmaskpb.FieldMask)(nil),        // 9: google.protobuf.FieldMask
}
var file_google_cloud_dialogflow_v2beta1_phone_number_proto_depIdxs = []int32{
	0,  // 0: google.cloud.dialogflow.v2beta1.PhoneNumber.lifecycle_state:type_name -> google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState
	7,  // 1: google.cloud.dialogflow.v2beta1.PhoneNumber.allowed_sip_trunks:type_name -> google.cloud.dialogflow.v2beta1.PhoneNumber.AllowedSipTrunks
	8,  // 2: google.cloud.dialogflow.v2beta1.PhoneNumber.purge_time:type_name -> google.protobuf.Timestamp
	1,  // 3: google.cloud.dialogflow.v2beta1.ListPhoneNumbersResponse.phone_numbers:type_name -> google.cloud.dialogflow.v2beta1.PhoneNumber
	1,  // 4: google.cloud.dialogflow.v2beta1.UpdatePhoneNumberRequest.phone_number:type_name -> google.cloud.dialogflow.v2beta1.PhoneNumber
	9,  // 5: google.cloud.dialogflow.v2beta1.UpdatePhoneNumberRequest.update_mask:type_name -> google.protobuf.FieldMask
	4,  // 6: google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers:input_type -> google.cloud.dialogflow.v2beta1.ListPhoneNumbersRequest
	6,  // 7: google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber:input_type -> google.cloud.dialogflow.v2beta1.UpdatePhoneNumberRequest
	2,  // 8: google.cloud.dialogflow.v2beta1.PhoneNumbers.DeletePhoneNumber:input_type -> google.cloud.dialogflow.v2beta1.DeletePhoneNumberRequest
	3,  // 9: google.cloud.dialogflow.v2beta1.PhoneNumbers.UndeletePhoneNumber:input_type -> google.cloud.dialogflow.v2beta1.UndeletePhoneNumberRequest
	5,  // 10: google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers:output_type -> google.cloud.dialogflow.v2beta1.ListPhoneNumbersResponse
	1,  // 11: google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber:output_type -> google.cloud.dialogflow.v2beta1.PhoneNumber
	1,  // 12: google.cloud.dialogflow.v2beta1.PhoneNumbers.DeletePhoneNumber:output_type -> google.cloud.dialogflow.v2beta1.PhoneNumber
	1,  // 13: google.cloud.dialogflow.v2beta1.PhoneNumbers.UndeletePhoneNumber:output_type -> google.cloud.dialogflow.v2beta1.PhoneNumber
	10, // [10:14] is the sub-list for method output_type
	6,  // [6:10] is the sub-list for method input_type
	6,  // [6:6] is the sub-list for extension type_name
	6,  // [6:6] is the sub-list for extension extendee
	0,  // [0:6] is the sub-list for field type_name
}

func init() { file_google_cloud_dialogflow_v2beta1_phone_number_proto_init() }
func file_google_cloud_dialogflow_v2beta1_phone_number_proto_init() {
	if File_google_cloud_dialogflow_v2beta1_phone_number_proto != nil {
		return
	}
	file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes[0].OneofWrappers = []any{
		(*PhoneNumber_AllowedSipTrunks_)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDesc), len(file_google_cloud_dialogflow_v2beta1_phone_number_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_dialogflow_v2beta1_phone_number_proto_goTypes,
		DependencyIndexes: file_google_cloud_dialogflow_v2beta1_phone_number_proto_depIdxs,
		EnumInfos:         file_google_cloud_dialogflow_v2beta1_phone_number_proto_enumTypes,
		MessageInfos:      file_google_cloud_dialogflow_v2beta1_phone_number_proto_msgTypes,
	}.Build()
	File_google_cloud_dialogflow_v2beta1_phone_number_proto = out.File
	file_google_cloud_dialogflow_v2beta1_phone_number_proto_goTypes = nil
	file_google_cloud_dialogflow_v2beta1_phone_number_proto_depIdxs = nil
}
