public static final class ProcessorVersion.DeprecationInfo.Builder extends GeneratedMessage.Builder<ProcessorVersion.DeprecationInfo.Builder> implements ProcessorVersion.DeprecationInfoOrBuilderInformation about the upcoming deprecation of this processor version.
Protobuf type google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProcessorVersion.DeprecationInfo.BuilderImplements
ProcessorVersion.DeprecationInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ProcessorVersion.DeprecationInfo build()| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
buildPartial()
public ProcessorVersion.DeprecationInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
clear()
public ProcessorVersion.DeprecationInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
clearDeprecationTime()
public ProcessorVersion.DeprecationInfo.Builder clearDeprecationTime()The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
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 | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ProcessorVersion.DeprecationInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo |
|
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. |
getDeprecationTimeBuilder()
public Timestamp.Builder getDeprecationTimeBuilder()The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDeprecationTimeOrBuilder()
public TimestampOrBuilder getDeprecationTimeOrBuilder()The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
mergeFrom(ProcessorVersion.DeprecationInfo other)
public ProcessorVersion.DeprecationInfo.Builder mergeFrom(ProcessorVersion.DeprecationInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
ProcessorVersion.DeprecationInfo |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProcessorVersion.DeprecationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProcessorVersion.DeprecationInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
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 | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
|
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 |
StringThe replacementProcessorVersion to set. |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for replacementProcessorVersion to set. |
| Returns | |
|---|---|
| Type | Description |
ProcessorVersion.DeprecationInfo.Builder |
This builder for chaining. |