Class AvroSource.Builder (3.31.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.v1beta1.AvroSource

Implements

AvroSourceOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AvroSource build()
Returns
TypeDescription
AvroSource

buildPartial()

public AvroSource buildPartial()
Returns
TypeDescription
AvroSource

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSource()

public AvroSource.Builder clearGcsSource()

Required. Google Cloud Storage location.

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

Returns
TypeDescription
AvroSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AvroSource getDefaultInstanceForType()
Returns
TypeDescription
AvroSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsSource()

public GcsSource getGcsSource()

Required. Google Cloud Storage location.

.google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GcsSourceOrBuilder

hasGcsSource()

public boolean hasGcsSource()

Required. Google Cloud Storage location.

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

public AvroSource.Builder mergeFrom(AvroSource other)
Parameter
NameDescription
otherAvroSource
Returns
TypeDescription
AvroSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsSource(GcsSource value)

public AvroSource.Builder mergeGcsSource(GcsSource value)

Required. Google Cloud Storage location.

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

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
AvroSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSource(GcsSource value)

public AvroSource.Builder setGcsSource(GcsSource value)

Required. Google Cloud Storage location.

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

Parameter
NameDescription
valueGcsSource
Returns
TypeDescription
AvroSource.Builder

setGcsSource(GcsSource.Builder builderForValue)

public AvroSource.Builder setGcsSource(GcsSource.Builder builderForValue)

Required. Google Cloud Storage location.

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

Parameter
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
AvroSource.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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