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.v1.ProcessorVersion.DeprecationInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.DeprecationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ProcessorVersion.DeprecationInfo build()
buildPartial()
public ProcessorVersion.DeprecationInfo buildPartial()
clear()
public ProcessorVersion.DeprecationInfo.Builder clear()
Overrides
clearDeprecationTime()
public ProcessorVersion.DeprecationInfo.Builder clearDeprecationTime()
The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
clearField(Descriptors.FieldDescriptor field)
public ProcessorVersion.DeprecationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProcessorVersion.DeprecationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public ProcessorVersion.DeprecationInfo.Builder clone()
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.
|
getDeprecationTimeBuilder()
public Timestamp.Builder getDeprecationTimeBuilder()
The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
getDeprecationTimeOrBuilder()
public TimestampOrBuilder getDeprecationTimeOrBuilder()
The time at which this processor version will be deprecated.
.google.protobuf.Timestamp deprecation_time = 1;
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(ProcessorVersion.DeprecationInfo other)
public ProcessorVersion.DeprecationInfo.Builder mergeFrom(ProcessorVersion.DeprecationInfo other)
public ProcessorVersion.DeprecationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ProcessorVersion.DeprecationInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.DeprecationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ProcessorVersion.DeprecationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProcessorVersion.DeprecationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ProcessorVersion.DeprecationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides