Class StudySpec.TransferLearningConfig (3.49.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
Type Description
int

PRIOR_STUDY_NAMES_FIELD_NUMBER

public static final int PRIOR_STUDY_NAMES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StudySpec.TransferLearningConfig getDefaultInstance()
Returns
Type Description
StudySpec.TransferLearningConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StudySpec.TransferLearningConfig.Builder newBuilder()
Returns
Type Description
StudySpec.TransferLearningConfig.Builder

newBuilder(StudySpec.TransferLearningConfig prototype)

public static StudySpec.TransferLearningConfig.Builder newBuilder(StudySpec.TransferLearningConfig prototype)
Parameter
Name Description
prototype StudySpec.TransferLearningConfig
Returns
Type Description
StudySpec.TransferLearningConfig.Builder

parseDelimitedFrom(InputStream input)

public static StudySpec.TransferLearningConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StudySpec.TransferLearningConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StudySpec.TransferLearningConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StudySpec.TransferLearningConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StudySpec.TransferLearningConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StudySpec.TransferLearningConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.TransferLearningConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.TransferLearningConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StudySpec.TransferLearningConfig getDefaultInstanceForType()
Returns
Type Description
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
Type Description
boolean

The disableTransferLearning.

getParserForType()

public Parser<StudySpec.TransferLearningConfig> getParserForType()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the priorStudyNames.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StudySpec.TransferLearningConfig.Builder newBuilderForType()
Returns
Type Description
StudySpec.TransferLearningConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StudySpec.TransferLearningConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StudySpec.TransferLearningConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StudySpec.TransferLearningConfig.Builder toBuilder()
Returns
Type Description
StudySpec.TransferLearningConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException