Class EntailmentContext.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, EntailmentContextOrBuilder, java.lang.Cloneable
    Enclosing class:
    EntailmentContext

    public static final class EntailmentContext.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<EntailmentContext.Builder>
    implements EntailmentContextOrBuilder
    Protobuf type arg_services.mining.v1beta.EntailmentContext
    • 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<EntailmentContext.Builder>
      • clear

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

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

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

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

        public EntailmentContext.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntailmentContext.Builder>
      • isInitialized

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

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

        public java.lang.String getAduId()
        string adu_id = 1 [json_name = "aduId"];
        Specified by:
        getAduId in interface EntailmentContextOrBuilder
        Returns:
        The aduId.
      • getAduIdBytes

        public com.google.protobuf.ByteString getAduIdBytes()
        string adu_id = 1 [json_name = "aduId"];
        Specified by:
        getAduIdBytes in interface EntailmentContextOrBuilder
        Returns:
        The bytes for aduId.
      • setAduId

        public EntailmentContext.Builder setAduId​(java.lang.String value)
        string adu_id = 1 [json_name = "aduId"];
        Parameters:
        value - The aduId to set.
        Returns:
        This builder for chaining.
      • clearAduId

        public EntailmentContext.Builder clearAduId()
        string adu_id = 1 [json_name = "aduId"];
        Returns:
        This builder for chaining.
      • setAduIdBytes

        public EntailmentContext.Builder setAduIdBytes​(com.google.protobuf.ByteString value)
        string adu_id = 1 [json_name = "aduId"];
        Parameters:
        value - The bytes for aduId to set.
        Returns:
        This builder for chaining.
      • setWeight

        public EntailmentContext.Builder setWeight​(float value)
        float weight = 2 [json_name = "weight"];
        Parameters:
        value - The weight to set.
        Returns:
        This builder for chaining.
      • clearWeight

        public EntailmentContext.Builder clearWeight()
        float weight = 2 [json_name = "weight"];
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
        .arg_services.mining.v1beta.EntailmentContextType type = 3 [json_name = "type"];
        Specified by:
        getTypeValue in interface EntailmentContextOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public EntailmentContext.Builder setTypeValue​(int value)
        .arg_services.mining.v1beta.EntailmentContextType type = 3 [json_name = "type"];
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • setType

        public EntailmentContext.Builder setType​(EntailmentContextType value)
        .arg_services.mining.v1beta.EntailmentContextType type = 3 [json_name = "type"];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public EntailmentContext.Builder clearType()
        .arg_services.mining.v1beta.EntailmentContextType type = 3 [json_name = "type"];
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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