Class PolicyTopicEvidence.TextList.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<PolicyTopicEvidence.TextList.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<PolicyTopicEvidence.TextList.Builder>
      • getDefaultInstanceForType

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

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

        public PolicyTopicEvidence.TextList buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

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

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

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

        public PolicyTopicEvidence.TextList.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.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<PolicyTopicEvidence.TextList.Builder>
        Throws:
        java.io.IOException
      • getTextsList

        public com.google.protobuf.ProtocolStringList getTextsList()
         The fragments of text from the resource that caused the policy finding.
         
        repeated string texts = 2;
        Specified by:
        getTextsList in interface PolicyTopicEvidence.TextListOrBuilder
        Returns:
        A list containing the texts.
      • getTextsCount

        public int getTextsCount()
         The fragments of text from the resource that caused the policy finding.
         
        repeated string texts = 2;
        Specified by:
        getTextsCount in interface PolicyTopicEvidence.TextListOrBuilder
        Returns:
        The count of texts.
      • getTexts

        public java.lang.String getTexts​(int index)
         The fragments of text from the resource that caused the policy finding.
         
        repeated string texts = 2;
        Specified by:
        getTexts in interface PolicyTopicEvidence.TextListOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The texts at the given index.
      • getTextsBytes

        public com.google.protobuf.ByteString getTextsBytes​(int index)
         The fragments of text from the resource that caused the policy finding.
         
        repeated string texts = 2;
        Specified by:
        getTextsBytes in interface PolicyTopicEvidence.TextListOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the texts at the given index.
      • setTexts

        public PolicyTopicEvidence.TextList.Builder setTexts​(int index,
                                                             java.lang.String value)
         The fragments of text from the resource that caused the policy finding.
         
        repeated string texts = 2;
        Parameters:
        index - The index to set the value at.
        value - The texts to set.
        Returns:
        This builder for chaining.
      • addTexts

        public PolicyTopicEvidence.TextList.Builder addTexts​(java.lang.String value)
         The fragments of text from the resource that caused the policy finding.
         
        repeated string texts = 2;
        Parameters:
        value - The texts to add.
        Returns:
        This builder for chaining.
      • addAllTexts

        public PolicyTopicEvidence.TextList.Builder addAllTexts​(java.lang.Iterable<java.lang.String> values)
         The fragments of text from the resource that caused the policy finding.
         
        repeated string texts = 2;
        Parameters:
        values - The texts to add.
        Returns:
        This builder for chaining.
      • clearTexts

        public PolicyTopicEvidence.TextList.Builder clearTexts()
         The fragments of text from the resource that caused the policy finding.
         
        repeated string texts = 2;
        Returns:
        This builder for chaining.
      • addTextsBytes

        public PolicyTopicEvidence.TextList.Builder addTextsBytes​(com.google.protobuf.ByteString value)
         The fragments of text from the resource that caused the policy finding.
         
        repeated string texts = 2;
        Parameters:
        value - The bytes of the texts to add.
        Returns:
        This builder for chaining.