Class ComputeContactsResponse.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<ComputeContactsResponse.Builder>
      • clear

        public ComputeContactsResponse.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<ComputeContactsResponse.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<ComputeContactsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
      • clearField

        public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
      • clearOneof

        public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
      • setRepeatedField

        public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
      • addRepeatedField

        public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
      • isInitialized

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

        public ComputeContactsResponse.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<ComputeContactsResponse.Builder>
        Throws:
        IOException
      • getContactsList

        public List<Contact> getContactsList()
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
        Specified by:
        getContactsList in interface ComputeContactsResponseOrBuilder
      • getContactsCount

        public int getContactsCount()
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
        Specified by:
        getContactsCount in interface ComputeContactsResponseOrBuilder
      • getContacts

        public Contact getContacts​(int index)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
        Specified by:
        getContacts in interface ComputeContactsResponseOrBuilder
      • setContacts

        public ComputeContactsResponse.Builder setContacts​(int index,
                                                           Contact value)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • setContacts

        public ComputeContactsResponse.Builder setContacts​(int index,
                                                           Contact.Builder builderForValue)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addContacts

        public ComputeContactsResponse.Builder addContacts​(Contact value)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addContacts

        public ComputeContactsResponse.Builder addContacts​(int index,
                                                           Contact value)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addContacts

        public ComputeContactsResponse.Builder addContacts​(Contact.Builder builderForValue)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addContacts

        public ComputeContactsResponse.Builder addContacts​(int index,
                                                           Contact.Builder builderForValue)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addAllContacts

        public ComputeContactsResponse.Builder addAllContacts​(Iterable<? extends Contact> values)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • clearContacts

        public ComputeContactsResponse.Builder clearContacts()
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • removeContacts

        public ComputeContactsResponse.Builder removeContacts​(int index)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • getContactsBuilder

        public Contact.Builder getContactsBuilder​(int index)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • getContactsOrBuilder

        public ContactOrBuilder getContactsOrBuilder​(int index)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
        Specified by:
        getContactsOrBuilder in interface ComputeContactsResponseOrBuilder
      • getContactsOrBuilderList

        public List<? extends ContactOrBuilder> getContactsOrBuilderList()
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
        Specified by:
        getContactsOrBuilderList in interface ComputeContactsResponseOrBuilder
      • addContactsBuilder

        public Contact.Builder addContactsBuilder()
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • addContactsBuilder

        public Contact.Builder addContactsBuilder​(int index)
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        repeated .google.cloud.essentialcontacts.v1.Contact contacts = 1;
      • getContactsBuilderList

        public List<Contact.Builder> getContactsBuilderList()
         All contacts for the resource that are subscribed to the specified
         notification categories, including contacts inherited from any parent
         resources.
         
        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 ComputeContactsResponseOrBuilder
        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 ComputeContactsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ComputeContactsResponse.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 ComputeContactsResponse.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 ComputeContactsResponse.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 ComputeContactsResponse.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<ComputeContactsResponse.Builder>
      • mergeUnknownFields

        public final ComputeContactsResponse.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<ComputeContactsResponse.Builder>