Package com.google.cloud.compute.v1
Interface DeprecationStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeprecationStatus
,DeprecationStatus.Builder
public interface DeprecationStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDeleted
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;
- Returns:
- Whether the deleted field is set.
-
getDeleted
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;
- Returns:
- The deleted.
-
getDeletedBytes
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;
- Returns:
- The bytes for deleted.
-
hasDeprecated
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;
- Returns:
- Whether the deprecated field is set.
-
getDeprecated
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;
- Returns:
- The deprecated.
-
getDeprecatedBytes
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;
- Returns:
- The bytes for deprecated.
-
hasObsolete
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;
- Returns:
- Whether the obsolete field is set.
-
getObsolete
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;
- Returns:
- The obsolete.
-
getObsoleteBytes
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;
- Returns:
- The bytes for obsolete.
-
hasReplacement
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;
- Returns:
- Whether the replacement field is set.
-
getReplacement
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;
- Returns:
- The replacement.
-
getReplacementBytes
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;
- Returns:
- The bytes for replacement.
-
hasState
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;
- Returns:
- Whether the state field is set.
-
getState
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;
- Returns:
- The state.
-
getStateBytes
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;
- Returns:
- The bytes for state.
-
-