• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/customers.proto
18 
19 package com.google.cloud.channel.v1;
20 
21 public interface CustomerOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Customer)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. Resource name of the customer.
31    * Format: accounts/{account_id}/customers/{customer_id}
32    * </pre>
33    *
34    * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
35    *
36    * @return The name.
37    */
getName()38   java.lang.String getName();
39   /**
40    *
41    *
42    * <pre>
43    * Output only. Resource name of the customer.
44    * Format: accounts/{account_id}/customers/{customer_id}
45    * </pre>
46    *
47    * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
48    *
49    * @return The bytes for name.
50    */
getNameBytes()51   com.google.protobuf.ByteString getNameBytes();
52 
53   /**
54    *
55    *
56    * <pre>
57    * Required. Name of the organization that the customer entity represents.
58    * </pre>
59    *
60    * <code>string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code>
61    *
62    * @return The orgDisplayName.
63    */
getOrgDisplayName()64   java.lang.String getOrgDisplayName();
65   /**
66    *
67    *
68    * <pre>
69    * Required. Name of the organization that the customer entity represents.
70    * </pre>
71    *
72    * <code>string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code>
73    *
74    * @return The bytes for orgDisplayName.
75    */
getOrgDisplayNameBytes()76   com.google.protobuf.ByteString getOrgDisplayNameBytes();
77 
78   /**
79    *
80    *
81    * <pre>
82    * Required. The organization address for the customer. To enforce US laws and
83    * embargoes, we require a region and zip code. You must provide valid
84    * addresses for every customer. To set the customer's language, use the
85    * Customer-level language code.
86    * </pre>
87    *
88    * <code>
89    * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
90    * </code>
91    *
92    * @return Whether the orgPostalAddress field is set.
93    */
hasOrgPostalAddress()94   boolean hasOrgPostalAddress();
95   /**
96    *
97    *
98    * <pre>
99    * Required. The organization address for the customer. To enforce US laws and
100    * embargoes, we require a region and zip code. You must provide valid
101    * addresses for every customer. To set the customer's language, use the
102    * Customer-level language code.
103    * </pre>
104    *
105    * <code>
106    * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
107    * </code>
108    *
109    * @return The orgPostalAddress.
110    */
getOrgPostalAddress()111   com.google.type.PostalAddress getOrgPostalAddress();
112   /**
113    *
114    *
115    * <pre>
116    * Required. The organization address for the customer. To enforce US laws and
117    * embargoes, we require a region and zip code. You must provide valid
118    * addresses for every customer. To set the customer's language, use the
119    * Customer-level language code.
120    * </pre>
121    *
122    * <code>
123    * .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
124    * </code>
125    */
getOrgPostalAddressOrBuilder()126   com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder();
127 
128   /**
129    *
130    *
131    * <pre>
132    * Primary contact info.
133    * </pre>
134    *
135    * <code>.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;</code>
136    *
137    * @return Whether the primaryContactInfo field is set.
138    */
hasPrimaryContactInfo()139   boolean hasPrimaryContactInfo();
140   /**
141    *
142    *
143    * <pre>
144    * Primary contact info.
145    * </pre>
146    *
147    * <code>.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;</code>
148    *
149    * @return The primaryContactInfo.
150    */
getPrimaryContactInfo()151   com.google.cloud.channel.v1.ContactInfo getPrimaryContactInfo();
152   /**
153    *
154    *
155    * <pre>
156    * Primary contact info.
157    * </pre>
158    *
159    * <code>.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;</code>
160    */
getPrimaryContactInfoOrBuilder()161   com.google.cloud.channel.v1.ContactInfoOrBuilder getPrimaryContactInfoOrBuilder();
162 
163   /**
164    *
165    *
166    * <pre>
167    * Secondary contact email. You need to provide an alternate email to create
168    * different domains if a primary contact email already exists. Users will
169    * receive a notification with credentials when you create an admin.google.com
170    * account. Secondary emails are also recovery email addresses. Alternate
171    * emails are optional when you create Team customers.
172    * </pre>
173    *
174    * <code>string alternate_email = 5;</code>
175    *
176    * @return The alternateEmail.
177    */
getAlternateEmail()178   java.lang.String getAlternateEmail();
179   /**
180    *
181    *
182    * <pre>
183    * Secondary contact email. You need to provide an alternate email to create
184    * different domains if a primary contact email already exists. Users will
185    * receive a notification with credentials when you create an admin.google.com
186    * account. Secondary emails are also recovery email addresses. Alternate
187    * emails are optional when you create Team customers.
188    * </pre>
189    *
190    * <code>string alternate_email = 5;</code>
191    *
192    * @return The bytes for alternateEmail.
193    */
getAlternateEmailBytes()194   com.google.protobuf.ByteString getAlternateEmailBytes();
195 
196   /**
197    *
198    *
199    * <pre>
200    * Required. The customer's primary domain. Must match the primary contact
201    * email's domain.
202    * </pre>
203    *
204    * <code>string domain = 6 [(.google.api.field_behavior) = REQUIRED];</code>
205    *
206    * @return The domain.
207    */
getDomain()208   java.lang.String getDomain();
209   /**
210    *
211    *
212    * <pre>
213    * Required. The customer's primary domain. Must match the primary contact
214    * email's domain.
215    * </pre>
216    *
217    * <code>string domain = 6 [(.google.api.field_behavior) = REQUIRED];</code>
218    *
219    * @return The bytes for domain.
220    */
getDomainBytes()221   com.google.protobuf.ByteString getDomainBytes();
222 
223   /**
224    *
225    *
226    * <pre>
227    * Output only. Time when the customer was created.
228    * </pre>
229    *
230    * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
231    * </code>
232    *
233    * @return Whether the createTime field is set.
234    */
hasCreateTime()235   boolean hasCreateTime();
236   /**
237    *
238    *
239    * <pre>
240    * Output only. Time when the customer was created.
241    * </pre>
242    *
243    * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
244    * </code>
245    *
246    * @return The createTime.
247    */
getCreateTime()248   com.google.protobuf.Timestamp getCreateTime();
249   /**
250    *
251    *
252    * <pre>
253    * Output only. Time when the customer was created.
254    * </pre>
255    *
256    * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
257    * </code>
258    */
getCreateTimeOrBuilder()259   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
260 
261   /**
262    *
263    *
264    * <pre>
265    * Output only. Time when the customer was updated.
266    * </pre>
267    *
268    * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
269    * </code>
270    *
271    * @return Whether the updateTime field is set.
272    */
hasUpdateTime()273   boolean hasUpdateTime();
274   /**
275    *
276    *
277    * <pre>
278    * Output only. Time when the customer was updated.
279    * </pre>
280    *
281    * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
282    * </code>
283    *
284    * @return The updateTime.
285    */
getUpdateTime()286   com.google.protobuf.Timestamp getUpdateTime();
287   /**
288    *
289    *
290    * <pre>
291    * Output only. Time when the customer was updated.
292    * </pre>
293    *
294    * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
295    * </code>
296    */
getUpdateTimeOrBuilder()297   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
298 
299   /**
300    *
301    *
302    * <pre>
303    * Output only. The customer's Cloud Identity ID if the customer has a Cloud
304    * Identity resource.
305    * </pre>
306    *
307    * <code>string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
308    *
309    * @return The cloudIdentityId.
310    */
getCloudIdentityId()311   java.lang.String getCloudIdentityId();
312   /**
313    *
314    *
315    * <pre>
316    * Output only. The customer's Cloud Identity ID if the customer has a Cloud
317    * Identity resource.
318    * </pre>
319    *
320    * <code>string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
321    *
322    * @return The bytes for cloudIdentityId.
323    */
getCloudIdentityIdBytes()324   com.google.protobuf.ByteString getCloudIdentityIdBytes();
325 
326   /**
327    *
328    *
329    * <pre>
330    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
331    * information, see
332    * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
333    * </pre>
334    *
335    * <code>string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];</code>
336    *
337    * @return The languageCode.
338    */
getLanguageCode()339   java.lang.String getLanguageCode();
340   /**
341    *
342    *
343    * <pre>
344    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
345    * information, see
346    * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
347    * </pre>
348    *
349    * <code>string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];</code>
350    *
351    * @return The bytes for languageCode.
352    */
getLanguageCodeBytes()353   com.google.protobuf.ByteString getLanguageCodeBytes();
354 
355   /**
356    *
357    *
358    * <pre>
359    * Output only. Cloud Identity information for the customer.
360    * Populated only if a Cloud Identity account exists for this customer.
361    * </pre>
362    *
363    * <code>
364    * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
365    * </code>
366    *
367    * @return Whether the cloudIdentityInfo field is set.
368    */
hasCloudIdentityInfo()369   boolean hasCloudIdentityInfo();
370   /**
371    *
372    *
373    * <pre>
374    * Output only. Cloud Identity information for the customer.
375    * Populated only if a Cloud Identity account exists for this customer.
376    * </pre>
377    *
378    * <code>
379    * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
380    * </code>
381    *
382    * @return The cloudIdentityInfo.
383    */
getCloudIdentityInfo()384   com.google.cloud.channel.v1.CloudIdentityInfo getCloudIdentityInfo();
385   /**
386    *
387    *
388    * <pre>
389    * Output only. Cloud Identity information for the customer.
390    * Populated only if a Cloud Identity account exists for this customer.
391    * </pre>
392    *
393    * <code>
394    * .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
395    * </code>
396    */
getCloudIdentityInfoOrBuilder()397   com.google.cloud.channel.v1.CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder();
398 
399   /**
400    *
401    *
402    * <pre>
403    * Cloud Identity ID of the customer's channel partner.
404    * Populated only if a channel partner exists for this customer.
405    * </pre>
406    *
407    * <code>string channel_partner_id = 13;</code>
408    *
409    * @return The channelPartnerId.
410    */
getChannelPartnerId()411   java.lang.String getChannelPartnerId();
412   /**
413    *
414    *
415    * <pre>
416    * Cloud Identity ID of the customer's channel partner.
417    * Populated only if a channel partner exists for this customer.
418    * </pre>
419    *
420    * <code>string channel_partner_id = 13;</code>
421    *
422    * @return The bytes for channelPartnerId.
423    */
getChannelPartnerIdBytes()424   com.google.protobuf.ByteString getChannelPartnerIdBytes();
425 
426   /**
427    *
428    *
429    * <pre>
430    * Optional. External CRM ID for the customer.
431    * Populated only if a CRM ID exists for this customer.
432    * </pre>
433    *
434    * <code>string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];</code>
435    *
436    * @return The correlationId.
437    */
getCorrelationId()438   java.lang.String getCorrelationId();
439   /**
440    *
441    *
442    * <pre>
443    * Optional. External CRM ID for the customer.
444    * Populated only if a CRM ID exists for this customer.
445    * </pre>
446    *
447    * <code>string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];</code>
448    *
449    * @return The bytes for correlationId.
450    */
getCorrelationIdBytes()451   com.google.protobuf.ByteString getCorrelationIdBytes();
452 }
453