1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/services/ad_group_simulation_service.proto
3
4package services
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	resources "google.golang.org/genproto/googleapis/ads/googleads/v1/resources"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14	grpc "google.golang.org/grpc"
15	codes "google.golang.org/grpc/codes"
16	status "google.golang.org/grpc/status"
17)
18
19// Reference imports to suppress errors if they are not otherwise used.
20var _ = proto.Marshal
21var _ = fmt.Errorf
22var _ = math.Inf
23
24// This is a compile-time assertion to ensure that this generated file
25// is compatible with the proto package it is being compiled against.
26// A compilation error at this line likely means your copy of the
27// proto package needs to be updated.
28const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
29
30// Request message for [AdGroupSimulationService.GetAdGroupSimulation][google.ads.googleads.v1.services.AdGroupSimulationService.GetAdGroupSimulation].
31type GetAdGroupSimulationRequest struct {
32	// The resource name of the ad group simulation to fetch.
33	ResourceName         string   `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
34	XXX_NoUnkeyedLiteral struct{} `json:"-"`
35	XXX_unrecognized     []byte   `json:"-"`
36	XXX_sizecache        int32    `json:"-"`
37}
38
39func (m *GetAdGroupSimulationRequest) Reset()         { *m = GetAdGroupSimulationRequest{} }
40func (m *GetAdGroupSimulationRequest) String() string { return proto.CompactTextString(m) }
41func (*GetAdGroupSimulationRequest) ProtoMessage()    {}
42func (*GetAdGroupSimulationRequest) Descriptor() ([]byte, []int) {
43	return fileDescriptor_100c20f45a4ce1f1, []int{0}
44}
45
46func (m *GetAdGroupSimulationRequest) XXX_Unmarshal(b []byte) error {
47	return xxx_messageInfo_GetAdGroupSimulationRequest.Unmarshal(m, b)
48}
49func (m *GetAdGroupSimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
50	return xxx_messageInfo_GetAdGroupSimulationRequest.Marshal(b, m, deterministic)
51}
52func (m *GetAdGroupSimulationRequest) XXX_Merge(src proto.Message) {
53	xxx_messageInfo_GetAdGroupSimulationRequest.Merge(m, src)
54}
55func (m *GetAdGroupSimulationRequest) XXX_Size() int {
56	return xxx_messageInfo_GetAdGroupSimulationRequest.Size(m)
57}
58func (m *GetAdGroupSimulationRequest) XXX_DiscardUnknown() {
59	xxx_messageInfo_GetAdGroupSimulationRequest.DiscardUnknown(m)
60}
61
62var xxx_messageInfo_GetAdGroupSimulationRequest proto.InternalMessageInfo
63
64func (m *GetAdGroupSimulationRequest) GetResourceName() string {
65	if m != nil {
66		return m.ResourceName
67	}
68	return ""
69}
70
71func init() {
72	proto.RegisterType((*GetAdGroupSimulationRequest)(nil), "google.ads.googleads.v1.services.GetAdGroupSimulationRequest")
73}
74
75func init() {
76	proto.RegisterFile("google/ads/googleads/v1/services/ad_group_simulation_service.proto", fileDescriptor_100c20f45a4ce1f1)
77}
78
79var fileDescriptor_100c20f45a4ce1f1 = []byte{
80	// 388 bytes of a gzipped FileDescriptorProto
81	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x4a, 0xe3, 0x40,
82	0x18, 0x27, 0x59, 0x58, 0xd8, 0xb0, 0x7b, 0x09, 0x0b, 0x5b, 0xd2, 0x15, 0x4a, 0xed, 0x41, 0x7a,
83	0x98, 0x21, 0x5a, 0x3c, 0x4c, 0xed, 0x21, 0xb9, 0xc4, 0x93, 0x94, 0x16, 0x7a, 0x90, 0x40, 0x18,
84	0x93, 0x21, 0x04, 0x92, 0x4c, 0xcc, 0x97, 0xf4, 0x22, 0x5e, 0xd4, 0x37, 0xf0, 0x0d, 0x3c, 0xfa,
85	0x26, 0xf6, 0xea, 0x2b, 0x78, 0xf2, 0x29, 0x24, 0x9d, 0x4c, 0xaa, 0xd6, 0xd8, 0xdb, 0x8f, 0xf9,
86	0xfd, 0x9b, 0xef, 0x9b, 0xd1, 0xec, 0x90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01, 0x0f, 0xaf, 0x8d, 0xee, 0xca, 0xea,
98	0x6c, 0xaa, 0x6a, 0x94, 0x45, 0x80, 0x7c, 0x9e, 0xd8, 0x77, 0xaa, 0x36, 0xf0, 0x79, 0xb2, 0x73,
99	0x2a, 0x7b, 0xaf, 0x6d, 0x57, 0xd3, 0xea, 0x45, 0xa6, 0xca, 0xf9, 0x69, 0x1d, 0x11, 0xf2, 0x98,
100	0xa6, 0x21, 0xe2, 0x79, 0x88, 0x43, 0x96, 0xae, 0xdf, 0x0b, 0x6f, 0x4a, 0xdb, 0x3f, 0xe3, 0x58,
101	0x82, 0x07, 0xf5, 0x87, 0x63, 0x59, 0x8f, 0x6a, 0xcf, 0x11, 0x81, 0x56, 0x00, 0x48, 0xc0, 0x0a,
102	0x2d, 0x4c, 0x54, 0x17, 0xc3, 0x4a, 0x4a, 0x5c, 0x2b, 0x00, 0xb7, 0x91, 0xb8, 0x0b, 0xd3, 0x95,
103	0x92, 0x57, 0x75, 0x20, 0xce, 0x09, 0xb1, 0x02, 0x20, 0xa4, 0x11, 0x11, 0xb2, 0x30, 0x09, 0x91,
104	0xb2, 0x8b, 0x9f, 0xeb, 0x7b, 0x1e, 0xbd, 0x05, 0x00, 0x00, 0xff, 0xff, 0x8d, 0xfe, 0x68, 0x99,
105	0x33, 0x03, 0x00, 0x00,
106}
107
108// Reference imports to suppress errors if they are not otherwise used.
109var _ context.Context
110var _ grpc.ClientConnInterface
111
112// This is a compile-time assertion to ensure that this generated file
113// is compatible with the grpc package it is being compiled against.
114const _ = grpc.SupportPackageIsVersion6
115
116// AdGroupSimulationServiceClient is the client API for AdGroupSimulationService service.
117//
118// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
119type AdGroupSimulationServiceClient interface {
120	// Returns the requested ad group simulation in full detail.
121	GetAdGroupSimulation(ctx context.Context, in *GetAdGroupSimulationRequest, opts ...grpc.CallOption) (*resources.AdGroupSimulation, error)
122}
123
124type adGroupSimulationServiceClient struct {
125	cc grpc.ClientConnInterface
126}
127
128func NewAdGroupSimulationServiceClient(cc grpc.ClientConnInterface) AdGroupSimulationServiceClient {
129	return &adGroupSimulationServiceClient{cc}
130}
131
132func (c *adGroupSimulationServiceClient) GetAdGroupSimulation(ctx context.Context, in *GetAdGroupSimulationRequest, opts ...grpc.CallOption) (*resources.AdGroupSimulation, error) {
133	out := new(resources.AdGroupSimulation)
134	err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.AdGroupSimulationService/GetAdGroupSimulation", in, out, opts...)
135	if err != nil {
136		return nil, err
137	}
138	return out, nil
139}
140
141// AdGroupSimulationServiceServer is the server API for AdGroupSimulationService service.
142type AdGroupSimulationServiceServer interface {
143	// Returns the requested ad group simulation in full detail.
144	GetAdGroupSimulation(context.Context, *GetAdGroupSimulationRequest) (*resources.AdGroupSimulation, error)
145}
146
147// UnimplementedAdGroupSimulationServiceServer can be embedded to have forward compatible implementations.
148type UnimplementedAdGroupSimulationServiceServer struct {
149}
150
151func (*UnimplementedAdGroupSimulationServiceServer) GetAdGroupSimulation(ctx context.Context, req *GetAdGroupSimulationRequest) (*resources.AdGroupSimulation, error) {
152	return nil, status.Errorf(codes.Unimplemented, "method GetAdGroupSimulation not implemented")
153}
154
155func RegisterAdGroupSimulationServiceServer(s *grpc.Server, srv AdGroupSimulationServiceServer) {
156	s.RegisterService(&_AdGroupSimulationService_serviceDesc, srv)
157}
158
159func _AdGroupSimulationService_GetAdGroupSimulation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
160	in := new(GetAdGroupSimulationRequest)
161	if err := dec(in); err != nil {
162		return nil, err
163	}
164	if interceptor == nil {
165		return srv.(AdGroupSimulationServiceServer).GetAdGroupSimulation(ctx, in)
166	}
167	info := &grpc.UnaryServerInfo{
168		Server:     srv,
169		FullMethod: "/google.ads.googleads.v1.services.AdGroupSimulationService/GetAdGroupSimulation",
170	}
171	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
172		return srv.(AdGroupSimulationServiceServer).GetAdGroupSimulation(ctx, req.(*GetAdGroupSimulationRequest))
173	}
174	return interceptor(ctx, in, info, handler)
175}
176
177var _AdGroupSimulationService_serviceDesc = grpc.ServiceDesc{
178	ServiceName: "google.ads.googleads.v1.services.AdGroupSimulationService",
179	HandlerType: (*AdGroupSimulationServiceServer)(nil),
180	Methods: []grpc.MethodDesc{
181		{
182			MethodName: "GetAdGroupSimulation",
183			Handler:    _AdGroupSimulationService_GetAdGroupSimulation_Handler,
184		},
185	},
186	Streams:  []grpc.StreamDesc{},
187	Metadata: "google/ads/googleads/v1/services/ad_group_simulation_service.proto",
188}
189