Class ProcessorVersion.DeprecationInfo (2.50.0)

public static final class ProcessorVersion.DeprecationInfo extends GeneratedMessageV3 implements ProcessorVersion.DeprecationInfoOrBuilder

Information about the upcoming deprecation of this processor version.

Protobuf type google.cloud.documentai.v1.ProcessorVersion.DeprecationInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ProcessorVersion.DeprecationInfo

Static 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
Overrides

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>
Overrides

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
Overrides

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
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProcessorVersion.DeprecationInfo.Builder newBuilderForType()
Returns
Type Description
ProcessorVersion.DeprecationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProcessorVersion.DeprecationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProcessorVersion.DeprecationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

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
Overrides
Exceptions
Type Description
IOException