Class ListContactsResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • clear

        public ListContactsResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • getDefaultInstanceForType

        public ListContactsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListContactsResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListContactsResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ListContactsResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • setField

        public ListContactsResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • clearField

        public ListContactsResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • clearOneof

        public ListContactsResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • setRepeatedField

        public ListContactsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • addRepeatedField

        public ListContactsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • mergeFrom

        public ListContactsResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListContactsResponse.Builder>
        Throws:
        IOException
      • getContactsCount

        public int getContactsCount()
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
        Specified by:
        getContactsCount in interface ListContactsResponseOrBuilder
      • getContacts

        public Contact getContacts​(int index)
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
        Specified by:
        getContacts in interface ListContactsResponseOrBuilder
      • setContacts

        public ListContactsResponse.Builder setContacts​(int index,
                                                        Contact value)
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • setContacts

        public ListContactsResponse.Builder setContacts​(int index,
                                                        Contact.Builder builderForValue)
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addContacts

        public ListContactsResponse.Builder addContacts​(Contact value)
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addContacts

        public ListContactsResponse.Builder addContacts​(int index,
                                                        Contact value)
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addContacts

        public ListContactsResponse.Builder addContacts​(int index,
                                                        Contact.Builder builderForValue)
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addAllContacts

        public ListContactsResponse.Builder addAllContacts​(Iterable<? extends Contact> values)
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • clearContacts

        public ListContactsResponse.Builder clearContacts()
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • removeContacts

        public ListContactsResponse.Builder removeContacts​(int index)
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • getContactsBuilder

        public Contact.Builder getContactsBuilder​(int index)
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addContactsBuilder

        public Contact.Builder addContactsBuilder()
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addContactsBuilder

        public Contact.Builder addContactsBuilder​(int index)
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • getContactsBuilderList

        public List<Contact.Builder> getContactsBuilderList()
         The contacts for the specified resource.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • getNextPageToken

        public String getNextPageToken()
         If there are more results than those appearing in this response, then
         `next_page_token` is included. To get the next set of results, call this
         method again using the value of `next_page_token` as `page_token` and the
         rest of the parameters the same as the original request.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListContactsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         If there are more results than those appearing in this response, then
         `next_page_token` is included. To get the next set of results, call this
         method again using the value of `next_page_token` as `page_token` and the
         rest of the parameters the same as the original request.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListContactsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListContactsResponse.Builder setNextPageToken​(String value)
         If there are more results than those appearing in this response, then
         `next_page_token` is included. To get the next set of results, call this
         method again using the value of `next_page_token` as `page_token` and the
         rest of the parameters the same as the original request.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListContactsResponse.Builder clearNextPageToken()
         If there are more results than those appearing in this response, then
         `next_page_token` is included. To get the next set of results, call this
         method again using the value of `next_page_token` as `page_token` and the
         rest of the parameters the same as the original request.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListContactsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         If there are more results than those appearing in this response, then
         `next_page_token` is included. To get the next set of results, call this
         method again using the value of `next_page_token` as `page_token` and the
         rest of the parameters the same as the original request.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListContactsResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>
      • mergeUnknownFields

        public final ListContactsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListContactsResponse.Builder>