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 |
---|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ProcessorVersion.DeprecationInfo.Builder newBuilder()
newBuilder(ProcessorVersion.DeprecationInfo prototype)
public static ProcessorVersion.DeprecationInfo.Builder newBuilder(ProcessorVersion.DeprecationInfo prototype)
public static ProcessorVersion.DeprecationInfo parseDelimitedFrom(InputStream input)
public static ProcessorVersion.DeprecationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ProcessorVersion.DeprecationInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(CodedInputStream input)
public static ProcessorVersion.DeprecationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(InputStream input)
public static ProcessorVersion.DeprecationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProcessorVersion.DeprecationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ProcessorVersion.DeprecationInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ProcessorVersion.DeprecationInfo getDefaultInstanceForType()
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;
getParserForType()
public Parser<ProcessorVersion.DeprecationInfo> getParserForType()
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ProcessorVersion.DeprecationInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ProcessorVersion.DeprecationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ProcessorVersion.DeprecationInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides