Package com.google.cloud.documentai.v1
Interface ProcessorVersion.DeprecationInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProcessorVersion.DeprecationInfo,ProcessorVersion.DeprecationInfo.Builder
- Enclosing class:
- ProcessorVersion
public static interface ProcessorVersion.DeprecationInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe time at which this processor version will be deprecated.com.google.protobuf.TimestampOrBuilderThe time at which this processor version will be deprecated.If set, the processor version that will be used as a replacement.com.google.protobuf.ByteStringIf set, the processor version that will be used as a replacement.booleanThe time at which this processor version will be deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDeprecationTime
boolean hasDeprecationTime()The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;- Returns:
- Whether the deprecationTime field is set.
-
getDeprecationTime
com.google.protobuf.Timestamp getDeprecationTime()The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;- Returns:
- The deprecationTime.
-
getDeprecationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getDeprecationTimeOrBuilder()The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1; -
getReplacementProcessorVersion
String getReplacementProcessorVersion()If set, the processor version that will be used as a replacement.
string replacement_processor_version = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The replacementProcessorVersion.
-
getReplacementProcessorVersionBytes
com.google.protobuf.ByteString getReplacementProcessorVersionBytes()If set, the processor version that will be used as a replacement.
string replacement_processor_version = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for replacementProcessorVersion.
-