1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v1/services/product_bidding_category_constant_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 31// [ProductBiddingCategoryService.GetProductBiddingCategory][]. 32type GetProductBiddingCategoryConstantRequest struct { 33 // Required. Resource name of the Product Bidding Category to fetch. 34 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 35 XXX_NoUnkeyedLiteral struct{} `json:"-"` 36 XXX_unrecognized []byte `json:"-"` 37 XXX_sizecache int32 `json:"-"` 38} 39 40func (m *GetProductBiddingCategoryConstantRequest) Reset() { 41 *m = GetProductBiddingCategoryConstantRequest{} 42} 43func (m *GetProductBiddingCategoryConstantRequest) String() string { return proto.CompactTextString(m) } 44func (*GetProductBiddingCategoryConstantRequest) ProtoMessage() {} 45func (*GetProductBiddingCategoryConstantRequest) Descriptor() ([]byte, []int) { 46 return fileDescriptor_db720fb3c3f176ea, []int{0} 47} 48 49func (m *GetProductBiddingCategoryConstantRequest) XXX_Unmarshal(b []byte) error { 50 return xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Unmarshal(m, b) 51} 52func (m *GetProductBiddingCategoryConstantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 53 return xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Marshal(b, m, deterministic) 54} 55func (m *GetProductBiddingCategoryConstantRequest) XXX_Merge(src proto.Message) { 56 xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Merge(m, src) 57} 58func (m *GetProductBiddingCategoryConstantRequest) XXX_Size() int { 59 return xxx_messageInfo_GetProductBiddingCategoryConstantRequest.Size(m) 60} 61func (m *GetProductBiddingCategoryConstantRequest) XXX_DiscardUnknown() { 62 xxx_messageInfo_GetProductBiddingCategoryConstantRequest.DiscardUnknown(m) 63} 64 65var xxx_messageInfo_GetProductBiddingCategoryConstantRequest proto.InternalMessageInfo 66 67func (m *GetProductBiddingCategoryConstantRequest) GetResourceName() string { 68 if m != nil { 69 return m.ResourceName 70 } 71 return "" 72} 73 74func init() { 75 proto.RegisterType((*GetProductBiddingCategoryConstantRequest)(nil), "google.ads.googleads.v1.services.GetProductBiddingCategoryConstantRequest") 76} 77 78func init() { 79 proto.RegisterFile("google/ads/googleads/v1/services/product_bidding_category_constant_service.proto", fileDescriptor_db720fb3c3f176ea) 80} 81 82var fileDescriptor_db720fb3c3f176ea = []byte{ 83 // 444 bytes of a gzipped FileDescriptorProto 84 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xb1, 0x8a, 0x14, 0x31, 85 0x1c, 0xc6, 0xd9, 0x08, 0x82, 0x83, 0x36, 0xd3, 0x78, 0xae, 0x82, 0xeb, 0x71, 0xc2, 0x71, 0x45, 86 0xc2, 0x28, 0x72, 0x18, 0x11, 0xc9, 0x5e, 0xb1, 0x2a, 0x28, 0x8b, 0xc2, 0x16, 0xb2, 0x30, 0x64, 87 0x27, 0x31, 0x06, 0x76, 0x92, 0x31, 0xc9, 0x0e, 0x88, 0x58, 0xe8, 0x13, 0x28, 0xbe, 0x81, 0xa5, 88 0x4f, 0x22, 0xd7, 0xda, 0x59, 0x59, 0x58, 0xf9, 0x08, 0x56, 0x32, 0x97, 0x64, 0x6e, 0xb7,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, 0xbd, 0x2c, 0x04, 0x00, 0x00, 112} 113 114// Reference imports to suppress errors if they are not otherwise used. 115var _ context.Context 116var _ grpc.ClientConnInterface 117 118// This is a compile-time assertion to ensure that this generated file 119// is compatible with the grpc package it is being compiled against. 120const _ = grpc.SupportPackageIsVersion6 121 122// ProductBiddingCategoryConstantServiceClient is the client API for ProductBiddingCategoryConstantService service. 123// 124// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 125type ProductBiddingCategoryConstantServiceClient interface { 126 // Returns the requested Product Bidding Category in full detail. 127 GetProductBiddingCategoryConstant(ctx context.Context, in *GetProductBiddingCategoryConstantRequest, opts ...grpc.CallOption) (*resources.ProductBiddingCategoryConstant, error) 128} 129 130type productBiddingCategoryConstantServiceClient struct { 131 cc grpc.ClientConnInterface 132} 133 134func NewProductBiddingCategoryConstantServiceClient(cc grpc.ClientConnInterface) ProductBiddingCategoryConstantServiceClient { 135 return &productBiddingCategoryConstantServiceClient{cc} 136} 137 138func (c *productBiddingCategoryConstantServiceClient) GetProductBiddingCategoryConstant(ctx context.Context, in *GetProductBiddingCategoryConstantRequest, opts ...grpc.CallOption) (*resources.ProductBiddingCategoryConstant, error) { 139 out := new(resources.ProductBiddingCategoryConstant) 140 err := c.cc.Invoke(ctx, "/google.ads.googleads.v1.services.ProductBiddingCategoryConstantService/GetProductBiddingCategoryConstant", in, out, opts...) 141 if err != nil { 142 return nil, err 143 } 144 return out, nil 145} 146 147// ProductBiddingCategoryConstantServiceServer is the server API for ProductBiddingCategoryConstantService service. 148type ProductBiddingCategoryConstantServiceServer interface { 149 // Returns the requested Product Bidding Category in full detail. 150 GetProductBiddingCategoryConstant(context.Context, *GetProductBiddingCategoryConstantRequest) (*resources.ProductBiddingCategoryConstant, error) 151} 152 153// UnimplementedProductBiddingCategoryConstantServiceServer can be embedded to have forward compatible implementations. 154type UnimplementedProductBiddingCategoryConstantServiceServer struct { 155} 156 157func (*UnimplementedProductBiddingCategoryConstantServiceServer) GetProductBiddingCategoryConstant(ctx context.Context, req *GetProductBiddingCategoryConstantRequest) (*resources.ProductBiddingCategoryConstant, error) { 158 return nil, status.Errorf(codes.Unimplemented, "method GetProductBiddingCategoryConstant not implemented") 159} 160 161func RegisterProductBiddingCategoryConstantServiceServer(s *grpc.Server, srv ProductBiddingCategoryConstantServiceServer) { 162 s.RegisterService(&_ProductBiddingCategoryConstantService_serviceDesc, srv) 163} 164 165func _ProductBiddingCategoryConstantService_GetProductBiddingCategoryConstant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 166 in := new(GetProductBiddingCategoryConstantRequest) 167 if err := dec(in); err != nil { 168 return nil, err 169 } 170 if interceptor == nil { 171 return srv.(ProductBiddingCategoryConstantServiceServer).GetProductBiddingCategoryConstant(ctx, in) 172 } 173 info := &grpc.UnaryServerInfo{ 174 Server: srv, 175 FullMethod: "/google.ads.googleads.v1.services.ProductBiddingCategoryConstantService/GetProductBiddingCategoryConstant", 176 } 177 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 178 return srv.(ProductBiddingCategoryConstantServiceServer).GetProductBiddingCategoryConstant(ctx, req.(*GetProductBiddingCategoryConstantRequest)) 179 } 180 return interceptor(ctx, in, info, handler) 181} 182 183var _ProductBiddingCategoryConstantService_serviceDesc = grpc.ServiceDesc{ 184 ServiceName: "google.ads.googleads.v1.services.ProductBiddingCategoryConstantService", 185 HandlerType: (*ProductBiddingCategoryConstantServiceServer)(nil), 186 Methods: []grpc.MethodDesc{ 187 { 188 MethodName: "GetProductBiddingCategoryConstant", 189 Handler: _ProductBiddingCategoryConstantService_GetProductBiddingCategoryConstant_Handler, 190 }, 191 }, 192 Streams: []grpc.StreamDesc{}, 193 Metadata: "google/ads/googleads/v1/services/product_bidding_category_constant_service.proto", 194} 195