- 2.59.0 (latest)
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class RevisionRef.Builder extends GeneratedMessageV3.Builder<RevisionRef.Builder> implements RevisionRefOrBuilder
The revision reference specifies which revision on the document to read.
Protobuf type google.cloud.documentai.v1beta3.RevisionRef
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RevisionRef.BuilderImplements
RevisionRefOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RevisionRef.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
build()
public RevisionRef build()
Returns | |
---|---|
Type | Description |
RevisionRef |
buildPartial()
public RevisionRef buildPartial()
Returns | |
---|---|
Type | Description |
RevisionRef |
clear()
public RevisionRef.Builder clear()
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
clearField(Descriptors.FieldDescriptor field)
public RevisionRef.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
clearLatestProcessorVersion()
public RevisionRef.Builder clearLatestProcessorVersion()
Reads the revision generated by the processor version.
The format takes the full resource name of processor version.
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
string latest_processor_version = 3;
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RevisionRef.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
clearRevisionCase()
public RevisionRef.Builder clearRevisionCase()
Reads the revision by the predefined case.
.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
This builder for chaining. |
clearRevisionId()
public RevisionRef.Builder clearRevisionId()
Reads the revision given by the id.
string revision_id = 2;
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
This builder for chaining. |
clearSource()
public RevisionRef.Builder clearSource()
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
clone()
public RevisionRef.Builder clone()
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
getDefaultInstanceForType()
public RevisionRef getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RevisionRef |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLatestProcessorVersion()
public String getLatestProcessorVersion()
Reads the revision generated by the processor version.
The format takes the full resource name of processor version.
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
string latest_processor_version = 3;
Returns | |
---|---|
Type | Description |
String |
The latestProcessorVersion. |
getLatestProcessorVersionBytes()
public ByteString getLatestProcessorVersionBytes()
Reads the revision generated by the processor version.
The format takes the full resource name of processor version.
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
string latest_processor_version = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for latestProcessorVersion. |
getRevisionCase()
public RevisionRef.RevisionCase getRevisionCase()
Reads the revision by the predefined case.
.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;
Returns | |
---|---|
Type | Description |
RevisionRef.RevisionCase |
The revisionCase. |
getRevisionCaseValue()
public int getRevisionCaseValue()
Reads the revision by the predefined case.
.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for revisionCase. |
getRevisionId()
public String getRevisionId()
Reads the revision given by the id.
string revision_id = 2;
Returns | |
---|---|
Type | Description |
String |
The revisionId. |
getRevisionIdBytes()
public ByteString getRevisionIdBytes()
Reads the revision given by the id.
string revision_id = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for revisionId. |
getSourceCase()
public RevisionRef.SourceCase getSourceCase()
Returns | |
---|---|
Type | Description |
RevisionRef.SourceCase |
hasLatestProcessorVersion()
public boolean hasLatestProcessorVersion()
Reads the revision generated by the processor version.
The format takes the full resource name of processor version.
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
string latest_processor_version = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the latestProcessorVersion field is set. |
hasRevisionCase()
public boolean hasRevisionCase()
Reads the revision by the predefined case.
.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the revisionCase field is set. |
hasRevisionId()
public boolean hasRevisionId()
Reads the revision given by the id.
string revision_id = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the revisionId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RevisionRef other)
public RevisionRef.Builder mergeFrom(RevisionRef other)
Parameter | |
---|---|
Name | Description |
other |
RevisionRef |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RevisionRef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RevisionRef.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RevisionRef.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RevisionRef.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
setLatestProcessorVersion(String value)
public RevisionRef.Builder setLatestProcessorVersion(String value)
Reads the revision generated by the processor version.
The format takes the full resource name of processor version.
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
string latest_processor_version = 3;
Parameter | |
---|---|
Name | Description |
value |
String The latestProcessorVersion to set. |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
This builder for chaining. |
setLatestProcessorVersionBytes(ByteString value)
public RevisionRef.Builder setLatestProcessorVersionBytes(ByteString value)
Reads the revision generated by the processor version.
The format takes the full resource name of processor version.
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
string latest_processor_version = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for latestProcessorVersion to set. |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RevisionRef.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
setRevisionCase(RevisionRef.RevisionCase value)
public RevisionRef.Builder setRevisionCase(RevisionRef.RevisionCase value)
Reads the revision by the predefined case.
.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;
Parameter | |
---|---|
Name | Description |
value |
RevisionRef.RevisionCase The revisionCase to set. |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
This builder for chaining. |
setRevisionCaseValue(int value)
public RevisionRef.Builder setRevisionCaseValue(int value)
Reads the revision by the predefined case.
.google.cloud.documentai.v1beta3.RevisionRef.RevisionCase revision_case = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for revisionCase to set. |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
This builder for chaining. |
setRevisionId(String value)
public RevisionRef.Builder setRevisionId(String value)
Reads the revision given by the id.
string revision_id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The revisionId to set. |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
This builder for chaining. |
setRevisionIdBytes(ByteString value)
public RevisionRef.Builder setRevisionIdBytes(ByteString value)
Reads the revision given by the id.
string revision_id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for revisionId to set. |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RevisionRef.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RevisionRef.Builder |