Class ExpertSuitableRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ExpertSuitableRequest.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ExpertSuitableRequest.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

        public ExpertSuitableRequest 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<ExpertSuitableRequest.Builder>
      • mergeFrom

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

        public java.lang.String getPremise()
         The premise to be validated
         
        string premise = 1 [json_name = "premise"];
        Specified by:
        getPremise in interface ExpertSuitableRequestOrBuilder
        Returns:
        The premise.
      • getPremiseBytes

        public com.google.protobuf.ByteString getPremiseBytes()
         The premise to be validated
         
        string premise = 1 [json_name = "premise"];
        Specified by:
        getPremiseBytes in interface ExpertSuitableRequestOrBuilder
        Returns:
        The bytes for premise.
      • setPremise

        public ExpertSuitableRequest.Builder setPremise​(java.lang.String value)
         The premise to be validated
         
        string premise = 1 [json_name = "premise"];
        Parameters:
        value - The premise to set.
        Returns:
        This builder for chaining.
      • clearPremise

        public ExpertSuitableRequest.Builder clearPremise()
         The premise to be validated
         
        string premise = 1 [json_name = "premise"];
        Returns:
        This builder for chaining.
      • setPremiseBytes

        public ExpertSuitableRequest.Builder setPremiseBytes​(com.google.protobuf.ByteString value)
         The premise to be validated
         
        string premise = 1 [json_name = "premise"];
        Parameters:
        value - The bytes for premise to set.
        Returns:
        This builder for chaining.
      • getScholarId

        public java.lang.String getScholarId()
         Google scholar id of the expert
         
        string scholar_id = 2 [json_name = "scholarId"];
        Specified by:
        getScholarId in interface ExpertSuitableRequestOrBuilder
        Returns:
        The scholarId.
      • getScholarIdBytes

        public com.google.protobuf.ByteString getScholarIdBytes()
         Google scholar id of the expert
         
        string scholar_id = 2 [json_name = "scholarId"];
        Specified by:
        getScholarIdBytes in interface ExpertSuitableRequestOrBuilder
        Returns:
        The bytes for scholarId.
      • setScholarId

        public ExpertSuitableRequest.Builder setScholarId​(java.lang.String value)
         Google scholar id of the expert
         
        string scholar_id = 2 [json_name = "scholarId"];
        Parameters:
        value - The scholarId to set.
        Returns:
        This builder for chaining.
      • clearScholarId

        public ExpertSuitableRequest.Builder clearScholarId()
         Google scholar id of the expert
         
        string scholar_id = 2 [json_name = "scholarId"];
        Returns:
        This builder for chaining.
      • setScholarIdBytes

        public ExpertSuitableRequest.Builder setScholarIdBytes​(com.google.protobuf.ByteString value)
         Google scholar id of the expert
         
        string scholar_id = 2 [json_name = "scholarId"];
        Parameters:
        value - The bytes for scholarId to set.
        Returns:
        This builder for chaining.
      • containsFeatures

        public boolean containsFeatures​(java.lang.String key)
         key: feature name, value: text of the feature
         
        map<string, string> features = 3 [json_name = "features"];
        Specified by:
        containsFeatures in interface ExpertSuitableRequestOrBuilder
      • getFeaturesMap

        public java.util.Map<java.lang.String,​java.lang.String> getFeaturesMap()
         key: feature name, value: text of the feature
         
        map<string, string> features = 3 [json_name = "features"];
        Specified by:
        getFeaturesMap in interface ExpertSuitableRequestOrBuilder
      • getFeaturesOrDefault

        public java.lang.String getFeaturesOrDefault​(java.lang.String key,
                                                     java.lang.String defaultValue)
         key: feature name, value: text of the feature
         
        map<string, string> features = 3 [json_name = "features"];
        Specified by:
        getFeaturesOrDefault in interface ExpertSuitableRequestOrBuilder
      • getFeaturesOrThrow

        public java.lang.String getFeaturesOrThrow​(java.lang.String key)
         key: feature name, value: text of the feature
         
        map<string, string> features = 3 [json_name = "features"];
        Specified by:
        getFeaturesOrThrow in interface ExpertSuitableRequestOrBuilder
      • removeFeatures

        public ExpertSuitableRequest.Builder removeFeatures​(java.lang.String key)
         key: feature name, value: text of the feature
         
        map<string, string> features = 3 [json_name = "features"];
      • getMutableFeatures

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String> getMutableFeatures()
        Deprecated.
        Use alternate mutation accessors instead.
      • putFeatures

        public ExpertSuitableRequest.Builder putFeatures​(java.lang.String key,
                                                         java.lang.String value)
         key: feature name, value: text of the feature
         
        map<string, string> features = 3 [json_name = "features"];
      • putAllFeatures

        public ExpertSuitableRequest.Builder putAllFeatures​(java.util.Map<java.lang.String,​java.lang.String> values)
         key: feature name, value: text of the feature
         
        map<string, string> features = 3 [json_name = "features"];
      • hasExtras

        public boolean hasExtras()
         Implementation-specific information can be encoded here
         
        .google.protobuf.Struct extras = 15 [json_name = "extras"];
        Specified by:
        hasExtras in interface ExpertSuitableRequestOrBuilder
        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 ExpertSuitableRequestOrBuilder
        Returns:
        The extras.
      • setExtras

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

        public ExpertSuitableRequest.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 ExpertSuitableRequest.Builder mergeExtras​(com.google.protobuf.Struct value)
         Implementation-specific information can be encoded here
         
        .google.protobuf.Struct extras = 15 [json_name = "extras"];
      • clearExtras

        public ExpertSuitableRequest.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 ExpertSuitableRequestOrBuilder
      • setUnknownFields

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

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