public final class DeprecationStatus extends com.google.protobuf.GeneratedMessageV3 implements DeprecationStatusOrBuilder
Deprecation status for a public resource.Protobuf type
google.cloud.compute.v1.DeprecationStatus| Modifier and Type | Class and Description |
|---|---|
static class |
DeprecationStatus.Builder
Deprecation status for a public resource.
|
static class |
DeprecationStatus.State
The deprecation state of this resource.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DELETED_FIELD_NUMBER |
static int |
DEPRECATED_FIELD_NUMBER |
static int |
OBSOLETE_FIELD_NUMBER |
static int |
REPLACEMENT_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DeprecationStatus |
getDefaultInstance() |
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() |
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.
|
com.google.protobuf.Parser<DeprecationStatus> |
getParserForType() |
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.
|
int |
getSerializedSize() |
String |
getState()
The deprecation state of this resource.
|
com.google.protobuf.ByteString |
getStateBytes()
The deprecation state of this resource.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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() |
static DeprecationStatus.Builder |
newBuilder() |
static DeprecationStatus.Builder |
newBuilder(DeprecationStatus prototype) |
DeprecationStatus.Builder |
newBuilderForType() |
protected DeprecationStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DeprecationStatus |
parseDelimitedFrom(InputStream input) |
static DeprecationStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeprecationStatus |
parseFrom(byte[] data) |
static DeprecationStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeprecationStatus |
parseFrom(ByteBuffer data) |
static DeprecationStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeprecationStatus |
parseFrom(com.google.protobuf.ByteString data) |
static DeprecationStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeprecationStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DeprecationStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DeprecationStatus |
parseFrom(InputStream input) |
static DeprecationStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DeprecationStatus> |
parser() |
DeprecationStatus.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DELETED_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
public static final int OBSOLETE_FIELD_NUMBER
public static final int REPLACEMENT_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DeprecationStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeprecationStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeprecationStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeprecationStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeprecationStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeprecationStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DeprecationStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static DeprecationStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeprecationStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DeprecationStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DeprecationStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DeprecationStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DeprecationStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DeprecationStatus.Builder newBuilder()
public static DeprecationStatus.Builder newBuilder(DeprecationStatus prototype)
public DeprecationStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DeprecationStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DeprecationStatus getDefaultInstance()
public static com.google.protobuf.Parser<DeprecationStatus> parser()
public com.google.protobuf.Parser<DeprecationStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DeprecationStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.