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
Static Fields
public static final int DISABLE_TRANSFER_LEARNING_FIELD_NUMBER
Field Value
public static final int PRIOR_STUDY_NAMES_FIELD_NUMBER
Field Value
Static Methods
public static StudySpec.TransferLearningConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static StudySpec.TransferLearningConfig.Builder newBuilder()
Returns
public static StudySpec.TransferLearningConfig.Builder newBuilder(StudySpec.TransferLearningConfig prototype)
Parameter
Returns
public static StudySpec.TransferLearningConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static StudySpec.TransferLearningConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<StudySpec.TransferLearningConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public StudySpec.TransferLearningConfig getDefaultInstanceForType()
Returns
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.
|
public Parser<StudySpec.TransferLearningConfig> getParserForType()
Returns
Overrides
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.
|
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.
|
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.
|
public ProtocolStringList getPriorStudyNamesList()
Output only. Names of previously completed studies
repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public StudySpec.TransferLearningConfig.Builder newBuilderForType()
Returns
protected StudySpec.TransferLearningConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public StudySpec.TransferLearningConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions