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 class
DeprecationStatus.Builder
Deprecation status for a public resource.static class
DeprecationStatus.State
The 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 int
DELETED_FIELD_NUMBER
static int
DEPRECATED_FIELD_NUMBER
static int
OBSOLETE_FIELD_NUMBER
static int
REPLACEMENT_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.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(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 DeprecationStatus
parseFrom(ByteBuffer data)
static DeprecationStatus
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DeprecationStatus>
parser()
DeprecationStatus.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
hasDeleted
in 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:
getDeleted
in 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:
getDeletedBytes
in 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:
hasDeprecated
in 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:
getDeprecated
in 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:
getDeprecatedBytes
in 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:
hasObsolete
in 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:
getObsolete
in 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:
getObsoleteBytes
in 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:
hasReplacement
in 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:
getReplacement
in 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:
getReplacementBytes
in 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:
hasState
in 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:
getState
in 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:
getStateBytes
in interfaceDeprecationStatusOrBuilder
- Returns:
- The bytes for state.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeprecationStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DeprecationStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-