Class ImportProductSetsInputConfig.Builder (3.47.0)

public static final class ImportProductSetsInputConfig.Builder extends GeneratedMessageV3.Builder<ImportProductSetsInputConfig.Builder> implements ImportProductSetsInputConfigOrBuilder

The input content for the ImportProductSets method.

Protobuf type google.cloud.vision.v1p4beta1.ImportProductSetsInputConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportProductSetsInputConfig build()
Returns
Type Description
ImportProductSetsInputConfig

buildPartial()

public ImportProductSetsInputConfig buildPartial()
Returns
Type Description
ImportProductSetsInputConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSource()

public ImportProductSetsInputConfig.Builder clearGcsSource()

The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.

.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource gcs_source = 1;

Returns
Type Description
ImportProductSetsInputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

public ImportProductSetsInputConfig.Builder clearSource()
Returns
Type Description
ImportProductSetsInputConfig.Builder

clone()

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

getDefaultInstanceForType()

public ImportProductSetsInputConfig getDefaultInstanceForType()
Returns
Type Description
ImportProductSetsInputConfig

getDescriptorForType()

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

getGcsSource()

public ImportProductSetsGcsSource getGcsSource()

The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.

.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource gcs_source = 1;

Returns
Type Description
ImportProductSetsGcsSource

The gcsSource.

getGcsSourceBuilder()

public ImportProductSetsGcsSource.Builder getGcsSourceBuilder()

The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.

.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource gcs_source = 1;

Returns
Type Description
ImportProductSetsGcsSource.Builder

getGcsSourceOrBuilder()

public ImportProductSetsGcsSourceOrBuilder getGcsSourceOrBuilder()

The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.

.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource gcs_source = 1;

Returns
Type Description
ImportProductSetsGcsSourceOrBuilder

getSourceCase()

public ImportProductSetsInputConfig.SourceCase getSourceCase()
Returns
Type Description
ImportProductSetsInputConfig.SourceCase

hasGcsSource()

public boolean hasGcsSource()

The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.

.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource gcs_source = 1;

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsSource(ImportProductSetsGcsSource value)

public ImportProductSetsInputConfig.Builder mergeGcsSource(ImportProductSetsGcsSource value)

The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.

.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource gcs_source = 1;

Parameter
Name Description
value ImportProductSetsGcsSource
Returns
Type Description
ImportProductSetsInputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSource(ImportProductSetsGcsSource value)

public ImportProductSetsInputConfig.Builder setGcsSource(ImportProductSetsGcsSource value)

The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.

.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource gcs_source = 1;

Parameter
Name Description
value ImportProductSetsGcsSource
Returns
Type Description
ImportProductSetsInputConfig.Builder

setGcsSource(ImportProductSetsGcsSource.Builder builderForValue)

public ImportProductSetsInputConfig.Builder setGcsSource(ImportProductSetsGcsSource.Builder builderForValue)

The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.

.google.cloud.vision.v1p4beta1.ImportProductSetsGcsSource gcs_source = 1;

Parameter
Name Description
builderForValue ImportProductSetsGcsSource.Builder
Returns
Type Description
ImportProductSetsInputConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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