public static final class RawDocument.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder> implements RawDocumentOrBuilder
Payload message of raw document content (bytes).Protobuf type
google.cloud.documentai.v1beta3.RawDocument| Modifier and Type | Method and Description |
|---|---|
RawDocument.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RawDocument |
build() |
RawDocument |
buildPartial() |
RawDocument.Builder |
clear() |
RawDocument.Builder |
clearContent()
Inline document content.
|
RawDocument.Builder |
clearDisplayName()
The display name of the document, it supports all Unicode characters except
the following:
`*`, `?
|
RawDocument.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RawDocument.Builder |
clearMimeType()
An IANA MIME type (RFC6838) indicating the nature and format of the
[content][google.cloud.documentai.v1beta3.RawDocument.content].
|
RawDocument.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RawDocument.Builder |
clone() |
com.google.protobuf.ByteString |
getContent()
Inline document content.
|
RawDocument |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The display name of the document, it supports all Unicode characters except
the following:
`*`, `?
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The display name of the document, it supports all Unicode characters except
the following:
`*`, `?
|
String |
getMimeType()
An IANA MIME type (RFC6838) indicating the nature and format of the
[content][google.cloud.documentai.v1beta3.RawDocument.content].
|
com.google.protobuf.ByteString |
getMimeTypeBytes()
An IANA MIME type (RFC6838) indicating the nature and format of the
[content][google.cloud.documentai.v1beta3.RawDocument.content].
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RawDocument.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RawDocument.Builder |
mergeFrom(com.google.protobuf.Message other) |
RawDocument.Builder |
mergeFrom(RawDocument other) |
RawDocument.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RawDocument.Builder |
setContent(com.google.protobuf.ByteString value)
Inline document content.
|
RawDocument.Builder |
setDisplayName(String value)
The display name of the document, it supports all Unicode characters except
the following:
`*`, `?
|
RawDocument.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the document, it supports all Unicode characters except
the following:
`*`, `?
|
RawDocument.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RawDocument.Builder |
setMimeType(String value)
An IANA MIME type (RFC6838) indicating the nature and format of the
[content][google.cloud.documentai.v1beta3.RawDocument.content].
|
RawDocument.Builder |
setMimeTypeBytes(com.google.protobuf.ByteString value)
An IANA MIME type (RFC6838) indicating the nature and format of the
[content][google.cloud.documentai.v1beta3.RawDocument.content].
|
RawDocument.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RawDocument.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public RawDocument.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public RawDocument getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RawDocument build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RawDocument buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RawDocument.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public RawDocument.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public RawDocument.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public RawDocument.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public RawDocument.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public RawDocument.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public RawDocument.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RawDocument.Builder>public RawDocument.Builder mergeFrom(RawDocument other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public RawDocument.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RawDocument.Builder>IOExceptionpublic com.google.protobuf.ByteString getContent()
Inline document content.
bytes content = 1;getContent in interface RawDocumentOrBuilderpublic RawDocument.Builder setContent(com.google.protobuf.ByteString value)
Inline document content.
bytes content = 1;value - The content to set.public RawDocument.Builder clearContent()
Inline document content.
bytes content = 1;public String getMimeType()
An IANA MIME type (RFC6838) indicating the nature and format of the [content][google.cloud.documentai.v1beta3.RawDocument.content].
string mime_type = 2;getMimeType in interface RawDocumentOrBuilderpublic com.google.protobuf.ByteString getMimeTypeBytes()
An IANA MIME type (RFC6838) indicating the nature and format of the [content][google.cloud.documentai.v1beta3.RawDocument.content].
string mime_type = 2;getMimeTypeBytes in interface RawDocumentOrBuilderpublic RawDocument.Builder setMimeType(String value)
An IANA MIME type (RFC6838) indicating the nature and format of the [content][google.cloud.documentai.v1beta3.RawDocument.content].
string mime_type = 2;value - The mimeType to set.public RawDocument.Builder clearMimeType()
An IANA MIME type (RFC6838) indicating the nature and format of the [content][google.cloud.documentai.v1beta3.RawDocument.content].
string mime_type = 2;public RawDocument.Builder setMimeTypeBytes(com.google.protobuf.ByteString value)
An IANA MIME type (RFC6838) indicating the nature and format of the [content][google.cloud.documentai.v1beta3.RawDocument.content].
string mime_type = 2;value - The bytes for mimeType to set.public String getDisplayName()
The display name of the document, it supports all Unicode characters except
the following:
`*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\"`, `,`
`~`, `=` and `:` are reserved.
If not specified, a default ID is generated.
string display_name = 3;getDisplayName in interface RawDocumentOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the document, it supports all Unicode characters except
the following:
`*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\"`, `,`
`~`, `=` and `:` are reserved.
If not specified, a default ID is generated.
string display_name = 3;getDisplayNameBytes in interface RawDocumentOrBuilderpublic RawDocument.Builder setDisplayName(String value)
The display name of the document, it supports all Unicode characters except
the following:
`*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\"`, `,`
`~`, `=` and `:` are reserved.
If not specified, a default ID is generated.
string display_name = 3;value - The displayName to set.public RawDocument.Builder clearDisplayName()
The display name of the document, it supports all Unicode characters except
the following:
`*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\"`, `,`
`~`, `=` and `:` are reserved.
If not specified, a default ID is generated.
string display_name = 3;public RawDocument.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the document, it supports all Unicode characters except
the following:
`*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\"`, `,`
`~`, `=` and `:` are reserved.
If not specified, a default ID is generated.
string display_name = 3;value - The bytes for displayName to set.public final RawDocument.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>public final RawDocument.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RawDocument.Builder>Copyright © 2024 Google LLC. All rights reserved.