public static final class DeprecationStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder> implements DeprecationStatusOrBuilder
Deprecation status for a public resource.Protobuf type
google.cloud.compute.v1.DeprecationStatus| Modifier and Type | Method and Description |
|---|---|
DeprecationStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeprecationStatus |
build() |
DeprecationStatus |
buildPartial() |
DeprecationStatus.Builder |
clear() |
DeprecationStatus.Builder |
clearDeleted()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.
|
DeprecationStatus.Builder |
clearDeprecated()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.
|
DeprecationStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DeprecationStatus.Builder |
clearObsolete()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.
|
DeprecationStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DeprecationStatus.Builder |
clearReplacement()
The URL of the suggested replacement for a deprecated resource.
|
DeprecationStatus.Builder |
clearState()
The deprecation state of this resource.
|
DeprecationStatus.Builder |
clone() |
DeprecationStatus |
getDefaultInstanceForType() |
String |
getDeleted()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.
|
com.google.protobuf.ByteString |
getDeletedBytes()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.
|
String |
getDeprecated()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.
|
com.google.protobuf.ByteString |
getDeprecatedBytes()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getObsolete()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.
|
com.google.protobuf.ByteString |
getObsoleteBytes()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.
|
String |
getReplacement()
The URL of the suggested replacement for a deprecated resource.
|
com.google.protobuf.ByteString |
getReplacementBytes()
The URL of the suggested replacement for a deprecated resource.
|
String |
getState()
The deprecation state of this resource.
|
com.google.protobuf.ByteString |
getStateBytes()
The deprecation state of this resource.
|
boolean |
hasDeleted()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.
|
boolean |
hasDeprecated()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.
|
boolean |
hasObsolete()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.
|
boolean |
hasReplacement()
The URL of the suggested replacement for a deprecated resource.
|
boolean |
hasState()
The deprecation state of this resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeprecationStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DeprecationStatus.Builder |
mergeFrom(DeprecationStatus other) |
DeprecationStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
DeprecationStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DeprecationStatus.Builder |
setDeleted(String value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.
|
DeprecationStatus.Builder |
setDeletedBytes(com.google.protobuf.ByteString value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.
|
DeprecationStatus.Builder |
setDeprecated(String value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.
|
DeprecationStatus.Builder |
setDeprecatedBytes(com.google.protobuf.ByteString value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.
|
DeprecationStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeprecationStatus.Builder |
setObsolete(String value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.
|
DeprecationStatus.Builder |
setObsoleteBytes(com.google.protobuf.ByteString value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.
|
DeprecationStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DeprecationStatus.Builder |
setReplacement(String value)
The URL of the suggested replacement for a deprecated resource.
|
DeprecationStatus.Builder |
setReplacementBytes(com.google.protobuf.ByteString value)
The URL of the suggested replacement for a deprecated resource.
|
DeprecationStatus.Builder |
setState(String value)
The deprecation state of this resource.
|
DeprecationStatus.Builder |
setStateBytes(com.google.protobuf.ByteString value)
The deprecation state of this resource.
|
DeprecationStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public DeprecationStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public DeprecationStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeprecationStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeprecationStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeprecationStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public DeprecationStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public DeprecationStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public DeprecationStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public DeprecationStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public DeprecationStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public DeprecationStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeprecationStatus.Builder>public DeprecationStatus.Builder mergeFrom(DeprecationStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public DeprecationStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeprecationStatus.Builder>IOExceptionpublic boolean hasDeleted()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deleted = 476721177;hasDeleted in interface DeprecationStatusOrBuilderpublic String getDeleted()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deleted = 476721177;getDeleted in interface DeprecationStatusOrBuilderpublic com.google.protobuf.ByteString getDeletedBytes()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deleted = 476721177;getDeletedBytes in interface DeprecationStatusOrBuilderpublic DeprecationStatus.Builder setDeleted(String value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deleted = 476721177;value - The deleted to set.public DeprecationStatus.Builder clearDeleted()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deleted = 476721177;public DeprecationStatus.Builder setDeletedBytes(com.google.protobuf.ByteString value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deleted = 476721177;value - The bytes for deleted to set.public boolean hasDeprecated()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deprecated = 515138995;hasDeprecated in interface DeprecationStatusOrBuilderpublic String getDeprecated()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deprecated = 515138995;getDeprecated in interface DeprecationStatusOrBuilderpublic com.google.protobuf.ByteString getDeprecatedBytes()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deprecated = 515138995;getDeprecatedBytes in interface DeprecationStatusOrBuilderpublic DeprecationStatus.Builder setDeprecated(String value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deprecated = 515138995;value - The deprecated to set.public DeprecationStatus.Builder clearDeprecated()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deprecated = 515138995;public DeprecationStatus.Builder setDeprecatedBytes(com.google.protobuf.ByteString value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
optional string deprecated = 515138995;value - The bytes for deprecated to set.public boolean hasObsolete()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
optional string obsolete = 357647769;hasObsolete in interface DeprecationStatusOrBuilderpublic String getObsolete()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
optional string obsolete = 357647769;getObsolete in interface DeprecationStatusOrBuilderpublic com.google.protobuf.ByteString getObsoleteBytes()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
optional string obsolete = 357647769;getObsoleteBytes in interface DeprecationStatusOrBuilderpublic DeprecationStatus.Builder setObsolete(String value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
optional string obsolete = 357647769;value - The obsolete to set.public DeprecationStatus.Builder clearObsolete()
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
optional string obsolete = 357647769;public DeprecationStatus.Builder setObsoleteBytes(com.google.protobuf.ByteString value)
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
optional string obsolete = 357647769;value - The bytes for obsolete to set.public boolean hasReplacement()
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
optional string replacement = 430919186;hasReplacement in interface DeprecationStatusOrBuilderpublic String getReplacement()
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
optional string replacement = 430919186;getReplacement in interface DeprecationStatusOrBuilderpublic com.google.protobuf.ByteString getReplacementBytes()
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
optional string replacement = 430919186;getReplacementBytes in interface DeprecationStatusOrBuilderpublic DeprecationStatus.Builder setReplacement(String value)
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
optional string replacement = 430919186;value - The replacement to set.public DeprecationStatus.Builder clearReplacement()
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
optional string replacement = 430919186;public DeprecationStatus.Builder setReplacementBytes(com.google.protobuf.ByteString value)
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
optional string replacement = 430919186;value - The bytes for replacement to set.public boolean hasState()
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. Check the State enum for the list of possible values.
optional string state = 109757585;hasState in interface DeprecationStatusOrBuilderpublic String getState()
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. Check the State enum for the list of possible values.
optional string state = 109757585;getState in interface DeprecationStatusOrBuilderpublic com.google.protobuf.ByteString getStateBytes()
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. Check the State enum for the list of possible values.
optional string state = 109757585;getStateBytes in interface DeprecationStatusOrBuilderpublic DeprecationStatus.Builder setState(String value)
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. Check the State enum for the list of possible values.
optional string state = 109757585;value - The state to set.public DeprecationStatus.Builder clearState()
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. Check the State enum for the list of possible values.
optional string state = 109757585;public DeprecationStatus.Builder setStateBytes(com.google.protobuf.ByteString value)
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. Check the State enum for the list of possible values.
optional string state = 109757585;value - The bytes for state to set.public final DeprecationStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>public final DeprecationStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeprecationStatus.Builder>Copyright © 2023 Google LLC. All rights reserved.