Class StudySpec.TransferLearningConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig
All Implemented Interfaces:
StudySpec.TransferLearningConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
StudySpec

public static final class StudySpec.TransferLearningConfig extends com.google.protobuf.GeneratedMessage implements StudySpec.TransferLearningConfigOrBuilder
 This contains flag for manually disabling transfer learning for a study.
 The names of prior studies being used for transfer learning (if any)
 are also listed here.
 
Protobuf type google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig
See Also:
  • Field Details

    • DISABLE_TRANSFER_LEARNING_FIELD_NUMBER

      public static final int DISABLE_TRANSFER_LEARNING_FIELD_NUMBER
      See Also:
    • PRIOR_STUDY_NAMES_FIELD_NUMBER

      public static final int PRIOR_STUDY_NAMES_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static StudySpec.TransferLearningConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StudySpec.TransferLearningConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StudySpec.TransferLearningConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StudySpec.TransferLearningConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StudySpec.TransferLearningConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StudySpec.TransferLearningConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StudySpec.TransferLearningConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StudySpec.TransferLearningConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StudySpec.TransferLearningConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StudySpec.TransferLearningConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StudySpec.TransferLearningConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StudySpec.TransferLearningConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static StudySpec.TransferLearningConfig.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StudySpec.TransferLearningConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StudySpec.TransferLearningConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StudySpec.TransferLearningConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<StudySpec.TransferLearningConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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