Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see
Model versions and lifecycle .
Send feedback
Class Examples.ExampleGcsSource.Builder (1.20.1)
Stay organized with collections
Save and categorize content based on your preferences.
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.vertexai.v1.Examples.ExampleGcsSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Examples . ExampleGcsSource . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Examples . ExampleGcsSource build ()
buildPartial()
public Examples . ExampleGcsSource buildPartial ()
clear()
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.vertexai.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;
clearField(Descriptors.FieldDescriptor field)
public Examples . ExampleGcsSource . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearGcsSource()
public Examples . ExampleGcsSource . Builder clearGcsSource ()
The Cloud Storage location for the input instances.
.google.cloud.vertexai.v1.GcsSource gcs_source = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Examples . ExampleGcsSource . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
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.vertexai.v1.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.vertexai.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;
Returns
Type
Description
int
The enum numeric value on the wire for dataFormat.
getDefaultInstanceForType()
public Examples . ExampleGcsSource getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getGcsSource()
public GcsSource getGcsSource ()
The Cloud Storage location for the input instances.
.google.cloud.vertexai.v1.GcsSource gcs_source = 2;
Returns
Type
Description
GcsSource
The gcsSource.
getGcsSourceBuilder()
public GcsSource . Builder getGcsSourceBuilder ()
The Cloud Storage location for the input instances.
.google.cloud.vertexai.v1.GcsSource gcs_source = 2;
getGcsSourceOrBuilder()
public GcsSourceOrBuilder getGcsSourceOrBuilder ()
The Cloud Storage location for the input instances.
.google.cloud.vertexai.v1.GcsSource gcs_source = 2;
hasGcsSource()
public boolean hasGcsSource ()
The Cloud Storage location for the input instances.
.google.cloud.vertexai.v1.GcsSource gcs_source = 2;
Returns
Type
Description
boolean
Whether the gcsSource field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Examples.ExampleGcsSource other)
public Examples . ExampleGcsSource . Builder mergeFrom ( Examples . ExampleGcsSource other )
public Examples . ExampleGcsSource . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Examples . ExampleGcsSource . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeGcsSource(GcsSource value)
public Examples . ExampleGcsSource . Builder mergeGcsSource ( GcsSource value )
The Cloud Storage location for the input instances.
.google.cloud.vertexai.v1.GcsSource gcs_source = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
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.vertexai.v1.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.vertexai.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;
Parameter
Name
Description
value
int
The enum numeric value on the wire for dataFormat to set.
setField(Descriptors.FieldDescriptor field, Object value)
public Examples . ExampleGcsSource . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setGcsSource(GcsSource value)
public Examples . ExampleGcsSource . Builder setGcsSource ( GcsSource value )
The Cloud Storage location for the input instances.
.google.cloud.vertexai.v1.GcsSource gcs_source = 2;
setGcsSource(GcsSource.Builder builderForValue)
public Examples . ExampleGcsSource . Builder setGcsSource ( GcsSource . Builder builderForValue )
The Cloud Storage location for the input instances.
.google.cloud.vertexai.v1.GcsSource gcs_source = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Examples . ExampleGcsSource . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Examples . ExampleGcsSource . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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-04-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-28 UTC."],[],[]]