Class StudySpec.TransferLearningConfig.Builder

    • 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<StudySpec.TransferLearningConfig.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<StudySpec.TransferLearningConfig.Builder>
      • getDefaultInstanceForType

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

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

        public StudySpec.TransferLearningConfig 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<StudySpec.TransferLearningConfig.Builder>
      • getDisableTransferLearning

        public boolean getDisableTransferLearning()
         Flag to to manually prevent vizier from using transfer learning on a
         new study. Otherwise, vizier will automatically determine whether or not
         to use transfer learning.
         
        bool disable_transfer_learning = 1;
        Specified by:
        getDisableTransferLearning in interface StudySpec.TransferLearningConfigOrBuilder
        Returns:
        The disableTransferLearning.
      • setDisableTransferLearning

        public StudySpec.TransferLearningConfig.Builder setDisableTransferLearning​(boolean value)
         Flag to to manually prevent vizier from using transfer learning on a
         new study. Otherwise, vizier will automatically determine whether or not
         to use transfer learning.
         
        bool disable_transfer_learning = 1;
        Parameters:
        value - The disableTransferLearning to set.
        Returns:
        This builder for chaining.
      • clearDisableTransferLearning

        public StudySpec.TransferLearningConfig.Builder clearDisableTransferLearning()
         Flag to to manually prevent vizier from using transfer learning on a
         new study. Otherwise, vizier will automatically determine whether or not
         to use transfer learning.
         
        bool disable_transfer_learning = 1;
        Returns:
        This builder for chaining.
      • getPriorStudyNamesList

        public com.google.protobuf.ProtocolStringList getPriorStudyNamesList()
         Output only. Names of previously completed studies
         
        repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPriorStudyNamesList in interface StudySpec.TransferLearningConfigOrBuilder
        Returns:
        A list containing the priorStudyNames.
      • getPriorStudyNamesCount

        public int getPriorStudyNamesCount()
         Output only. Names of previously completed studies
         
        repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPriorStudyNamesCount in interface StudySpec.TransferLearningConfigOrBuilder
        Returns:
        The count of priorStudyNames.
      • getPriorStudyNames

        public String getPriorStudyNames​(int index)
         Output only. Names of previously completed studies
         
        repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPriorStudyNames in interface StudySpec.TransferLearningConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The priorStudyNames at the given index.
      • getPriorStudyNamesBytes

        public com.google.protobuf.ByteString getPriorStudyNamesBytes​(int index)
         Output only. Names of previously completed studies
         
        repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPriorStudyNamesBytes in interface StudySpec.TransferLearningConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the priorStudyNames at the given index.
      • setPriorStudyNames

        public StudySpec.TransferLearningConfig.Builder setPriorStudyNames​(int index,
                                                                           String value)
         Output only. Names of previously completed studies
         
        repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The priorStudyNames to set.
        Returns:
        This builder for chaining.
      • addPriorStudyNames

        public StudySpec.TransferLearningConfig.Builder addPriorStudyNames​(String value)
         Output only. Names of previously completed studies
         
        repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The priorStudyNames to add.
        Returns:
        This builder for chaining.
      • addAllPriorStudyNames

        public StudySpec.TransferLearningConfig.Builder addAllPriorStudyNames​(Iterable<String> values)
         Output only. Names of previously completed studies
         
        repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The priorStudyNames to add.
        Returns:
        This builder for chaining.
      • clearPriorStudyNames

        public StudySpec.TransferLearningConfig.Builder clearPriorStudyNames()
         Output only. Names of previously completed studies
         
        repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • addPriorStudyNamesBytes

        public StudySpec.TransferLearningConfig.Builder addPriorStudyNamesBytes​(com.google.protobuf.ByteString value)
         Output only. Names of previously completed studies
         
        repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes of the priorStudyNames to add.
        Returns:
        This builder for chaining.