1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/channel/v1/subscriber_event.proto 18 19 package com.google.cloud.channel.v1; 20 21 public interface CustomerEventOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CustomerEvent) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Resource name of the customer. 31 * Format: accounts/{account_id}/customers/{customer_id} 32 * </pre> 33 * 34 * <code>string customer = 1 [(.google.api.resource_reference) = { ... }</code> 35 * 36 * @return The customer. 37 */ getCustomer()38 java.lang.String getCustomer(); 39 /** 40 * 41 * 42 * <pre> 43 * Resource name of the customer. 44 * Format: accounts/{account_id}/customers/{customer_id} 45 * </pre> 46 * 47 * <code>string customer = 1 [(.google.api.resource_reference) = { ... }</code> 48 * 49 * @return The bytes for customer. 50 */ getCustomerBytes()51 com.google.protobuf.ByteString getCustomerBytes(); 52 53 /** 54 * 55 * 56 * <pre> 57 * Type of event which happened on the customer. 58 * </pre> 59 * 60 * <code>.google.cloud.channel.v1.CustomerEvent.Type event_type = 2;</code> 61 * 62 * @return The enum numeric value on the wire for eventType. 63 */ getEventTypeValue()64 int getEventTypeValue(); 65 /** 66 * 67 * 68 * <pre> 69 * Type of event which happened on the customer. 70 * </pre> 71 * 72 * <code>.google.cloud.channel.v1.CustomerEvent.Type event_type = 2;</code> 73 * 74 * @return The eventType. 75 */ getEventType()76 com.google.cloud.channel.v1.CustomerEvent.Type getEventType(); 77 } 78