Class Examples.ExampleGcsSource.Builder (3.29.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 3.29.0keyboard_arrow_down
public static final class Examples . ExampleGcsSource . Builder extends GeneratedMessageV3 . Builder<Examples . ExampleGcsSource . Builder > implements Examples . ExampleGcsSourceOrBuilder
The Cloud Storage input instances.
Protobuf type google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public Examples . ExampleGcsSource . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public Examples . ExampleGcsSource build ()
public Examples . ExampleGcsSource buildPartial ()
public Examples . ExampleGcsSource . Builder clear ()
Overrides
public Examples . ExampleGcsSource . Builder clearDataFormat ()
The format in which instances are given, if not specified, assume it's
JSONL format. Currently only JSONL format is supported.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource.DataFormat data_format = 1;
public Examples . ExampleGcsSource . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public Examples . ExampleGcsSource . Builder clearGcsSource ()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;
public Examples . ExampleGcsSource . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public Examples . ExampleGcsSource . Builder clone ()
Overrides
public Examples . ExampleGcsSource . DataFormat getDataFormat ()
The format in which instances are given, if not specified, assume it's
JSONL format. Currently only JSONL format is supported.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource.DataFormat data_format = 1;
public int getDataFormatValue ()
The format in which instances are given, if not specified, assume it's
JSONL format. Currently only JSONL format is supported.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource.DataFormat data_format = 1;
Returns
Type
Description
int
The enum numeric value on the wire for dataFormat.
public Examples . ExampleGcsSource getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public GcsSource getGcsSource ()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;
Returns
Type
Description
GcsSource
The gcsSource.
public GcsSource . Builder getGcsSourceBuilder ()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;
public GcsSourceOrBuilder getGcsSourceOrBuilder ()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;
public boolean hasGcsSource ()
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;
Returns
Type
Description
boolean
Whether the gcsSource field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Examples . ExampleGcsSource . Builder mergeFrom ( Examples . ExampleGcsSource other )
public Examples . ExampleGcsSource . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public Examples . ExampleGcsSource . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public Examples . ExampleGcsSource . Builder mergeGcsSource ( GcsSource value )
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;
public final Examples . ExampleGcsSource . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public Examples . ExampleGcsSource . Builder setDataFormat ( Examples . ExampleGcsSource . DataFormat value )
The format in which instances are given, if not specified, assume it's
JSONL format. Currently only JSONL format is supported.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource.DataFormat data_format = 1;
public Examples . ExampleGcsSource . Builder setDataFormatValue ( int value )
The format in which instances are given, if not specified, assume it's
JSONL format. Currently only JSONL format is supported.
.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource.DataFormat data_format = 1;
Parameter
Name
Description
value
int
The enum numeric value on the wire for dataFormat to set.
public Examples . ExampleGcsSource . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public Examples . ExampleGcsSource . Builder setGcsSource ( GcsSource value )
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;
public Examples . ExampleGcsSource . Builder setGcsSource ( GcsSource . Builder builderForValue )
The Cloud Storage location for the input instances.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;
public Examples . ExampleGcsSource . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final Examples . ExampleGcsSource . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]