Class ContactInfo (3.36.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.36.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ContactInfo   extends   GeneratedMessageV3   implements   ContactInfoOrBuilder  
   Contact information for a customer account.
 Protobuf type google.cloud.channel.v1.ContactInfo
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   DISPLAY_NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   EMAIL_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   FIRST_NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   LAST_NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   PHONE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   TITLE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   ContactInfo   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   ContactInfo . Builder   newBuilder ()  
  
  
    
public   static   ContactInfo . Builder   newBuilder ( ContactInfo   prototype )  
  
  
  
    
public   static   ContactInfo   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ContactInfo   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ContactInfo   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   ContactInfo   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ContactInfo   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   ContactInfo   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ContactInfo   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ContactInfo   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ContactInfo   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ContactInfo   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ContactInfo   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   ContactInfo   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<ContactInfo>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   ContactInfo   getDefaultInstanceForType ()  
  
  
    
public   String   getDisplayName ()  
   Output only. The customer account contact's display name, formatted as a
 combination of the customer's first and last name.
 string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The displayName.
 
     
  
  
    
public   ByteString   getDisplayNameBytes ()  
   Output only. The customer account contact's display name, formatted as a
 combination of the customer's first and last name.
 string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for displayName.
 
     
  
   The customer account's contact email. Required for entitlements that create
 admin.google.com accounts, and serves as the customer's username for those
 accounts. Use this email to invite Team customers.
 string email = 5;
    
      
        Returns  
      
        Type Description  
      
        String The email.
 
     
  
  
    
public   ByteString   getEmailBytes ()  
   The customer account's contact email. Required for entitlements that create
 admin.google.com accounts, and serves as the customer's username for those
 accounts. Use this email to invite Team customers.
 string email = 5;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for email.
 
     
  
  
    
public   String   getFirstName ()  
   The customer account contact's first name. Optional for Team customers.
 string first_name = 1;
    
      
        Returns  
      
        Type Description  
      
        String The firstName.
 
     
  
  
    
public   ByteString   getFirstNameBytes ()  
   The customer account contact's first name. Optional for Team customers.
 string first_name = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for firstName.
 
     
  
  
    
public   String   getLastName ()  
   The customer account contact's last name. Optional for Team customers.
 string last_name = 2;
    
      
        Returns  
      
        Type Description  
      
        String The lastName.
 
     
  
  
    
public   ByteString   getLastNameBytes ()  
   The customer account contact's last name. Optional for Team customers.
 string last_name = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for lastName.
 
     
  
  
    
public   Parser<ContactInfo>   getParserForType ()  
  
  Overrides 
  
   The customer account's contact phone number.
 string phone = 7;
    
      
        Returns  
      
        Type Description  
      
        String The phone.
 
     
  
  
    
public   ByteString   getPhoneBytes ()  
   The customer account's contact phone number.
 string phone = 7;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for phone.
 
     
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
   Optional. The customer account contact's job title.
 string title = 6 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        String The title.
 
     
  
  
    
public   ByteString   getTitleBytes ()  
   Optional. The customer account contact's job title.
 string title = 6 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for title.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ContactInfo . Builder   newBuilderForType ()  
  
  
    
protected   ContactInfo . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   ContactInfo . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]