1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/ads/googleads/v3/resources/ad_schedule_view.proto 20 21package resources 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31) 32 33const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38) 39 40// This is a compile-time assertion that a sufficiently up-to-date version 41// of the legacy proto package is being used. 42const _ = proto.ProtoPackageIsVersion4 43 44// An ad schedule view summarizes the performance of campaigns by 45// AdSchedule criteria. 46type AdScheduleView struct { 47 state protoimpl.MessageState 48 sizeCache protoimpl.SizeCache 49 unknownFields protoimpl.UnknownFields 50 51 // Output only. The resource name of the ad schedule view. 52 // AdSchedule view resource names have the form: 53 // 54 // `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` 55 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 56} 57 58func (x *AdScheduleView) Reset() { 59 *x = AdScheduleView{} 60 if protoimpl.UnsafeEnabled { 61 mi := &file_google_ads_googleads_v3_resources_ad_schedule_view_proto_msgTypes[0] 62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 63 ms.StoreMessageInfo(mi) 64 } 65} 66 67func (x *AdScheduleView) String() string { 68 return protoimpl.X.MessageStringOf(x) 69} 70 71func (*AdScheduleView) ProtoMessage() {} 72 73func (x *AdScheduleView) ProtoReflect() protoreflect.Message { 74 mi := &file_google_ads_googleads_v3_resources_ad_schedule_view_proto_msgTypes[0] 75 if protoimpl.UnsafeEnabled && x != nil { 76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 77 if ms.LoadMessageInfo() == nil { 78 ms.StoreMessageInfo(mi) 79 } 80 return ms 81 } 82 return mi.MessageOf(x) 83} 84 85// Deprecated: Use AdScheduleView.ProtoReflect.Descriptor instead. 86func (*AdScheduleView) Descriptor() ([]byte, []int) { 87 return file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDescGZIP(), []int{0} 88} 89 90func (x *AdScheduleView) GetResourceName() string { 91 if x != nil { 92 return x.ResourceName 93 } 94 return "" 95} 96 97var File_google_ads_googleads_v3_resources_ad_schedule_view_proto protoreflect.FileDescriptor 98 99var file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDesc = []byte{ 100 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 101 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 102 0x63, 0x65, 0x73, 0x2f, 0x61, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 103 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 104 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 105 0x2e, 0x76, 0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a, 0x1f, 0x67, 106 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 107 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 108 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 109 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 110 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 111 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x01, 0x0a, 0x0e, 0x41, 0x64, 0x53, 0x63, 112 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x56, 0x69, 0x65, 0x77, 0x12, 0x54, 0x0a, 0x0d, 0x72, 0x65, 113 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 114 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 115 0x65, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 116 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x64, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x56, 0x69, 117 0x65, 0x77, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 118 0x3a, 0x65, 0xea, 0x41, 0x62, 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 119 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 120 0x41, 0x64, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x56, 0x69, 0x65, 0x77, 0x12, 0x37, 121 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 122 0x6d, 0x65, 0x72, 0x7d, 0x2f, 0x61, 0x64, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x56, 123 0x69, 0x65, 0x77, 0x73, 0x2f, 0x7b, 0x61, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 124 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x7d, 0x42, 0x80, 0x02, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 125 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 126 0x65, 0x61, 0x64, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 127 0x73, 0x42, 0x13, 0x41, 0x64, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x56, 0x69, 0x65, 128 0x77, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 129 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 130 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 131 0x61, 0x64, 0x73, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x76, 0x33, 132 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75, 133 0x72, 0x63, 0x65, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x41, 0x41, 0xaa, 0x02, 0x21, 0x47, 0x6f, 0x6f, 134 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x73, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 135 0x73, 0x2e, 0x56, 0x33, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0xca, 0x02, 136 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x73, 0x5c, 0x47, 0x6f, 0x6f, 0x67, 137 0x6c, 0x65, 0x41, 0x64, 0x73, 0x5c, 0x56, 0x33, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 138 0x65, 0x73, 0xea, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x73, 139 0x3a, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x64, 0x73, 0x3a, 0x3a, 0x56, 0x33, 0x3a, 140 0x3a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 141 0x6f, 0x33, 142} 143 144var ( 145 file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDescOnce sync.Once 146 file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDescData = file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDesc 147) 148 149func file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDescGZIP() []byte { 150 file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDescOnce.Do(func() { 151 file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDescData) 152 }) 153 return file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDescData 154} 155 156var file_google_ads_googleads_v3_resources_ad_schedule_view_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 157var file_google_ads_googleads_v3_resources_ad_schedule_view_proto_goTypes = []interface{}{ 158 (*AdScheduleView)(nil), // 0: google.ads.googleads.v3.resources.AdScheduleView 159} 160var file_google_ads_googleads_v3_resources_ad_schedule_view_proto_depIdxs = []int32{ 161 0, // [0:0] is the sub-list for method output_type 162 0, // [0:0] is the sub-list for method input_type 163 0, // [0:0] is the sub-list for extension type_name 164 0, // [0:0] is the sub-list for extension extendee 165 0, // [0:0] is the sub-list for field type_name 166} 167 168func init() { file_google_ads_googleads_v3_resources_ad_schedule_view_proto_init() } 169func file_google_ads_googleads_v3_resources_ad_schedule_view_proto_init() { 170 if File_google_ads_googleads_v3_resources_ad_schedule_view_proto != nil { 171 return 172 } 173 if !protoimpl.UnsafeEnabled { 174 file_google_ads_googleads_v3_resources_ad_schedule_view_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 175 switch v := v.(*AdScheduleView); i { 176 case 0: 177 return &v.state 178 case 1: 179 return &v.sizeCache 180 case 2: 181 return &v.unknownFields 182 default: 183 return nil 184 } 185 } 186 } 187 type x struct{} 188 out := protoimpl.TypeBuilder{ 189 File: protoimpl.DescBuilder{ 190 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 191 RawDescriptor: file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDesc, 192 NumEnums: 0, 193 NumMessages: 1, 194 NumExtensions: 0, 195 NumServices: 0, 196 }, 197 GoTypes: file_google_ads_googleads_v3_resources_ad_schedule_view_proto_goTypes, 198 DependencyIndexes: file_google_ads_googleads_v3_resources_ad_schedule_view_proto_depIdxs, 199 MessageInfos: file_google_ads_googleads_v3_resources_ad_schedule_view_proto_msgTypes, 200 }.Build() 201 File_google_ads_googleads_v3_resources_ad_schedule_view_proto = out.File 202 file_google_ads_googleads_v3_resources_ad_schedule_view_proto_rawDesc = nil 203 file_google_ads_googleads_v3_resources_ad_schedule_view_proto_goTypes = nil 204 file_google_ads_googleads_v3_resources_ad_schedule_view_proto_depIdxs = nil 205} 206