Send feedback
Class ProcessorVersion.DeprecationInfo.Builder (2.7.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.7.2 keyboard_arrow_down
public static final class ProcessorVersion . DeprecationInfo . Builder extends GeneratedMessageV3 . Builder<ProcessorVersion . DeprecationInfo . Builder > implements ProcessorVersion . DeprecationInfoOrBuilder
Information about the upcoming deprecation of this processor version.
Protobuf type google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion . DeprecationInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ProcessorVersion . DeprecationInfo build ()
Returns
buildPartial()
public ProcessorVersion . DeprecationInfo buildPartial ()
Returns
clear()
public ProcessorVersion . DeprecationInfo . Builder clear ()
Returns
Overrides
clearDeprecationTime()
public ProcessorVersion . DeprecationInfo . Builder clearDeprecationTime ()
The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ProcessorVersion . DeprecationInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessorVersion . DeprecationInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearReplacementProcessorVersion()
public ProcessorVersion . DeprecationInfo . Builder clearReplacementProcessorVersion ()
If set, the processor version that will be used as a replacement.
string replacement_processor_version = 2 [(.google.api.resource_reference) = { ... }
Returns
clone()
public ProcessorVersion . DeprecationInfo . Builder clone ()
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
getDeprecationTimeBuilder()
public Timestamp . Builder getDeprecationTimeBuilder ()
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
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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.
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeDeprecationTime(Timestamp value)
public ProcessorVersion . DeprecationInfo . Builder mergeDeprecationTime ( Timestamp value )
The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
Parameter
Returns
mergeFrom(ProcessorVersion.DeprecationInfo other)
public ProcessorVersion . DeprecationInfo . Builder mergeFrom ( ProcessorVersion . DeprecationInfo other )
Parameter
Returns
public ProcessorVersion . DeprecationInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ProcessorVersion . DeprecationInfo . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion . DeprecationInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setDeprecationTime(Timestamp value)
public ProcessorVersion . DeprecationInfo . Builder setDeprecationTime ( Timestamp value )
The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
Parameter
Returns
setDeprecationTime(Timestamp.Builder builderForValue)
public ProcessorVersion . DeprecationInfo . Builder setDeprecationTime ( Timestamp . Builder builderForValue )
The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
Parameter
Name Description builderForValue Builder
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion . DeprecationInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessorVersion . DeprecationInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setReplacementProcessorVersion(String value)
public ProcessorVersion . DeprecationInfo . Builder setReplacementProcessorVersion ( String value )
If set, the processor version that will be used as a replacement.
string replacement_processor_version = 2 [(.google.api.resource_reference) = { ... }
Parameter
Name Description value String
The replacementProcessorVersion to set.
Returns
setReplacementProcessorVersionBytes(ByteString value)
public ProcessorVersion . DeprecationInfo . Builder setReplacementProcessorVersionBytes ( ByteString value )
If set, the processor version that will be used as a replacement.
string replacement_processor_version = 2 [(.google.api.resource_reference) = { ... }
Parameter
Name Description value ByteString
The bytes for replacementProcessorVersion to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion . DeprecationInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]