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
Static Fields
DEPRECATION_TIME_FIELD_NUMBER
public static final int DEPRECATION_TIME_FIELD_NUMBER
Field Value
REPLACEMENT_PROCESSOR_VERSION_FIELD_NUMBER
public static final int REPLACEMENT_PROCESSOR_VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ProcessorVersion.DeprecationInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ProcessorVersion.DeprecationInfo.Builder newBuilder()
Returns
newBuilder(ProcessorVersion.DeprecationInfo prototype)
public static ProcessorVersion.DeprecationInfo.Builder newBuilder(ProcessorVersion.DeprecationInfo prototype)
Parameter
Returns
public static ProcessorVersion.DeprecationInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProcessorVersion.DeprecationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ProcessorVersion.DeprecationInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProcessorVersion.DeprecationInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ProcessorVersion.DeprecationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProcessorVersion.DeprecationInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProcessorVersion.DeprecationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ProcessorVersion.DeprecationInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ProcessorVersion.DeprecationInfo getDefaultInstanceForType()
Returns
getDeprecationTime()
public Timestamp getDeprecationTime()
The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
Returns
getDeprecationTimeOrBuilder()
public TimestampOrBuilder getDeprecationTimeOrBuilder()
The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
Returns
getParserForType()
public Parser<ProcessorVersion.DeprecationInfo> getParserForType()
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ProcessorVersion.DeprecationInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ProcessorVersion.DeprecationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ProcessorVersion.DeprecationInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions