Class TrialContext.Builder

  • All Implemented Interfaces:
    TrialContextOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    TrialContext

    public static final class TrialContext.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
    implements TrialContextOrBuilder
     Next ID: 3
     
    Protobuf type google.cloud.aiplatform.v1beta1.TrialContext
    • 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<TrialContext.Builder>
      • clear

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

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

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

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

        public TrialContext.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
      • setField

        public TrialContext.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
      • clearField

        public TrialContext.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
      • clearOneof

        public TrialContext.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TrialContext.Builder>
      • setRepeatedField

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

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

        public TrialContext.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<TrialContext.Builder>
      • isInitialized

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

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

        public String getDescription()
         A human-readable field which can store a description of this context.
         This will become part of the resulting Trial's description field.
         
        string description = 1;
        Specified by:
        getDescription in interface TrialContextOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         A human-readable field which can store a description of this context.
         This will become part of the resulting Trial's description field.
         
        string description = 1;
        Specified by:
        getDescriptionBytes in interface TrialContextOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public TrialContext.Builder setDescription​(String value)
         A human-readable field which can store a description of this context.
         This will become part of the resulting Trial's description field.
         
        string description = 1;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public TrialContext.Builder clearDescription()
         A human-readable field which can store a description of this context.
         This will become part of the resulting Trial's description field.
         
        string description = 1;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public TrialContext.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         A human-readable field which can store a description of this context.
         This will become part of the resulting Trial's description field.
         
        string description = 1;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getParametersList

        public List<Trial.Parameter> getParametersList()
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
        Specified by:
        getParametersList in interface TrialContextOrBuilder
      • getParametersCount

        public int getParametersCount()
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
        Specified by:
        getParametersCount in interface TrialContextOrBuilder
      • getParameters

        public Trial.Parameter getParameters​(int index)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
        Specified by:
        getParameters in interface TrialContextOrBuilder
      • setParameters

        public TrialContext.Builder setParameters​(int index,
                                                  Trial.Parameter value)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • setParameters

        public TrialContext.Builder setParameters​(int index,
                                                  Trial.Parameter.Builder builderForValue)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • addParameters

        public TrialContext.Builder addParameters​(Trial.Parameter value)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • addParameters

        public TrialContext.Builder addParameters​(int index,
                                                  Trial.Parameter value)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • addParameters

        public TrialContext.Builder addParameters​(Trial.Parameter.Builder builderForValue)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • addParameters

        public TrialContext.Builder addParameters​(int index,
                                                  Trial.Parameter.Builder builderForValue)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • addAllParameters

        public TrialContext.Builder addAllParameters​(Iterable<? extends Trial.Parameter> values)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • clearParameters

        public TrialContext.Builder clearParameters()
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • removeParameters

        public TrialContext.Builder removeParameters​(int index)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • getParametersBuilder

        public Trial.Parameter.Builder getParametersBuilder​(int index)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • getParametersOrBuilder

        public Trial.ParameterOrBuilder getParametersOrBuilder​(int index)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
        Specified by:
        getParametersOrBuilder in interface TrialContextOrBuilder
      • getParametersOrBuilderList

        public List<? extends Trial.ParameterOrBuilder> getParametersOrBuilderList()
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
        Specified by:
        getParametersOrBuilderList in interface TrialContextOrBuilder
      • addParametersBuilder

        public Trial.Parameter.Builder addParametersBuilder()
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • addParametersBuilder

        public Trial.Parameter.Builder addParametersBuilder​(int index)
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • getParametersBuilderList

        public List<Trial.Parameter.Builder> getParametersBuilderList()
         If/when a Trial is generated or selected from this Context,
         its Parameters will match any parameters specified here.
         (I.e. if this context specifies parameter name:'a' int_value:3,
         then a resulting Trial will have int_value:3 for its parameter named
         'a'.) Note that we first attempt to match existing REQUESTED Trials with
         contexts, and if there are no matches, we generate suggestions in the
         subspace defined by the parameters specified here.
         NOTE: a Context without any Parameters matches the entire feasible search
           space.
         
        repeated .google.cloud.aiplatform.v1beta1.Trial.Parameter parameters = 2;
      • setUnknownFields

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

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