Class OrganizationContact

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact
All Implemented Interfaces:
OrganizationContactOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class OrganizationContact extends com.google.protobuf.GeneratedMessage implements OrganizationContactOrBuilder
 Contact information of the customer organization.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasAddress

      public boolean hasAddress()
       Required. The organization's address.
       
      .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAddress in interface OrganizationContactOrBuilder
      Returns:
      Whether the address field is set.
    • getAddress

      public PostalAddress getAddress()
       Required. The organization's address.
       
      .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAddress in interface OrganizationContactOrBuilder
      Returns:
      The address.
    • getAddressOrBuilder

      public PostalAddressOrBuilder getAddressOrBuilder()
       Required. The organization's address.
       
      .google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAddressOrBuilder in interface OrganizationContactOrBuilder
    • getEmail

      public String getEmail()
       Optional. The organization's email.
       
      string email = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEmail in interface OrganizationContactOrBuilder
      Returns:
      The email.
    • getEmailBytes

      public com.google.protobuf.ByteString getEmailBytes()
       Optional. The organization's email.
       
      string email = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEmailBytes in interface OrganizationContactOrBuilder
      Returns:
      The bytes for email.
    • getPhone

      public String getPhone()
       Optional. The organization's phone number.
       
      string phone = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPhone in interface OrganizationContactOrBuilder
      Returns:
      The phone.
    • getPhoneBytes

      public com.google.protobuf.ByteString getPhoneBytes()
       Optional. The organization's phone number.
       
      string phone = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPhoneBytes in interface OrganizationContactOrBuilder
      Returns:
      The bytes for phone.
    • getContactsList

      public List<Contact> getContactsList()
       Required. The individual points of contact in the organization at this
       location.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getContactsList in interface OrganizationContactOrBuilder
    • getContactsOrBuilderList

      public List<? extends ContactOrBuilder> getContactsOrBuilderList()
       Required. The individual points of contact in the organization at this
       location.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getContactsOrBuilderList in interface OrganizationContactOrBuilder
    • getContactsCount

      public int getContactsCount()
       Required. The individual points of contact in the organization at this
       location.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getContactsCount in interface OrganizationContactOrBuilder
    • getContacts

      public Contact getContacts(int index)
       Required. The individual points of contact in the organization at this
       location.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getContacts in interface OrganizationContactOrBuilder
    • getContactsOrBuilder

      public ContactOrBuilder getContactsOrBuilder(int index)
       Required. The individual points of contact in the organization at this
       location.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getContactsOrBuilder in interface OrganizationContactOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static OrganizationContact parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationContact parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationContact parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationContact parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationContact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationContact parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationContact parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OrganizationContact parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OrganizationContact parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OrganizationContact parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OrganizationContact parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OrganizationContact parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public OrganizationContact.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static OrganizationContact.Builder newBuilder()
    • newBuilder

      public static OrganizationContact.Builder newBuilder(OrganizationContact prototype)
    • toBuilder

      public OrganizationContact.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected OrganizationContact.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static OrganizationContact getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<OrganizationContact> parser()
    • getParserForType

      public com.google.protobuf.Parser<OrganizationContact> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public OrganizationContact getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder