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/service.proto 18 19 package com.google.cloud.channel.v1; 20 21 public interface CreateCustomerRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CreateCustomerRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The resource name of reseller account in which to create the 31 * customer. Parent uses the format: accounts/{account_id} 32 * </pre> 33 * 34 * <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED];</code> 35 * 36 * @return The parent. 37 */ getParent()38 java.lang.String getParent(); 39 /** 40 * 41 * 42 * <pre> 43 * Required. The resource name of reseller account in which to create the 44 * customer. Parent uses the format: accounts/{account_id} 45 * </pre> 46 * 47 * <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED];</code> 48 * 49 * @return The bytes for parent. 50 */ getParentBytes()51 com.google.protobuf.ByteString getParentBytes(); 52 53 /** 54 * 55 * 56 * <pre> 57 * Required. The customer to create. 58 * </pre> 59 * 60 * <code>.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; 61 * </code> 62 * 63 * @return Whether the customer field is set. 64 */ hasCustomer()65 boolean hasCustomer(); 66 /** 67 * 68 * 69 * <pre> 70 * Required. The customer to create. 71 * </pre> 72 * 73 * <code>.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; 74 * </code> 75 * 76 * @return The customer. 77 */ getCustomer()78 com.google.cloud.channel.v1.Customer getCustomer(); 79 /** 80 * 81 * 82 * <pre> 83 * Required. The customer to create. 84 * </pre> 85 * 86 * <code>.google.cloud.channel.v1.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED]; 87 * </code> 88 */ getCustomerOrBuilder()89 com.google.cloud.channel.v1.CustomerOrBuilder getCustomerOrBuilder(); 90 } 91