Class CsvSource.Builder (1.6.0)

public static final class CsvSource.Builder extends GeneratedMessageV3.Builder<CsvSource.Builder> implements CsvSourceOrBuilder

The storage details for CSV input content.

Protobuf type google.cloud.vertexai.v1.CsvSource

Implements

CsvSourceOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CsvSource build()
Returns
Type Description
CsvSource

buildPartial()

public CsvSource buildPartial()
Returns
Type Description
CsvSource

clear()

public CsvSource.Builder clear()
Returns
Type Description
CsvSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSource()

public CsvSource.Builder clearGcsSource()

Required. Google Cloud Storage location.

.google.cloud.vertexai.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CsvSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CsvSource.Builder clone()
Returns
Type Description
CsvSource.Builder
Overrides

getDefaultInstanceForType()

public CsvSource getDefaultInstanceForType()
Returns
Type Description
CsvSource

getDescriptorForType()

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

getGcsSource()

public GcsSource getGcsSource()

Required. Google Cloud Storage location.

.google.cloud.vertexai.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

Required. Google Cloud Storage location.

.google.cloud.vertexai.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Required. Google Cloud Storage location.

.google.cloud.vertexai.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcsSourceOrBuilder

hasGcsSource()

public boolean hasGcsSource()

Required. Google Cloud Storage location.

.google.cloud.vertexai.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsSource(GcsSource value)

public CsvSource.Builder mergeGcsSource(GcsSource value)

Required. Google Cloud Storage location.

.google.cloud.vertexai.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GcsSource
Returns
Type Description
CsvSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSource(GcsSource value)

public CsvSource.Builder setGcsSource(GcsSource value)

Required. Google Cloud Storage location.

.google.cloud.vertexai.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GcsSource
Returns
Type Description
CsvSource.Builder

setGcsSource(GcsSource.Builder builderForValue)

public CsvSource.Builder setGcsSource(GcsSource.Builder builderForValue)

Required. Google Cloud Storage location.

.google.cloud.vertexai.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
CsvSource.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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