Class ProcessorVersion.DeprecationInfo (2.36.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.v1beta3.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
TypeDescription
int

REPLACEMENT_PROCESSOR_VERSION_FIELD_NUMBER

public static final int REPLACEMENT_PROCESSOR_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProcessorVersion.DeprecationInfo getDefaultInstance()
Returns
TypeDescription
ProcessorVersion.DeprecationInfo

getDescriptor()

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

newBuilder()

public static ProcessorVersion.DeprecationInfo.Builder newBuilder()
Returns
TypeDescription
ProcessorVersion.DeprecationInfo.Builder

newBuilder(ProcessorVersion.DeprecationInfo prototype)

public static ProcessorVersion.DeprecationInfo.Builder newBuilder(ProcessorVersion.DeprecationInfo prototype)
Parameter
NameDescription
prototypeProcessorVersion.DeprecationInfo
Returns
TypeDescription
ProcessorVersion.DeprecationInfo.Builder

parseDelimitedFrom(InputStream input)

public static ProcessorVersion.DeprecationInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessorVersion.DeprecationInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ProcessorVersion.DeprecationInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProcessorVersion.DeprecationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ProcessorVersion.DeprecationInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProcessorVersion.DeprecationInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ProcessorVersion.DeprecationInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProcessorVersion.DeprecationInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ProcessorVersion.DeprecationInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProcessorVersion.DeprecationInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ProcessorVersion.DeprecationInfo> parser()
Returns
TypeDescription
Parser<DeprecationInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ProcessorVersion.DeprecationInfo getDefaultInstanceForType()
Returns
TypeDescription
ProcessorVersion.DeprecationInfo

getDeprecationTime()

public Timestamp getDeprecationTime()

The time at which this processor version will be deprecated.

.google.protobuf.Timestamp deprecation_time = 1;

Returns
TypeDescription
Timestamp

The deprecationTime.

getDeprecationTimeOrBuilder()

public TimestampOrBuilder getDeprecationTimeOrBuilder()

The time at which this processor version will be deprecated.

.google.protobuf.Timestamp deprecation_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<ProcessorVersion.DeprecationInfo> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for replacementProcessorVersion.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDeprecationTime()

public boolean hasDeprecationTime()

The time at which this processor version will be deprecated.

.google.protobuf.Timestamp deprecation_time = 1;

Returns
TypeDescription
boolean

Whether the deprecationTime 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 ProcessorVersion.DeprecationInfo.Builder newBuilderForType()
Returns
TypeDescription
ProcessorVersion.DeprecationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProcessorVersion.DeprecationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProcessorVersion.DeprecationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ProcessorVersion.DeprecationInfo.Builder toBuilder()
Returns
TypeDescription
ProcessorVersion.DeprecationInfo.Builder

writeTo(CodedOutputStream output)

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