Class TrialContext.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TrialContext.Builder>
com.google.cloud.aiplatform.v1.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.GeneratedMessage.Builder<TrialContext.Builder> implements TrialContextOrBuilder
Protobuf type google.cloud.aiplatform.v1.TrialContext
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public TrialContext.Builder mergeFrom(TrialContext other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Trial.Parameter parameters = 2;