Interface ContactSettings.ContactOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getEmail()
      Required.
      com.google.protobuf.ByteString getEmailBytes()
      Required.
      String getFaxNumber()
      Fax number of the contact in international format.
      com.google.protobuf.ByteString getFaxNumberBytes()
      Fax number of the contact in international format.
      String getPhoneNumber()
      Required.
      com.google.protobuf.ByteString getPhoneNumberBytes()
      Required.
      com.google.type.PostalAddress getPostalAddress()
      Required.
      com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder()
      Required.
      boolean hasPostalAddress()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasPostalAddress

        boolean hasPostalAddress()
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the postalAddress field is set.
      • getPostalAddress

        com.google.type.PostalAddress getPostalAddress()
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The postalAddress.
      • getPostalAddressOrBuilder

        com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder()
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
      • getEmail

        String getEmail()
         Required. Email address of the contact.
         
        string email = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The email.
      • getEmailBytes

        com.google.protobuf.ByteString getEmailBytes()
         Required. Email address of the contact.
         
        string email = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for email.
      • getPhoneNumber

        String getPhoneNumber()
         Required. Phone number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The phoneNumber.
      • getPhoneNumberBytes

        com.google.protobuf.ByteString getPhoneNumberBytes()
         Required. Phone number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for phoneNumber.
      • getFaxNumber

        String getFaxNumber()
         Fax number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string fax_number = 4;
        Returns:
        The faxNumber.
      • getFaxNumberBytes

        com.google.protobuf.ByteString getFaxNumberBytes()
         Fax number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string fax_number = 4;
        Returns:
        The bytes for faxNumber.