Class Examples.ExampleGcsSource.Builder (3.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Examples.ExampleGcsSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Examples.ExampleGcsSource.Builder
Overrides

build()

public Examples.ExampleGcsSource build()
Returns
TypeDescription
Examples.ExampleGcsSource

buildPartial()

public Examples.ExampleGcsSource buildPartial()
Returns
TypeDescription
Examples.ExampleGcsSource

clear()

public Examples.ExampleGcsSource.Builder clear()
Returns
TypeDescription
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
TypeDescription
Examples.ExampleGcsSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Examples.ExampleGcsSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Examples.ExampleGcsSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Examples.ExampleGcsSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Examples.ExampleGcsSource.Builder
Overrides

clone()

public Examples.ExampleGcsSource.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for dataFormat.

getDefaultInstanceForType()

public Examples.ExampleGcsSource getDefaultInstanceForType()
Returns
TypeDescription
Examples.ExampleGcsSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsSource()

public GcsSource getGcsSource()

The Cloud Storage location for the input instances.

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

Returns
TypeDescription
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
TypeDescription
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

The Cloud Storage location for the input instances.

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

Returns
TypeDescription
GcsSourceOrBuilder

hasGcsSource()

public boolean hasGcsSource()

The Cloud Storage location for the input instances.

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

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Examples.ExampleGcsSource other)

public Examples.ExampleGcsSource.Builder mergeFrom(Examples.ExampleGcsSource other)
Parameter
NameDescription
otherExamples.ExampleGcsSource
Returns
TypeDescription
Examples.ExampleGcsSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Examples.ExampleGcsSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Examples.ExampleGcsSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Examples.ExampleGcsSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGcsSource
Returns
TypeDescription
Examples.ExampleGcsSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Examples.ExampleGcsSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueExamples.ExampleGcsSource.DataFormat

The dataFormat to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for dataFormat to set.

Returns
TypeDescription
Examples.ExampleGcsSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Examples.ExampleGcsSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGcsSource
Returns
TypeDescription
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
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
Examples.ExampleGcsSource.Builder

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

public Examples.ExampleGcsSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Examples.ExampleGcsSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Examples.ExampleGcsSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Examples.ExampleGcsSource.Builder
Overrides