Class ImportProductSetsInputConfig.Builder (3.11.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public ImportProductSetsInputConfig build()
Returns
TypeDescription
ImportProductSetsInputConfig

buildPartial()

public ImportProductSetsInputConfig buildPartial()
Returns
TypeDescription
ImportProductSetsInputConfig

clear()

public ImportProductSetsInputConfig.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportProductSetsInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
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;

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

public ImportProductSetsInputConfig.Builder clearSource()

clone()

public ImportProductSetsInputConfig.Builder clone()
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;

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;

getSourceCase()

public ImportProductSetsInputConfig.SourceCase getSourceCase()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportProductSetsInputConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImportProductSetsInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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