...

Source file src/google.golang.org/genproto/googleapis/ccc/hosted/marketplace/v2/services.pb.go

Documentation: google.golang.org/genproto/googleapis/ccc/hosted/marketplace/v2

     1  // Copyright 2024 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.26.0
    18  // 	protoc        v4.24.4
    19  // source: google/apps/market/v2/services.proto
    20  
    21  package marketplace
    22  
    23  import (
    24  	context "context"
    25  	reflect "reflect"
    26  	sync "sync"
    27  
    28  	_ "google.golang.org/genproto/googleapis/api/annotations"
    29  	grpc "google.golang.org/grpc"
    30  	codes "google.golang.org/grpc/codes"
    31  	status "google.golang.org/grpc/status"
    32  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    33  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    34  )
    35  
    36  const (
    37  	// Verify that this generated code is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    39  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    40  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    41  )
    42  
    43  type CustomerLicenseGetRequest struct {
    44  	state         protoimpl.MessageState
    45  	sizeCache     protoimpl.SizeCache
    46  	unknownFields protoimpl.UnknownFields
    47  
    48  	// Application Id
    49  	ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
    50  	// Customer Id
    51  	CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
    52  }
    53  
    54  func (x *CustomerLicenseGetRequest) Reset() {
    55  	*x = CustomerLicenseGetRequest{}
    56  	if protoimpl.UnsafeEnabled {
    57  		mi := &file_google_apps_market_v2_services_proto_msgTypes[0]
    58  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    59  		ms.StoreMessageInfo(mi)
    60  	}
    61  }
    62  
    63  func (x *CustomerLicenseGetRequest) String() string {
    64  	return protoimpl.X.MessageStringOf(x)
    65  }
    66  
    67  func (*CustomerLicenseGetRequest) ProtoMessage() {}
    68  
    69  func (x *CustomerLicenseGetRequest) ProtoReflect() protoreflect.Message {
    70  	mi := &file_google_apps_market_v2_services_proto_msgTypes[0]
    71  	if protoimpl.UnsafeEnabled && x != nil {
    72  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    73  		if ms.LoadMessageInfo() == nil {
    74  			ms.StoreMessageInfo(mi)
    75  		}
    76  		return ms
    77  	}
    78  	return mi.MessageOf(x)
    79  }
    80  
    81  // Deprecated: Use CustomerLicenseGetRequest.ProtoReflect.Descriptor instead.
    82  func (*CustomerLicenseGetRequest) Descriptor() ([]byte, []int) {
    83  	return file_google_apps_market_v2_services_proto_rawDescGZIP(), []int{0}
    84  }
    85  
    86  func (x *CustomerLicenseGetRequest) GetApplicationId() string {
    87  	if x != nil {
    88  		return x.ApplicationId
    89  	}
    90  	return ""
    91  }
    92  
    93  func (x *CustomerLicenseGetRequest) GetCustomerId() string {
    94  	if x != nil {
    95  		return x.CustomerId
    96  	}
    97  	return ""
    98  }
    99  
   100  type LicenseNotificationListRequest struct {
   101  	state         protoimpl.MessageState
   102  	sizeCache     protoimpl.SizeCache
   103  	unknownFields protoimpl.UnknownFields
   104  
   105  	// Application Id
   106  	ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
   107  	MaxResults    uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
   108  	StartToken    string `protobuf:"bytes,3,opt,name=start_token,json=startToken,proto3" json:"start_token,omitempty"`
   109  	// Timestamp in milliseconds since epoch
   110  	Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
   111  }
   112  
   113  func (x *LicenseNotificationListRequest) Reset() {
   114  	*x = LicenseNotificationListRequest{}
   115  	if protoimpl.UnsafeEnabled {
   116  		mi := &file_google_apps_market_v2_services_proto_msgTypes[1]
   117  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   118  		ms.StoreMessageInfo(mi)
   119  	}
   120  }
   121  
   122  func (x *LicenseNotificationListRequest) String() string {
   123  	return protoimpl.X.MessageStringOf(x)
   124  }
   125  
   126  func (*LicenseNotificationListRequest) ProtoMessage() {}
   127  
   128  func (x *LicenseNotificationListRequest) ProtoReflect() protoreflect.Message {
   129  	mi := &file_google_apps_market_v2_services_proto_msgTypes[1]
   130  	if protoimpl.UnsafeEnabled && x != nil {
   131  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   132  		if ms.LoadMessageInfo() == nil {
   133  			ms.StoreMessageInfo(mi)
   134  		}
   135  		return ms
   136  	}
   137  	return mi.MessageOf(x)
   138  }
   139  
   140  // Deprecated: Use LicenseNotificationListRequest.ProtoReflect.Descriptor instead.
   141  func (*LicenseNotificationListRequest) Descriptor() ([]byte, []int) {
   142  	return file_google_apps_market_v2_services_proto_rawDescGZIP(), []int{1}
   143  }
   144  
   145  func (x *LicenseNotificationListRequest) GetApplicationId() string {
   146  	if x != nil {
   147  		return x.ApplicationId
   148  	}
   149  	return ""
   150  }
   151  
   152  func (x *LicenseNotificationListRequest) GetMaxResults() uint32 {
   153  	if x != nil {
   154  		return x.MaxResults
   155  	}
   156  	return 0
   157  }
   158  
   159  func (x *LicenseNotificationListRequest) GetStartToken() string {
   160  	if x != nil {
   161  		return x.StartToken
   162  	}
   163  	return ""
   164  }
   165  
   166  func (x *LicenseNotificationListRequest) GetTimestamp() uint64 {
   167  	if x != nil {
   168  		return x.Timestamp
   169  	}
   170  	return 0
   171  }
   172  
   173  type UserLicenseGetRequest struct {
   174  	state         protoimpl.MessageState
   175  	sizeCache     protoimpl.SizeCache
   176  	unknownFields protoimpl.UnknownFields
   177  
   178  	// Application Id
   179  	ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
   180  	// User Id
   181  	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
   182  }
   183  
   184  func (x *UserLicenseGetRequest) Reset() {
   185  	*x = UserLicenseGetRequest{}
   186  	if protoimpl.UnsafeEnabled {
   187  		mi := &file_google_apps_market_v2_services_proto_msgTypes[2]
   188  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   189  		ms.StoreMessageInfo(mi)
   190  	}
   191  }
   192  
   193  func (x *UserLicenseGetRequest) String() string {
   194  	return protoimpl.X.MessageStringOf(x)
   195  }
   196  
   197  func (*UserLicenseGetRequest) ProtoMessage() {}
   198  
   199  func (x *UserLicenseGetRequest) ProtoReflect() protoreflect.Message {
   200  	mi := &file_google_apps_market_v2_services_proto_msgTypes[2]
   201  	if protoimpl.UnsafeEnabled && x != nil {
   202  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   203  		if ms.LoadMessageInfo() == nil {
   204  			ms.StoreMessageInfo(mi)
   205  		}
   206  		return ms
   207  	}
   208  	return mi.MessageOf(x)
   209  }
   210  
   211  // Deprecated: Use UserLicenseGetRequest.ProtoReflect.Descriptor instead.
   212  func (*UserLicenseGetRequest) Descriptor() ([]byte, []int) {
   213  	return file_google_apps_market_v2_services_proto_rawDescGZIP(), []int{2}
   214  }
   215  
   216  func (x *UserLicenseGetRequest) GetApplicationId() string {
   217  	if x != nil {
   218  		return x.ApplicationId
   219  	}
   220  	return ""
   221  }
   222  
   223  func (x *UserLicenseGetRequest) GetUserId() string {
   224  	if x != nil {
   225  		return x.UserId
   226  	}
   227  	return ""
   228  }
   229  
   230  var File_google_apps_market_v2_services_proto protoreflect.FileDescriptor
   231  
   232  var file_google_apps_market_v2_services_proto_rawDesc = []byte{
   233  	0x0a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x6d, 0x61,
   234  	0x72, 0x6b, 0x65, 0x74, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73,
   235  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x63, 0x63, 0x63, 0x2e, 0x68, 0x6f, 0x73, 0x74,
   236  	0x65, 0x64, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76,
   237  	0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
   238  	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   239  	0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x6d, 0x61, 0x72,
   240  	0x6b, 0x65, 0x74, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
   241  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
   242  	0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   243  	0x63, 0x0a, 0x19, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4c, 0x69, 0x63, 0x65, 0x6e,
   244  	0x73, 0x65, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e,
   245  	0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01,
   246  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
   247  	0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f,
   248  	0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
   249  	0x65, 0x72, 0x49, 0x64, 0x22, 0xa7, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65,
   250  	0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74,
   251  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69,
   252  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   253  	0x0d, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f,
   254  	0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20,
   255  	0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12,
   256  	0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03,
   257  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
   258  	0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20,
   259  	0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x57,
   260  	0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x47, 0x65, 0x74,
   261  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69,
   262  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   263  	0x0d, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17,
   264  	0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   265  	0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x32, 0xa1, 0x02, 0x0a, 0x16, 0x43, 0x75, 0x73, 0x74,
   266  	0x6f, 0x6d, 0x65, 0x72, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69,
   267  	0x63, 0x65, 0x12, 0xae, 0x01, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x63,
   268  	0x2e, 0x68, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c,
   269  	0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4c,
   270  	0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   271  	0x1a, 0x2a, 0x2e, 0x63, 0x63, 0x63, 0x2e, 0x68, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x2e, 0x6d, 0x61,
   272  	0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x75, 0x73,
   273  	0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x22, 0x45, 0x82, 0xd3,
   274  	0xe4, 0x93, 0x02, 0x3f, 0x12, 0x3d, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x6d, 0x61, 0x72, 0x6b, 0x65,
   275  	0x74, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4c, 0x69, 0x63,
   276  	0x65, 0x6e, 0x73, 0x65, 0x2f, 0x7b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
   277  	0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f,
   278  	0x69, 0x64, 0x7d, 0x1a, 0x56, 0xca, 0x41, 0x19, 0x61, 0x70, 0x70, 0x73, 0x6d, 0x61, 0x72, 0x6b,
   279  	0x65, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
   280  	0x6d, 0xd2, 0x41, 0x37, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e,
   281  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
   282  	0x75, 0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c,
   283  	0x61, 0x63, 0x65, 0x2e, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x32, 0xac, 0x02, 0x0a, 0x1a,
   284  	0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
   285  	0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb5, 0x01, 0x0a, 0x04, 0x4c,
   286  	0x69, 0x73, 0x74, 0x12, 0x39, 0x2e, 0x63, 0x63, 0x63, 0x2e, 0x68, 0x6f, 0x73, 0x74, 0x65, 0x64,
   287  	0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e,
   288  	0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
   289  	0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32,
   290  	0x2e, 0x63, 0x63, 0x63, 0x2e, 0x68, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x2e, 0x6d, 0x61, 0x72, 0x6b,
   291  	0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x63, 0x65, 0x6e,
   292  	0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69,
   293  	0x73, 0x74, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x12, 0x33, 0x2f, 0x61, 0x70, 0x70,
   294  	0x73, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x69, 0x63, 0x65, 0x6e,
   295  	0x73, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b,
   296  	0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x3a,
   297  	0x01, 0x2a, 0x1a, 0x56, 0xca, 0x41, 0x19, 0x61, 0x70, 0x70, 0x73, 0x6d, 0x61, 0x72, 0x6b, 0x65,
   298  	0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
   299  	0xd2, 0x41, 0x37, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67,
   300  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75,
   301  	0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61,
   302  	0x63, 0x65, 0x2e, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x32, 0x8d, 0x02, 0x0a, 0x12, 0x55,
   303  	0x73, 0x65, 0x72, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
   304  	0x65, 0x12, 0x9e, 0x01, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x30, 0x2e, 0x63, 0x63, 0x63, 0x2e,
   305  	0x68, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61,
   306  	0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73,
   307  	0x65, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x63,
   308  	0x63, 0x2e, 0x68, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70,
   309  	0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x63, 0x65,
   310  	0x6e, 0x73, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x61, 0x70,
   311  	0x70, 0x73, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x2f, 0x76, 0x32, 0x2f, 0x75, 0x73, 0x65, 0x72,
   312  	0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x2f, 0x7b, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61,
   313  	0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
   314  	0x64, 0x7d, 0x1a, 0x56, 0xca, 0x41, 0x19, 0x61, 0x70, 0x70, 0x73, 0x6d, 0x61, 0x72, 0x6b, 0x65,
   315  	0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
   316  	0xd2, 0x41, 0x37, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67,
   317  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75,
   318  	0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61,
   319  	0x63, 0x65, 0x2e, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x42, 0x9b, 0x01, 0x0a, 0x24, 0x63,
   320  	0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x63, 0x63, 0x2e, 0x68, 0x6f,
   321  	0x73, 0x74, 0x65, 0x64, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65,
   322  	0x2e, 0x76, 0x32, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74,
   323  	0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
   324  	0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
   325  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x63, 0x63, 0x2f, 0x68,
   326  	0x6f, 0x73, 0x74, 0x65, 0x64, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63,
   327  	0x65, 0x2f, 0x76, 0x32, 0x3b, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65,
   328  	0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x70, 0x70, 0x73, 0x5c, 0x4d,
   329  	0x61, 0x72, 0x6b, 0x65, 0x74, 0x5c, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   330  }
   331  
   332  var (
   333  	file_google_apps_market_v2_services_proto_rawDescOnce sync.Once
   334  	file_google_apps_market_v2_services_proto_rawDescData = file_google_apps_market_v2_services_proto_rawDesc
   335  )
   336  
   337  func file_google_apps_market_v2_services_proto_rawDescGZIP() []byte {
   338  	file_google_apps_market_v2_services_proto_rawDescOnce.Do(func() {
   339  		file_google_apps_market_v2_services_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_market_v2_services_proto_rawDescData)
   340  	})
   341  	return file_google_apps_market_v2_services_proto_rawDescData
   342  }
   343  
   344  var file_google_apps_market_v2_services_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   345  var file_google_apps_market_v2_services_proto_goTypes = []interface{}{
   346  	(*CustomerLicenseGetRequest)(nil),      // 0: ccc.hosted.marketplace.v2.CustomerLicenseGetRequest
   347  	(*LicenseNotificationListRequest)(nil), // 1: ccc.hosted.marketplace.v2.LicenseNotificationListRequest
   348  	(*UserLicenseGetRequest)(nil),          // 2: ccc.hosted.marketplace.v2.UserLicenseGetRequest
   349  	(*CustomerLicense)(nil),                // 3: ccc.hosted.marketplace.v2.CustomerLicense
   350  	(*LicenseNotificationList)(nil),        // 4: ccc.hosted.marketplace.v2.LicenseNotificationList
   351  	(*UserLicense)(nil),                    // 5: ccc.hosted.marketplace.v2.UserLicense
   352  }
   353  var file_google_apps_market_v2_services_proto_depIdxs = []int32{
   354  	0, // 0: ccc.hosted.marketplace.v2.CustomerLicenseService.Get:input_type -> ccc.hosted.marketplace.v2.CustomerLicenseGetRequest
   355  	1, // 1: ccc.hosted.marketplace.v2.LicenseNotificationService.List:input_type -> ccc.hosted.marketplace.v2.LicenseNotificationListRequest
   356  	2, // 2: ccc.hosted.marketplace.v2.UserLicenseService.Get:input_type -> ccc.hosted.marketplace.v2.UserLicenseGetRequest
   357  	3, // 3: ccc.hosted.marketplace.v2.CustomerLicenseService.Get:output_type -> ccc.hosted.marketplace.v2.CustomerLicense
   358  	4, // 4: ccc.hosted.marketplace.v2.LicenseNotificationService.List:output_type -> ccc.hosted.marketplace.v2.LicenseNotificationList
   359  	5, // 5: ccc.hosted.marketplace.v2.UserLicenseService.Get:output_type -> ccc.hosted.marketplace.v2.UserLicense
   360  	3, // [3:6] is the sub-list for method output_type
   361  	0, // [0:3] is the sub-list for method input_type
   362  	0, // [0:0] is the sub-list for extension type_name
   363  	0, // [0:0] is the sub-list for extension extendee
   364  	0, // [0:0] is the sub-list for field type_name
   365  }
   366  
   367  func init() { file_google_apps_market_v2_services_proto_init() }
   368  func file_google_apps_market_v2_services_proto_init() {
   369  	if File_google_apps_market_v2_services_proto != nil {
   370  		return
   371  	}
   372  	file_google_apps_market_v2_resources_proto_init()
   373  	if !protoimpl.UnsafeEnabled {
   374  		file_google_apps_market_v2_services_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   375  			switch v := v.(*CustomerLicenseGetRequest); i {
   376  			case 0:
   377  				return &v.state
   378  			case 1:
   379  				return &v.sizeCache
   380  			case 2:
   381  				return &v.unknownFields
   382  			default:
   383  				return nil
   384  			}
   385  		}
   386  		file_google_apps_market_v2_services_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   387  			switch v := v.(*LicenseNotificationListRequest); i {
   388  			case 0:
   389  				return &v.state
   390  			case 1:
   391  				return &v.sizeCache
   392  			case 2:
   393  				return &v.unknownFields
   394  			default:
   395  				return nil
   396  			}
   397  		}
   398  		file_google_apps_market_v2_services_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   399  			switch v := v.(*UserLicenseGetRequest); i {
   400  			case 0:
   401  				return &v.state
   402  			case 1:
   403  				return &v.sizeCache
   404  			case 2:
   405  				return &v.unknownFields
   406  			default:
   407  				return nil
   408  			}
   409  		}
   410  	}
   411  	type x struct{}
   412  	out := protoimpl.TypeBuilder{
   413  		File: protoimpl.DescBuilder{
   414  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   415  			RawDescriptor: file_google_apps_market_v2_services_proto_rawDesc,
   416  			NumEnums:      0,
   417  			NumMessages:   3,
   418  			NumExtensions: 0,
   419  			NumServices:   3,
   420  		},
   421  		GoTypes:           file_google_apps_market_v2_services_proto_goTypes,
   422  		DependencyIndexes: file_google_apps_market_v2_services_proto_depIdxs,
   423  		MessageInfos:      file_google_apps_market_v2_services_proto_msgTypes,
   424  	}.Build()
   425  	File_google_apps_market_v2_services_proto = out.File
   426  	file_google_apps_market_v2_services_proto_rawDesc = nil
   427  	file_google_apps_market_v2_services_proto_goTypes = nil
   428  	file_google_apps_market_v2_services_proto_depIdxs = nil
   429  }
   430  
   431  // Reference imports to suppress errors if they are not otherwise used.
   432  var _ context.Context
   433  var _ grpc.ClientConnInterface
   434  
   435  // This is a compile-time assertion to ensure that this generated file
   436  // is compatible with the grpc package it is being compiled against.
   437  const _ = grpc.SupportPackageIsVersion6
   438  
   439  // CustomerLicenseServiceClient is the client API for CustomerLicenseService service.
   440  //
   441  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   442  type CustomerLicenseServiceClient interface {
   443  	// Get the status of a license for a customer to determine if they have access
   444  	// for a given app.
   445  	Get(ctx context.Context, in *CustomerLicenseGetRequest, opts ...grpc.CallOption) (*CustomerLicense, error)
   446  }
   447  
   448  type customerLicenseServiceClient struct {
   449  	cc grpc.ClientConnInterface
   450  }
   451  
   452  func NewCustomerLicenseServiceClient(cc grpc.ClientConnInterface) CustomerLicenseServiceClient {
   453  	return &customerLicenseServiceClient{cc}
   454  }
   455  
   456  func (c *customerLicenseServiceClient) Get(ctx context.Context, in *CustomerLicenseGetRequest, opts ...grpc.CallOption) (*CustomerLicense, error) {
   457  	out := new(CustomerLicense)
   458  	err := c.cc.Invoke(ctx, "/ccc.hosted.marketplace.v2.CustomerLicenseService/Get", in, out, opts...)
   459  	if err != nil {
   460  		return nil, err
   461  	}
   462  	return out, nil
   463  }
   464  
   465  // CustomerLicenseServiceServer is the server API for CustomerLicenseService service.
   466  type CustomerLicenseServiceServer interface {
   467  	// Get the status of a license for a customer to determine if they have access
   468  	// for a given app.
   469  	Get(context.Context, *CustomerLicenseGetRequest) (*CustomerLicense, error)
   470  }
   471  
   472  // UnimplementedCustomerLicenseServiceServer can be embedded to have forward compatible implementations.
   473  type UnimplementedCustomerLicenseServiceServer struct {
   474  }
   475  
   476  func (*UnimplementedCustomerLicenseServiceServer) Get(context.Context, *CustomerLicenseGetRequest) (*CustomerLicense, error) {
   477  	return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
   478  }
   479  
   480  func RegisterCustomerLicenseServiceServer(s *grpc.Server, srv CustomerLicenseServiceServer) {
   481  	s.RegisterService(&_CustomerLicenseService_serviceDesc, srv)
   482  }
   483  
   484  func _CustomerLicenseService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   485  	in := new(CustomerLicenseGetRequest)
   486  	if err := dec(in); err != nil {
   487  		return nil, err
   488  	}
   489  	if interceptor == nil {
   490  		return srv.(CustomerLicenseServiceServer).Get(ctx, in)
   491  	}
   492  	info := &grpc.UnaryServerInfo{
   493  		Server:     srv,
   494  		FullMethod: "/ccc.hosted.marketplace.v2.CustomerLicenseService/Get",
   495  	}
   496  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   497  		return srv.(CustomerLicenseServiceServer).Get(ctx, req.(*CustomerLicenseGetRequest))
   498  	}
   499  	return interceptor(ctx, in, info, handler)
   500  }
   501  
   502  var _CustomerLicenseService_serviceDesc = grpc.ServiceDesc{
   503  	ServiceName: "ccc.hosted.marketplace.v2.CustomerLicenseService",
   504  	HandlerType: (*CustomerLicenseServiceServer)(nil),
   505  	Methods: []grpc.MethodDesc{
   506  		{
   507  			MethodName: "Get",
   508  			Handler:    _CustomerLicenseService_Get_Handler,
   509  		},
   510  	},
   511  	Streams:  []grpc.StreamDesc{},
   512  	Metadata: "google/apps/market/v2/services.proto",
   513  }
   514  
   515  // LicenseNotificationServiceClient is the client API for LicenseNotificationService service.
   516  //
   517  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   518  type LicenseNotificationServiceClient interface {
   519  	// Get a list of licensing notifications with regards to a given app.
   520  	List(ctx context.Context, in *LicenseNotificationListRequest, opts ...grpc.CallOption) (*LicenseNotificationList, error)
   521  }
   522  
   523  type licenseNotificationServiceClient struct {
   524  	cc grpc.ClientConnInterface
   525  }
   526  
   527  func NewLicenseNotificationServiceClient(cc grpc.ClientConnInterface) LicenseNotificationServiceClient {
   528  	return &licenseNotificationServiceClient{cc}
   529  }
   530  
   531  func (c *licenseNotificationServiceClient) List(ctx context.Context, in *LicenseNotificationListRequest, opts ...grpc.CallOption) (*LicenseNotificationList, error) {
   532  	out := new(LicenseNotificationList)
   533  	err := c.cc.Invoke(ctx, "/ccc.hosted.marketplace.v2.LicenseNotificationService/List", in, out, opts...)
   534  	if err != nil {
   535  		return nil, err
   536  	}
   537  	return out, nil
   538  }
   539  
   540  // LicenseNotificationServiceServer is the server API for LicenseNotificationService service.
   541  type LicenseNotificationServiceServer interface {
   542  	// Get a list of licensing notifications with regards to a given app.
   543  	List(context.Context, *LicenseNotificationListRequest) (*LicenseNotificationList, error)
   544  }
   545  
   546  // UnimplementedLicenseNotificationServiceServer can be embedded to have forward compatible implementations.
   547  type UnimplementedLicenseNotificationServiceServer struct {
   548  }
   549  
   550  func (*UnimplementedLicenseNotificationServiceServer) List(context.Context, *LicenseNotificationListRequest) (*LicenseNotificationList, error) {
   551  	return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
   552  }
   553  
   554  func RegisterLicenseNotificationServiceServer(s *grpc.Server, srv LicenseNotificationServiceServer) {
   555  	s.RegisterService(&_LicenseNotificationService_serviceDesc, srv)
   556  }
   557  
   558  func _LicenseNotificationService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   559  	in := new(LicenseNotificationListRequest)
   560  	if err := dec(in); err != nil {
   561  		return nil, err
   562  	}
   563  	if interceptor == nil {
   564  		return srv.(LicenseNotificationServiceServer).List(ctx, in)
   565  	}
   566  	info := &grpc.UnaryServerInfo{
   567  		Server:     srv,
   568  		FullMethod: "/ccc.hosted.marketplace.v2.LicenseNotificationService/List",
   569  	}
   570  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   571  		return srv.(LicenseNotificationServiceServer).List(ctx, req.(*LicenseNotificationListRequest))
   572  	}
   573  	return interceptor(ctx, in, info, handler)
   574  }
   575  
   576  var _LicenseNotificationService_serviceDesc = grpc.ServiceDesc{
   577  	ServiceName: "ccc.hosted.marketplace.v2.LicenseNotificationService",
   578  	HandlerType: (*LicenseNotificationServiceServer)(nil),
   579  	Methods: []grpc.MethodDesc{
   580  		{
   581  			MethodName: "List",
   582  			Handler:    _LicenseNotificationService_List_Handler,
   583  		},
   584  	},
   585  	Streams:  []grpc.StreamDesc{},
   586  	Metadata: "google/apps/market/v2/services.proto",
   587  }
   588  
   589  // UserLicenseServiceClient is the client API for UserLicenseService service.
   590  //
   591  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   592  type UserLicenseServiceClient interface {
   593  	// Get the user's licensing status for their permission to use a given app.
   594  	Get(ctx context.Context, in *UserLicenseGetRequest, opts ...grpc.CallOption) (*UserLicense, error)
   595  }
   596  
   597  type userLicenseServiceClient struct {
   598  	cc grpc.ClientConnInterface
   599  }
   600  
   601  func NewUserLicenseServiceClient(cc grpc.ClientConnInterface) UserLicenseServiceClient {
   602  	return &userLicenseServiceClient{cc}
   603  }
   604  
   605  func (c *userLicenseServiceClient) Get(ctx context.Context, in *UserLicenseGetRequest, opts ...grpc.CallOption) (*UserLicense, error) {
   606  	out := new(UserLicense)
   607  	err := c.cc.Invoke(ctx, "/ccc.hosted.marketplace.v2.UserLicenseService/Get", in, out, opts...)
   608  	if err != nil {
   609  		return nil, err
   610  	}
   611  	return out, nil
   612  }
   613  
   614  // UserLicenseServiceServer is the server API for UserLicenseService service.
   615  type UserLicenseServiceServer interface {
   616  	// Get the user's licensing status for their permission to use a given app.
   617  	Get(context.Context, *UserLicenseGetRequest) (*UserLicense, error)
   618  }
   619  
   620  // UnimplementedUserLicenseServiceServer can be embedded to have forward compatible implementations.
   621  type UnimplementedUserLicenseServiceServer struct {
   622  }
   623  
   624  func (*UnimplementedUserLicenseServiceServer) Get(context.Context, *UserLicenseGetRequest) (*UserLicense, error) {
   625  	return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
   626  }
   627  
   628  func RegisterUserLicenseServiceServer(s *grpc.Server, srv UserLicenseServiceServer) {
   629  	s.RegisterService(&_UserLicenseService_serviceDesc, srv)
   630  }
   631  
   632  func _UserLicenseService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   633  	in := new(UserLicenseGetRequest)
   634  	if err := dec(in); err != nil {
   635  		return nil, err
   636  	}
   637  	if interceptor == nil {
   638  		return srv.(UserLicenseServiceServer).Get(ctx, in)
   639  	}
   640  	info := &grpc.UnaryServerInfo{
   641  		Server:     srv,
   642  		FullMethod: "/ccc.hosted.marketplace.v2.UserLicenseService/Get",
   643  	}
   644  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   645  		return srv.(UserLicenseServiceServer).Get(ctx, req.(*UserLicenseGetRequest))
   646  	}
   647  	return interceptor(ctx, in, info, handler)
   648  }
   649  
   650  var _UserLicenseService_serviceDesc = grpc.ServiceDesc{
   651  	ServiceName: "ccc.hosted.marketplace.v2.UserLicenseService",
   652  	HandlerType: (*UserLicenseServiceServer)(nil),
   653  	Methods: []grpc.MethodDesc{
   654  		{
   655  			MethodName: "Get",
   656  			Handler:    _UserLicenseService_Get_Handler,
   657  		},
   658  	},
   659  	Streams:  []grpc.StreamDesc{},
   660  	Metadata: "google/apps/market/v2/services.proto",
   661  }
   662  

View as plain text