Class Examples.ExampleGcsSource.Builder (3.45.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Examples.ExampleGcsSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Examples.ExampleGcsSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Examples.ExampleGcsSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Examples.ExampleGcsSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

public Examples.ExampleGcsSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

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

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

public Examples.ExampleGcsSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Examples.ExampleGcsSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Examples.ExampleGcsSource.Builder
Overrides