Class CsvSource.Builder (3.31.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.aiplatform.v1.CsvSource

Implements

CsvSourceOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CsvSource build()
Returns
TypeDescription
CsvSource

buildPartial()

public CsvSource buildPartial()
Returns
TypeDescription
CsvSource

clear()

public CsvSource.Builder clear()
Returns
TypeDescription
CsvSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CsvSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CsvSource.Builder
Overrides

clearGcsSource()

public CsvSource.Builder clearGcsSource()

Required. Google Cloud Storage location.

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

Returns
TypeDescription
CsvSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CsvSource.Builder clone()
Returns
TypeDescription
CsvSource.Builder
Overrides

getDefaultInstanceForType()

public CsvSource getDefaultInstanceForType()
Returns
TypeDescription
CsvSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsSource()

public GcsSource getGcsSource()

Required. Google Cloud Storage location.

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

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

Required. Google Cloud Storage location.

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

Returns
TypeDescription
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Required. Google Cloud Storage location.

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

Returns
TypeDescription
GcsSourceOrBuilder

hasGcsSource()

public boolean hasGcsSource()

Required. Google Cloud Storage location.

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

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

public CsvSource.Builder mergeFrom(CsvSource other)
Parameter
NameDescription
otherCsvSource
Returns
TypeDescription
CsvSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CsvSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CsvSource.Builder
Overrides

mergeGcsSource(GcsSource value)

public CsvSource.Builder mergeGcsSource(GcsSource value)

Required. Google Cloud Storage location.

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

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
CsvSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CsvSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CsvSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CsvSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CsvSource.Builder
Overrides

setGcsSource(GcsSource value)

public CsvSource.Builder setGcsSource(GcsSource value)

Required. Google Cloud Storage location.

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

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
CsvSource.Builder

setGcsSource(GcsSource.Builder builderForValue)

public CsvSource.Builder setGcsSource(GcsSource.Builder builderForValue)

Required. Google Cloud Storage location.

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

Parameter
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
CsvSource.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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