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

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

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

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

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

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

        public StatisticalRankedAdu.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<StatisticalRankedAdu.Builder>
        Throws:
        java.io.IOException
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
        string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface StatisticalRankedAduOrBuilder
        Returns:
        The bytes for id.
      • setId

        public StatisticalRankedAdu.Builder setId​(java.lang.String value)
        string id = 1 [json_name = "id"];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • setIdBytes

        public StatisticalRankedAdu.Builder setIdBytes​(com.google.protobuf.ByteString value)
        string id = 1 [json_name = "id"];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getTextBytes

        public com.google.protobuf.ByteString getTextBytes()
        string text = 2 [json_name = "text"];
        Specified by:
        getTextBytes in interface StatisticalRankedAduOrBuilder
        Returns:
        The bytes for text.
      • setText

        public StatisticalRankedAdu.Builder setText​(java.lang.String value)
        string text = 2 [json_name = "text"];
        Parameters:
        value - The text to set.
        Returns:
        This builder for chaining.
      • setTextBytes

        public StatisticalRankedAdu.Builder setTextBytes​(com.google.protobuf.ByteString value)
        string text = 2 [json_name = "text"];
        Parameters:
        value - The bytes for text to set.
        Returns:
        This builder for chaining.
      • setScore

        public StatisticalRankedAdu.Builder setScore​(double value)
        double score = 3 [json_name = "score"];
        Parameters:
        value - The score to set.
        Returns:
        This builder for chaining.
      • getStanceValue

        public int getStanceValue()
        .arg_services.ranking.v1beta.ArgumentStance stance = 5 [json_name = "stance"];
        Specified by:
        getStanceValue in interface StatisticalRankedAduOrBuilder
        Returns:
        The enum numeric value on the wire for stance.
      • setStanceValue

        public StatisticalRankedAdu.Builder setStanceValue​(int value)
        .arg_services.ranking.v1beta.ArgumentStance stance = 5 [json_name = "stance"];
        Parameters:
        value - The enum numeric value on the wire for stance to set.
        Returns:
        This builder for chaining.
      • setStance

        public StatisticalRankedAdu.Builder setStance​(ArgumentStance value)
        .arg_services.ranking.v1beta.ArgumentStance stance = 5 [json_name = "stance"];
        Parameters:
        value - The stance to set.
        Returns:
        This builder for chaining.
      • clearStance

        public StatisticalRankedAdu.Builder clearStance()
        .arg_services.ranking.v1beta.ArgumentStance stance = 5 [json_name = "stance"];
        Returns:
        This builder for chaining.
      • hasExtras

        public boolean hasExtras()
         Implementation-specific information can be encoded here
         
        .google.protobuf.Struct extras = 15 [json_name = "extras"];
        Specified by:
        hasExtras in interface StatisticalRankedAduOrBuilder
        Returns:
        Whether the extras field is set.
      • getExtras

        public com.google.protobuf.Struct getExtras()
         Implementation-specific information can be encoded here
         
        .google.protobuf.Struct extras = 15 [json_name = "extras"];
        Specified by:
        getExtras in interface StatisticalRankedAduOrBuilder
        Returns:
        The extras.
      • setExtras

        public StatisticalRankedAdu.Builder setExtras​(com.google.protobuf.Struct value)
         Implementation-specific information can be encoded here
         
        .google.protobuf.Struct extras = 15 [json_name = "extras"];
      • setExtras

        public StatisticalRankedAdu.Builder setExtras​(com.google.protobuf.Struct.Builder builderForValue)
         Implementation-specific information can be encoded here
         
        .google.protobuf.Struct extras = 15 [json_name = "extras"];
      • mergeExtras

        public StatisticalRankedAdu.Builder mergeExtras​(com.google.protobuf.Struct value)
         Implementation-specific information can be encoded here
         
        .google.protobuf.Struct extras = 15 [json_name = "extras"];
      • clearExtras

        public StatisticalRankedAdu.Builder clearExtras()
         Implementation-specific information can be encoded here
         
        .google.protobuf.Struct extras = 15 [json_name = "extras"];
      • getExtrasBuilder

        public com.google.protobuf.Struct.Builder getExtrasBuilder()
         Implementation-specific information can be encoded here
         
        .google.protobuf.Struct extras = 15 [json_name = "extras"];
      • getExtrasOrBuilder

        public com.google.protobuf.StructOrBuilder getExtrasOrBuilder()
         Implementation-specific information can be encoded here
         
        .google.protobuf.Struct extras = 15 [json_name = "extras"];
        Specified by:
        getExtrasOrBuilder in interface StatisticalRankedAduOrBuilder
      • setUnknownFields

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

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