public static final class TrainProcessorVersionRequest.FoundationModelTuningOptions extends GeneratedMessageV3 implements TrainProcessorVersionRequest.FoundationModelTuningOptionsOrBuilder
Options to control foundation model tuning of the processor.
Protobuf type
google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.FoundationModelTuningOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LEARNING_RATE_MULTIPLIER_FIELD_NUMBER
public static final int LEARNING_RATE_MULTIPLIER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TRAIN_STEPS_FIELD_NUMBER
public static final int TRAIN_STEPS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static TrainProcessorVersionRequest.FoundationModelTuningOptions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder newBuilder()
newBuilder(TrainProcessorVersionRequest.FoundationModelTuningOptions prototype)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder newBuilder(TrainProcessorVersionRequest.FoundationModelTuningOptions prototype)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseDelimitedFrom(InputStream input)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseFrom(CodedInputStream input)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseFrom(InputStream input)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TrainProcessorVersionRequest.FoundationModelTuningOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TrainProcessorVersionRequest.FoundationModelTuningOptions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public TrainProcessorVersionRequest.FoundationModelTuningOptions getDefaultInstanceForType()
getLearningRateMultiplier()
public float getLearningRateMultiplier()
Optional. The multiplier to apply to the recommended learning rate. Valid
values are between 0.1 and 10. If not provided, recommended learning rate
will be used.
float learning_rate_multiplier = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
float | The learningRateMultiplier.
|
getParserForType()
public Parser<TrainProcessorVersionRequest.FoundationModelTuningOptions> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTrainSteps()
public int getTrainSteps()
Optional. The number of steps to run for model tuning. Valid values are
between 1 and 400. If not provided, recommended steps will be used.
int32 train_steps = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The trainSteps.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides