Class ClassificationRequest.Builder

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      ClassificationRequest build()  
      ClassificationRequest buildPartial()  
      ClassificationRequest.Builder clear()  
      ClassificationRequest.Builder clearExtras()
      Implementation-specific information can be encoded here
      ClassificationRequest.Builder clearSegments()  
      boolean containsSegments​(java.lang.String key)
      map<string, string> segments = 1 [json_name = "segments"];
      ClassificationRequest getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      com.google.protobuf.Struct getExtras()
      Implementation-specific information can be encoded here
      com.google.protobuf.Struct.Builder getExtrasBuilder()
      Implementation-specific information can be encoded here
      com.google.protobuf.StructOrBuilder getExtrasOrBuilder()
      Implementation-specific information can be encoded here
      java.util.Map<java.lang.String,​java.lang.String> getMutableSegments()
      Deprecated.
      java.util.Map<java.lang.String,​java.lang.String> getSegments()
      Deprecated.
      int getSegmentsCount()
      map<string, string> segments = 1 [json_name = "segments"];
      java.util.Map<java.lang.String,​java.lang.String> getSegmentsMap()
      map<string, string> segments = 1 [json_name = "segments"];
      java.lang.String getSegmentsOrDefault​(java.lang.String key, java.lang.String defaultValue)
      map<string, string> segments = 1 [json_name = "segments"];
      java.lang.String getSegmentsOrThrow​(java.lang.String key)
      map<string, string> segments = 1 [json_name = "segments"];
      boolean hasExtras()
      Implementation-specific information can be encoded here
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)  
      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)  
      boolean isInitialized()  
      ClassificationRequest.Builder mergeExtras​(com.google.protobuf.Struct value)
      Implementation-specific information can be encoded here
      ClassificationRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      ClassificationRequest.Builder mergeFrom​(com.google.protobuf.Message other)  
      ClassificationRequest.Builder mergeFrom​(ClassificationRequest other)  
      ClassificationRequest.Builder putAllSegments​(java.util.Map<java.lang.String,​java.lang.String> values)
      map<string, string> segments = 1 [json_name = "segments"];
      ClassificationRequest.Builder putSegments​(java.lang.String key, java.lang.String value)
      map<string, string> segments = 1 [json_name = "segments"];
      ClassificationRequest.Builder removeSegments​(java.lang.String key)
      map<string, string> segments = 1 [json_name = "segments"];
      ClassificationRequest.Builder setExtras​(com.google.protobuf.Struct value)
      Implementation-specific information can be encoded here
      ClassificationRequest.Builder setExtras​(com.google.protobuf.Struct.Builder builderForValue)
      Implementation-specific information can be encoded here
      • Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ClassificationRequest.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ClassificationRequest.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

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

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

        public java.util.Map<java.lang.String,​java.lang.String> getSegmentsMap()
        map<string, string> segments = 1 [json_name = "segments"];
        Specified by:
        getSegmentsMap in interface ClassificationRequestOrBuilder
      • getSegmentsOrDefault

        public java.lang.String getSegmentsOrDefault​(java.lang.String key,
                                                     java.lang.String defaultValue)
        map<string, string> segments = 1 [json_name = "segments"];
        Specified by:
        getSegmentsOrDefault in interface ClassificationRequestOrBuilder
      • removeSegments

        public ClassificationRequest.Builder removeSegments​(java.lang.String key)
        map<string, string> segments = 1 [json_name = "segments"];
      • getMutableSegments

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

        public ClassificationRequest.Builder putSegments​(java.lang.String key,
                                                         java.lang.String value)
        map<string, string> segments = 1 [json_name = "segments"];
      • putAllSegments

        public ClassificationRequest.Builder putAllSegments​(java.util.Map<java.lang.String,​java.lang.String> values)
        map<string, string> segments = 1 [json_name = "segments"];
      • hasExtras

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

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

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

        public ClassificationRequest.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 ClassificationRequestOrBuilder