Class AvroSource.Builder (3.46.0)

public static final class AvroSource.Builder extends GeneratedMessageV3.Builder<AvroSource.Builder> implements AvroSourceOrBuilder

The storage details for Avro input content.

Protobuf type google.cloud.aiplatform.v1.AvroSource

Implements

AvroSourceOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AvroSource build()
Returns
Type Description
AvroSource

buildPartial()

public AvroSource buildPartial()
Returns
Type Description
AvroSource

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSource()

public AvroSource.Builder clearGcsSource()

Required. Google Cloud Storage location.

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

Returns
Type Description
AvroSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AvroSource getDefaultInstanceForType()
Returns
Type Description
AvroSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
GcsSourceOrBuilder

hasGcsSource()

public boolean hasGcsSource()

Required. Google Cloud Storage location.

.google.cloud.aiplatform.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(AvroSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsSource(GcsSource value)

public AvroSource.Builder mergeGcsSource(GcsSource value)

Required. Google Cloud Storage location.

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

Parameter
Name Description
value GcsSource
Returns
Type Description
AvroSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSource(GcsSource value)

public AvroSource.Builder setGcsSource(GcsSource value)

Required. Google Cloud Storage location.

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

Parameter
Name Description
value GcsSource
Returns
Type Description
AvroSource.Builder

setGcsSource(GcsSource.Builder builderForValue)

public AvroSource.Builder setGcsSource(GcsSource.Builder builderForValue)

Required. Google Cloud Storage location.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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