Class Examples.ExampleGcsSource.Builder (1.14.0)

publicstaticfinalclass Examples.ExampleGcsSource.BuilderextendsGeneratedMessageV3.Builder<Examples.ExampleGcsSource.Builder>implementsExamples.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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicExamples.ExampleGcsSource.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

build()

publicExamples.ExampleGcsSourcebuild()
Returns
Type Description
Examples.ExampleGcsSource

buildPartial()

publicExamples.ExampleGcsSourcebuildPartial()
Returns
Type Description
Examples.ExampleGcsSource

clear()

publicExamples.ExampleGcsSource.Builderclear()
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

clearDataFormat()

publicExamples.ExampleGcsSource.BuilderclearDataFormat()

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
Examples.ExampleGcsSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicExamples.ExampleGcsSource.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

clearGcsSource()

publicExamples.ExampleGcsSource.BuilderclearGcsSource()

The Cloud Storage location for the input instances.

.google.cloud.vertexai.v1.GcsSource gcs_source = 2;

Returns
Type Description
Examples.ExampleGcsSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicExamples.ExampleGcsSource.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

clone()

publicExamples.ExampleGcsSource.Builderclone()
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

getDataFormat()

publicExamples.ExampleGcsSource.DataFormatgetDataFormat()

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
Examples.ExampleGcsSource.DataFormat

The dataFormat.

getDataFormatValue()

publicintgetDataFormatValue()

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()

publicExamples.ExampleGcsSourcegetDefaultInstanceForType()
Returns
Type Description
Examples.ExampleGcsSource

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsSource()

publicGcsSourcegetGcsSource()

The Cloud Storage location for the input instances.

.google.cloud.vertexai.v1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceBuilder()

publicGcsSource.BuildergetGcsSourceBuilder()

The Cloud Storage location for the input instances.

.google.cloud.vertexai.v1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSource.Builder

getGcsSourceOrBuilder()

publicGcsSourceOrBuildergetGcsSourceOrBuilder()

The Cloud Storage location for the input instances.

.google.cloud.vertexai.v1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSourceOrBuilder

hasGcsSource()

publicbooleanhasGcsSource()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Examples.ExampleGcsSource other)

publicExamples.ExampleGcsSource.BuildermergeFrom(Examples.ExampleGcsSourceother)
Parameter
Name Description
other Examples.ExampleGcsSource
Returns
Type Description
Examples.ExampleGcsSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicExamples.ExampleGcsSource.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicExamples.ExampleGcsSource.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

mergeGcsSource(GcsSource value)

publicExamples.ExampleGcsSource.BuildermergeGcsSource(GcsSourcevalue)

The Cloud Storage location for the input instances.

.google.cloud.vertexai.v1.GcsSource gcs_source = 2;

Parameter
Name Description
value GcsSource
Returns
Type Description
Examples.ExampleGcsSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalExamples.ExampleGcsSource.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

setDataFormat(Examples.ExampleGcsSource.DataFormat value)

publicExamples.ExampleGcsSource.BuildersetDataFormat(Examples.ExampleGcsSource.DataFormatvalue)

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 Examples.ExampleGcsSource.DataFormat

The dataFormat to set.

Returns
Type Description
Examples.ExampleGcsSource.Builder

This builder for chaining.

setDataFormatValue(int value)

publicExamples.ExampleGcsSource.BuildersetDataFormatValue(intvalue)

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.

Returns
Type Description
Examples.ExampleGcsSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicExamples.ExampleGcsSource.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

setGcsSource(GcsSource value)

publicExamples.ExampleGcsSource.BuildersetGcsSource(GcsSourcevalue)

The Cloud Storage location for the input instances.

.google.cloud.vertexai.v1.GcsSource gcs_source = 2;

Parameter
Name Description
value GcsSource
Returns
Type Description
Examples.ExampleGcsSource.Builder

setGcsSource(GcsSource.Builder builderForValue)

publicExamples.ExampleGcsSource.BuildersetGcsSource(GcsSource.BuilderbuilderForValue)

The Cloud Storage location for the input instances.

.google.cloud.vertexai.v1.GcsSource gcs_source = 2;

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
Examples.ExampleGcsSource.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicExamples.ExampleGcsSource.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalExamples.ExampleGcsSource.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Examples.ExampleGcsSource.Builder
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年11月19日 UTC.