Class StudySpec.TransferLearningConfig (3.33.0)

public static final class StudySpec.TransferLearningConfig extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StudySpec.TransferLearningConfig

Static Fields

DISABLE_TRANSFER_LEARNING_FIELD_NUMBER

public static final int DISABLE_TRANSFER_LEARNING_FIELD_NUMBER
Field Value
TypeDescription
int

PRIOR_STUDY_NAMES_FIELD_NUMBER

public static final int PRIOR_STUDY_NAMES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StudySpec.TransferLearningConfig getDefaultInstance()
Returns
TypeDescription
StudySpec.TransferLearningConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StudySpec.TransferLearningConfig.Builder newBuilder()
Returns
TypeDescription
StudySpec.TransferLearningConfig.Builder

newBuilder(StudySpec.TransferLearningConfig prototype)

public static StudySpec.TransferLearningConfig.Builder newBuilder(StudySpec.TransferLearningConfig prototype)
Parameter
NameDescription
prototypeStudySpec.TransferLearningConfig
Returns
TypeDescription
StudySpec.TransferLearningConfig.Builder

parseDelimitedFrom(InputStream input)

public static StudySpec.TransferLearningConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StudySpec.TransferLearningConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StudySpec.TransferLearningConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StudySpec.TransferLearningConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StudySpec.TransferLearningConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StudySpec.TransferLearningConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.TransferLearningConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StudySpec.TransferLearningConfig> parser()
Returns
TypeDescription
Parser<TransferLearningConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StudySpec.TransferLearningConfig getDefaultInstanceForType()
Returns
TypeDescription
StudySpec.TransferLearningConfig

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;

Returns
TypeDescription
boolean

The disableTransferLearning.

getParserForType()

public Parser<StudySpec.TransferLearningConfig> getParserForType()
Returns
TypeDescription
Parser<TransferLearningConfig>
Overrides

getPriorStudyNames(int index)

public String getPriorStudyNames(int index)

Output only. Names of previously completed studies

repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The priorStudyNames at the given index.

getPriorStudyNamesBytes(int index)

public ByteString getPriorStudyNamesBytes(int index)

Output only. Names of previously completed studies

repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the priorStudyNames at the given index.

getPriorStudyNamesCount()

public int getPriorStudyNamesCount()

Output only. Names of previously completed studies

repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of priorStudyNames.

getPriorStudyNamesList()

public ProtocolStringList getPriorStudyNamesList()

Output only. Names of previously completed studies

repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ProtocolStringList

A list containing the priorStudyNames.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StudySpec.TransferLearningConfig.Builder newBuilderForType()
Returns
TypeDescription
StudySpec.TransferLearningConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StudySpec.TransferLearningConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StudySpec.TransferLearningConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StudySpec.TransferLearningConfig.Builder toBuilder()
Returns
TypeDescription
StudySpec.TransferLearningConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException