Class Examples.ExampleGcsSource.Builder (3.84.0)

public static final class Examples.ExampleGcsSource.Builder extends GeneratedMessage.Builder<Examples.ExampleGcsSource.Builder> implements Examples.ExampleGcsSourceOrBuilder

The Cloud Storage input instances.

Protobuf type google.cloud.aiplatform.v1.Examples.ExampleGcsSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Examples.ExampleGcsSource build()
Returns
Type Description
Examples.ExampleGcsSource

buildPartial()

public Examples.ExampleGcsSource buildPartial()
Returns
Type Description
Examples.ExampleGcsSource

clear()

public Examples.ExampleGcsSource.Builder clear()
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

clearDataFormat()

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.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;

Returns
Type Description
Examples.ExampleGcsSource.Builder

This builder for chaining.

clearGcsSource()

public Examples.ExampleGcsSource.Builder clearGcsSource()

The Cloud Storage location for the input instances.

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

Returns
Type Description
Examples.ExampleGcsSource.Builder

getDataFormat()

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.v1.Examples.ExampleGcsSource.DataFormat data_format = 1;

Returns
Type Description
Examples.ExampleGcsSource.DataFormat

The dataFormat.

getDataFormatValue()

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.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()
Returns
Type Description
Examples.ExampleGcsSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsSource()

public GcsSource getGcsSource()

The Cloud Storage location for the input instances.

.google.cloud.aiplatform.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.aiplatform.v1.GcsSource gcs_source = 2;

Returns
Type Description
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

The Cloud Storage location for the input instances.

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

Returns
Type Description
GcsSourceOrBuilder

hasGcsSource()

public boolean hasGcsSource()

The Cloud Storage location for the input instances.

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

Returns
Type Description
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Examples.ExampleGcsSource other)

public Examples.ExampleGcsSource.Builder mergeFrom(Examples.ExampleGcsSource other)
Parameter
Name Description
other Examples.ExampleGcsSource
Returns
Type Description
Examples.ExampleGcsSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Examples.ExampleGcsSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Examples.ExampleGcsSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

mergeGcsSource(GcsSource value)

public Examples.ExampleGcsSource.Builder mergeGcsSource(GcsSource value)

The Cloud Storage location for the input instances.

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

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

setDataFormat(Examples.ExampleGcsSource.DataFormat value)

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

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.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.

setGcsSource(GcsSource value)

public Examples.ExampleGcsSource.Builder setGcsSource(GcsSource value)

The Cloud Storage location for the input instances.

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

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

setGcsSource(GcsSource.Builder builderForValue)

public Examples.ExampleGcsSource.Builder setGcsSource(GcsSource.Builder builderForValue)

The Cloud Storage location for the input instances.

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

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