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

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

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

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

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

        public ListCommentsResponse.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<ListCommentsResponse.Builder>
      • setField

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

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

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

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

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

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

        public ListCommentsResponse.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<ListCommentsResponse.Builder>
        Throws:
        IOException
      • getCommentsCount

        public int getCommentsCount()
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
        Specified by:
        getCommentsCount in interface ListCommentsResponseOrBuilder
      • getComments

        public Comment getComments​(int index)
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
        Specified by:
        getComments in interface ListCommentsResponseOrBuilder
      • setComments

        public ListCommentsResponse.Builder setComments​(int index,
                                                        Comment value)
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • setComments

        public ListCommentsResponse.Builder setComments​(int index,
                                                        Comment.Builder builderForValue)
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • addComments

        public ListCommentsResponse.Builder addComments​(Comment value)
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • addComments

        public ListCommentsResponse.Builder addComments​(int index,
                                                        Comment value)
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • addComments

        public ListCommentsResponse.Builder addComments​(int index,
                                                        Comment.Builder builderForValue)
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • addAllComments

        public ListCommentsResponse.Builder addAllComments​(Iterable<? extends Comment> values)
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • clearComments

        public ListCommentsResponse.Builder clearComments()
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • removeComments

        public ListCommentsResponse.Builder removeComments​(int index)
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • getCommentsBuilder

        public Comment.Builder getCommentsBuilder​(int index)
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • addCommentsBuilder

        public Comment.Builder addCommentsBuilder()
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • addCommentsBuilder

        public Comment.Builder addCommentsBuilder​(int index)
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • getCommentsBuilderList

        public List<Comment.Builder> getCommentsBuilderList()
         The list of Comments associated with the given Case.
         
        repeated .google.cloud.support.v2.Comment comments = 1;
      • getNextPageToken

        public String getNextPageToken()
         A token to retrieve the next page of results. This should be set in the
         `page_token` field of subsequent `ListCommentsRequest` message that is
         issued. If unspecified, there are no more results to retrieve.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListCommentsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token to retrieve the next page of results. This should be set in the
         `page_token` field of subsequent `ListCommentsRequest` message that is
         issued. If unspecified, there are no more results to retrieve.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListCommentsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListCommentsResponse.Builder setNextPageToken​(String value)
         A token to retrieve the next page of results. This should be set in the
         `page_token` field of subsequent `ListCommentsRequest` message that is
         issued. If unspecified, there are no more results to retrieve.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListCommentsResponse.Builder clearNextPageToken()
         A token to retrieve the next page of results. This should be set in the
         `page_token` field of subsequent `ListCommentsRequest` message that is
         issued. If unspecified, there are no more results to retrieve.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListCommentsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token to retrieve the next page of results. This should be set in the
         `page_token` field of subsequent `ListCommentsRequest` message that is
         issued. If unspecified, there are no more results to retrieve.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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