public static final class ProcessorVersion.DeprecationInfo extends GeneratedMessage implements ProcessorVersion.DeprecationInfoOrBuilderInformation about the upcoming deprecation of this processor version.
Protobuf type google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ProcessorVersion.DeprecationInfoImplements
ProcessorVersion.DeprecationInfoOrBuilderStatic Fields
DEPRECATION_TIME_FIELD_NUMBER
public static final int DEPRECATION_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REPLACEMENT_PROCESSOR_VERSION_FIELD_NUMBER
public static final int REPLACEMENT_PROCESSOR_VERSION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ProcessorVersion.DeprecationInfo getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ProcessorVersion.DeprecationInfo.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
newBuilder(ProcessorVersion.DeprecationInfo prototype)
public static ProcessorVersion.DeprecationInfo.Builder newBuilder(ProcessorVersion.DeprecationInfo prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ProcessorVersion.DeprecationInfo |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
parseDelimitedFrom(InputStream input)
public static ProcessorVersion.DeprecationInfo parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ProcessorVersion.DeprecationInfo parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ProcessorVersion.DeprecationInfo parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ProcessorVersion.DeprecationInfo parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ProcessorVersion.DeprecationInfo> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DeprecationInfo> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ProcessorVersion.DeprecationInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
getDeprecationTime()
public Timestamp getDeprecationTime()The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The deprecationTime. |
getDeprecationTimeOrBuilder()
public TimestampOrBuilder getDeprecationTimeOrBuilder()The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getParserForType()
public Parser<ProcessorVersion.DeprecationInfo> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DeprecationInfo> |
|
getReplacementProcessorVersion()
public String getReplacementProcessorVersion()If set, the processor version that will be used as a replacement.
string replacement_processor_version = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The replacementProcessorVersion. |
getReplacementProcessorVersionBytes()
public ByteString getReplacementProcessorVersionBytes()If set, the processor version that will be used as a replacement.
string replacement_processor_version = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for replacementProcessorVersion. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasDeprecationTime()
public boolean hasDeprecationTime()The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deprecationTime field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ProcessorVersion.DeprecationInfo.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ProcessorVersion.DeprecationInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
toBuilder()
public ProcessorVersion.DeprecationInfo.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|