Class ImportProductSetsInputConfig.Builder (3.6.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.v1.ImportProductSetsInputConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportProductSetsInputConfig build()
Returns
TypeDescription
ImportProductSetsInputConfig

buildPartial()

public ImportProductSetsInputConfig buildPartial()
Returns
TypeDescription
ImportProductSetsInputConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ImportProductSetsInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v1.ImportProductSetsGcsSource gcs_source = 1;

Returns
TypeDescription
ImportProductSetsInputConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

public ImportProductSetsInputConfig.Builder clearSource()
Returns
TypeDescription
ImportProductSetsInputConfig.Builder

clone()

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

getDefaultInstanceForType()

public ImportProductSetsInputConfig getDefaultInstanceForType()
Returns
TypeDescription
ImportProductSetsInputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1.ImportProductSetsGcsSource gcs_source = 1;

Returns
TypeDescription
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.v1.ImportProductSetsGcsSource gcs_source = 1;

Returns
TypeDescription
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.v1.ImportProductSetsGcsSource gcs_source = 1;

Returns
TypeDescription
ImportProductSetsGcsSourceOrBuilder

getSourceCase()

public ImportProductSetsInputConfig.SourceCase getSourceCase()
Returns
TypeDescription
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.v1.ImportProductSetsGcsSource gcs_source = 1;

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

public ImportProductSetsInputConfig.Builder mergeFrom(ImportProductSetsInputConfig other)
Parameter
NameDescription
otherImportProductSetsInputConfig
Returns
TypeDescription
ImportProductSetsInputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportProductSetsInputConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1.ImportProductSetsGcsSource gcs_source = 1;

Parameter
NameDescription
valueImportProductSetsGcsSource
Returns
TypeDescription
ImportProductSetsInputConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImportProductSetsInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1.ImportProductSetsGcsSource gcs_source = 1;

Parameter
NameDescription
valueImportProductSetsGcsSource
Returns
TypeDescription
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.v1.ImportProductSetsGcsSource gcs_source = 1;

Parameter
NameDescription
builderForValueImportProductSetsGcsSource.Builder
Returns
TypeDescription
ImportProductSetsInputConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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