Class Dataset.GCSManagedConfig (2.33.0)

public static final class Dataset.GCSManagedConfig extends GeneratedMessageV3 implements Dataset.GCSManagedConfigOrBuilder

Configuration specific to the Cloud Storage-based implementation.

Protobuf type google.cloud.documentai.v1beta3.Dataset.GCSManagedConfig

Static Fields

GCS_PREFIX_FIELD_NUMBER

public static final int GCS_PREFIX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Dataset.GCSManagedConfig getDefaultInstance()
Returns
TypeDescription
Dataset.GCSManagedConfig

getDescriptor()

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

newBuilder()

public static Dataset.GCSManagedConfig.Builder newBuilder()
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder

newBuilder(Dataset.GCSManagedConfig prototype)

public static Dataset.GCSManagedConfig.Builder newBuilder(Dataset.GCSManagedConfig prototype)
Parameter
NameDescription
prototypeDataset.GCSManagedConfig
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder

parseDelimitedFrom(InputStream input)

public static Dataset.GCSManagedConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Dataset.GCSManagedConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Dataset.GCSManagedConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Dataset.GCSManagedConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Dataset.GCSManagedConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Dataset.GCSManagedConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Dataset.GCSManagedConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Dataset.GCSManagedConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Dataset.GCSManagedConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Dataset.GCSManagedConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Dataset.GCSManagedConfig> parser()
Returns
TypeDescription
Parser<GCSManagedConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Dataset.GCSManagedConfig getDefaultInstanceForType()
Returns
TypeDescription
Dataset.GCSManagedConfig

getGcsPrefix()

public GcsPrefix getGcsPrefix()

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GcsPrefix

The gcsPrefix.

getGcsPrefixOrBuilder()

public GcsPrefixOrBuilder getGcsPrefixOrBuilder()

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GcsPrefixOrBuilder

getParserForType()

public Parser<Dataset.GCSManagedConfig> getParserForType()
Returns
TypeDescription
Parser<GCSManagedConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasGcsPrefix()

public boolean hasGcsPrefix()

Required. The Cloud Storage URI (a directory) where the documents belonging to the dataset must be stored.

.google.cloud.documentai.v1beta3.GcsPrefix gcs_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the gcsPrefix 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 Dataset.GCSManagedConfig.Builder newBuilderForType()
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Dataset.GCSManagedConfig.Builder toBuilder()
Returns
TypeDescription
Dataset.GCSManagedConfig.Builder

writeTo(CodedOutputStream output)

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