- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class PredefinedSplit.Builder extends GeneratedMessageV3.Builder<PredefinedSplit.Builder> implements PredefinedSplitOrBuilder
Assigns input data to training, validation, and test sets based on the value of a provided key. Supported only for tabular Datasets.
Protobuf type google.cloud.aiplatform.v1beta1.PredefinedSplit
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PredefinedSplit.BuilderImplements
PredefinedSplitOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PredefinedSplit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PredefinedSplit.Builder |
build()
public PredefinedSplit build()
Type | Description |
PredefinedSplit |
buildPartial()
public PredefinedSplit buildPartial()
Type | Description |
PredefinedSplit |
clear()
public PredefinedSplit.Builder clear()
Type | Description |
PredefinedSplit.Builder |
clearField(Descriptors.FieldDescriptor field)
public PredefinedSplit.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PredefinedSplit.Builder |
clearKey()
public PredefinedSplit.Builder clearKey()
Required. The key is a name of one of the Dataset's data columns.
The value of the key (either the label's value or value in the column)
must be one of {training
, validation
, test
}, and it defines to which
set the given piece of data is assigned. If for a piece of data the key
is not present or has an invalid value, that piece is ignored by the
pipeline.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PredefinedSplit.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PredefinedSplit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PredefinedSplit.Builder |
clone()
public PredefinedSplit.Builder clone()
Type | Description |
PredefinedSplit.Builder |
getDefaultInstanceForType()
public PredefinedSplit getDefaultInstanceForType()
Type | Description |
PredefinedSplit |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKey()
public String getKey()
Required. The key is a name of one of the Dataset's data columns.
The value of the key (either the label's value or value in the column)
must be one of {training
, validation
, test
}, and it defines to which
set the given piece of data is assigned. If for a piece of data the key
is not present or has an invalid value, that piece is ignored by the
pipeline.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The key. |
getKeyBytes()
public ByteString getKeyBytes()
Required. The key is a name of one of the Dataset's data columns.
The value of the key (either the label's value or value in the column)
must be one of {training
, validation
, test
}, and it defines to which
set the given piece of data is assigned. If for a piece of data the key
is not present or has an invalid value, that piece is ignored by the
pipeline.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for key. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PredefinedSplit other)
public PredefinedSplit.Builder mergeFrom(PredefinedSplit other)
Name | Description |
other | PredefinedSplit |
Type | Description |
PredefinedSplit.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PredefinedSplit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PredefinedSplit.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PredefinedSplit.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PredefinedSplit.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PredefinedSplit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PredefinedSplit.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PredefinedSplit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PredefinedSplit.Builder |
setKey(String value)
public PredefinedSplit.Builder setKey(String value)
Required. The key is a name of one of the Dataset's data columns.
The value of the key (either the label's value or value in the column)
must be one of {training
, validation
, test
}, and it defines to which
set the given piece of data is assigned. If for a piece of data the key
is not present or has an invalid value, that piece is ignored by the
pipeline.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The key to set. |
Type | Description |
PredefinedSplit.Builder | This builder for chaining. |
setKeyBytes(ByteString value)
public PredefinedSplit.Builder setKeyBytes(ByteString value)
Required. The key is a name of one of the Dataset's data columns.
The value of the key (either the label's value or value in the column)
must be one of {training
, validation
, test
}, and it defines to which
set the given piece of data is assigned. If for a piece of data the key
is not present or has an invalid value, that piece is ignored by the
pipeline.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for key to set. |
Type | Description |
PredefinedSplit.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PredefinedSplit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PredefinedSplit.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PredefinedSplit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PredefinedSplit.Builder |