Package com.google.cloud.compute.v1
Class DeprecationStatus
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.DeprecationStatus
-
- All Implemented Interfaces:
DeprecationStatusOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DeprecationStatus extends com.google.protobuf.GeneratedMessageV3 implements DeprecationStatusOrBuilder
Deprecation status for a public resource.
Protobuf typegoogle.cloud.compute.v1.DeprecationStatus- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeprecationStatus.BuilderDeprecation status for a public resource.static classDeprecationStatus.StateThe deprecation state of this resource.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDELETED_FIELD_NUMBERstatic intDEPRECATED_FIELD_NUMBERstatic intOBSOLETE_FIELD_NUMBERstatic intREPLACEMENT_FIELD_NUMBERstatic intSTATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static DeprecationStatusgetDefaultInstance()DeprecationStatusgetDefaultInstanceForType()StringgetDeleted()An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.com.google.protobuf.ByteStringgetDeletedBytes()An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.StringgetDeprecated()An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.com.google.protobuf.ByteStringgetDeprecatedBytes()An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetObsolete()An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.com.google.protobuf.ByteStringgetObsoleteBytes()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()StringgetReplacement()The URL of the suggested replacement for a deprecated resource.com.google.protobuf.ByteStringgetReplacementBytes()The URL of the suggested replacement for a deprecated resource.intgetSerializedSize()StringgetState()The deprecation state of this resource.com.google.protobuf.ByteStringgetStateBytes()The deprecation state of this resource.booleanhasDeleted()An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED.booleanhasDeprecated()An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED.inthashCode()booleanhasObsolete()An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE.booleanhasReplacement()The URL of the suggested replacement for a deprecated resource.booleanhasState()The deprecation state of this resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DeprecationStatus.BuildernewBuilder()static DeprecationStatus.BuildernewBuilder(DeprecationStatus prototype)DeprecationStatus.BuildernewBuilderForType()protected DeprecationStatus.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DeprecationStatusparseDelimitedFrom(InputStream input)static DeprecationStatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeprecationStatusparseFrom(byte[] data)static DeprecationStatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeprecationStatusparseFrom(com.google.protobuf.ByteString data)static DeprecationStatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeprecationStatusparseFrom(com.google.protobuf.CodedInputStream input)static DeprecationStatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeprecationStatusparseFrom(InputStream input)static DeprecationStatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeprecationStatusparseFrom(ByteBuffer data)static DeprecationStatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DeprecationStatus>parser()DeprecationStatus.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DELETED_FIELD_NUMBER
public static final int DELETED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPRECATED_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBSOLETE_FIELD_NUMBER
public static final int OBSOLETE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPLACEMENT_FIELD_NUMBER
public static final int REPLACEMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasDeleted
public 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;- Specified by:
hasDeletedin interfaceDeprecationStatusOrBuilder- Returns:
- Whether the deleted field is set.
-
getDeleted
public 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;- Specified by:
getDeletedin interfaceDeprecationStatusOrBuilder- Returns:
- The deleted.
-
getDeletedBytes
public 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;- Specified by:
getDeletedBytesin interfaceDeprecationStatusOrBuilder- Returns:
- The bytes for deleted.
-
hasDeprecated
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;- Specified by:
hasDeprecatedin interfaceDeprecationStatusOrBuilder- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public 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;- Specified by:
getDeprecatedin interfaceDeprecationStatusOrBuilder- Returns:
- The deprecated.
-
getDeprecatedBytes
public 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;- Specified by:
getDeprecatedBytesin interfaceDeprecationStatusOrBuilder- Returns:
- The bytes for deprecated.
-
hasObsolete
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;- Specified by:
hasObsoletein interfaceDeprecationStatusOrBuilder- Returns:
- Whether the obsolete field is set.
-
getObsolete
public 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;- Specified by:
getObsoletein interfaceDeprecationStatusOrBuilder- Returns:
- The obsolete.
-
getObsoleteBytes
public 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;- Specified by:
getObsoleteBytesin interfaceDeprecationStatusOrBuilder- Returns:
- The bytes for obsolete.
-
hasReplacement
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;- Specified by:
hasReplacementin interfaceDeprecationStatusOrBuilder- Returns:
- Whether the replacement field is set.
-
getReplacement
public 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;- Specified by:
getReplacementin interfaceDeprecationStatusOrBuilder- Returns:
- The replacement.
-
getReplacementBytes
public 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;- Specified by:
getReplacementBytesin interfaceDeprecationStatusOrBuilder- Returns:
- The bytes for replacement.
-
hasState
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;- Specified by:
hasStatein interfaceDeprecationStatusOrBuilder- Returns:
- Whether the state field is set.
-
getState
public 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;- Specified by:
getStatein interfaceDeprecationStatusOrBuilder- Returns:
- The state.
-
getStateBytes
public 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;- Specified by:
getStateBytesin interfaceDeprecationStatusOrBuilder- Returns:
- The bytes for state.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DeprecationStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeprecationStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeprecationStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeprecationStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeprecationStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeprecationStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeprecationStatus parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DeprecationStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DeprecationStatus parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DeprecationStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DeprecationStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DeprecationStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DeprecationStatus.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DeprecationStatus.Builder newBuilder()
-
newBuilder
public static DeprecationStatus.Builder newBuilder(DeprecationStatus prototype)
-
toBuilder
public DeprecationStatus.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeprecationStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DeprecationStatus getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DeprecationStatus> parser()
-
getParserForType
public com.google.protobuf.Parser<DeprecationStatus> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DeprecationStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-