Class ImportProductSetsInputConfig (3.14.0)

public final class ImportProductSetsInputConfig extends GeneratedMessageV3 implements ImportProductSetsInputConfigOrBuilder

The input content for the ImportProductSets method.

Protobuf type google.cloud.vision.v1p3beta1.ImportProductSetsInputConfig

Static Fields

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportProductSetsInputConfig getDefaultInstance()
Returns
TypeDescription
ImportProductSetsInputConfig

getDescriptor()

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

newBuilder()

public static ImportProductSetsInputConfig.Builder newBuilder()
Returns
TypeDescription
ImportProductSetsInputConfig.Builder

newBuilder(ImportProductSetsInputConfig prototype)

public static ImportProductSetsInputConfig.Builder newBuilder(ImportProductSetsInputConfig prototype)
Parameter
NameDescription
prototypeImportProductSetsInputConfig
Returns
TypeDescription
ImportProductSetsInputConfig.Builder

parseDelimitedFrom(InputStream input)

public static ImportProductSetsInputConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsInputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportProductSetsInputConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsInputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportProductSetsInputConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsInputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportProductSetsInputConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsInputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportProductSetsInputConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsInputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportProductSetsInputConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportProductSetsInputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportProductSetsInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportProductSetsInputConfig> parser()
Returns
TypeDescription
Parser<ImportProductSetsInputConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ImportProductSetsInputConfig getDefaultInstanceForType()
Returns
TypeDescription
ImportProductSetsInputConfig

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.v1p3beta1.ImportProductSetsGcsSource gcs_source = 1;

Returns
TypeDescription
ImportProductSetsGcsSource

The gcsSource.

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.v1p3beta1.ImportProductSetsGcsSource gcs_source = 1;

Returns
TypeDescription
ImportProductSetsGcsSourceOrBuilder

getParserForType()

public Parser<ImportProductSetsInputConfig> getParserForType()
Returns
TypeDescription
Parser<ImportProductSetsInputConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public ImportProductSetsInputConfig.SourceCase getSourceCase()
Returns
TypeDescription
ImportProductSetsInputConfig.SourceCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.v1p3beta1.ImportProductSetsGcsSource gcs_source = 1;

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportProductSetsInputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportProductSetsInputConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException