Interface DeprecationStatusOrBuilder (1.7.2)

public interface DeprecationStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeleted()

public abstract 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
TypeDescription
String

The deleted.

getDeletedBytes()

public abstract 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
TypeDescription
ByteString

The bytes for deleted.

getDeprecated()

public abstract 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
TypeDescription
String

The deprecated.

getDeprecatedBytes()

public abstract 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
TypeDescription
ByteString

The bytes for deprecated.

getObsolete()

public abstract 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
TypeDescription
String

The obsolete.

getObsoleteBytes()

public abstract 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
TypeDescription
ByteString

The bytes for obsolete.

getReplacement()

public abstract 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
TypeDescription
String

The replacement.

getReplacementBytes()

public abstract 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
TypeDescription
ByteString

The bytes for replacement.

getState()

public abstract 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
TypeDescription
String

The state.

getStateBytes()

public abstract 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
TypeDescription
ByteString

The bytes for state.

hasDeleted()

public abstract 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
TypeDescription
boolean

Whether the deleted field is set.

hasDeprecated()

public abstract 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
TypeDescription
boolean

Whether the deprecated field is set.

hasObsolete()

public abstract 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
TypeDescription
boolean

Whether the obsolete field is set.

hasReplacement()

public abstract 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
TypeDescription
boolean

Whether the replacement field is set.

hasState()

public abstract 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
TypeDescription
boolean

Whether the state field is set.