- 1.64.0 (latest)
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class DeprecationStatus.Builder extends GeneratedMessageV3.Builder<DeprecationStatus.Builder> implements DeprecationStatusOrBuilder
Deprecation status for a public resource.
Protobuf type google.cloud.compute.v1.DeprecationStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeprecationStatus.BuilderImplements
DeprecationStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeprecationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeprecationStatus.Builder |
build()
public DeprecationStatus build()
Type | Description |
DeprecationStatus |
buildPartial()
public DeprecationStatus buildPartial()
Type | Description |
DeprecationStatus |
clear()
public DeprecationStatus.Builder clear()
Type | Description |
DeprecationStatus.Builder |
clearDeleted()
public DeprecationStatus.Builder clearDeleted()
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;
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
clearDeprecated()
public DeprecationStatus.Builder clearDeprecated()
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;
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DeprecationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeprecationStatus.Builder |
clearObsolete()
public DeprecationStatus.Builder clearObsolete()
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;
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeprecationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeprecationStatus.Builder |
clearReplacement()
public DeprecationStatus.Builder clearReplacement()
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;
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
clearState()
public DeprecationStatus.Builder clearState()
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;
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
clone()
public DeprecationStatus.Builder clone()
Type | Description |
DeprecationStatus.Builder |
getDefaultInstanceForType()
public DeprecationStatus getDefaultInstanceForType()
Type | Description |
DeprecationStatus |
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;
Type | Description |
String | The deleted. |
getDeletedBytes()
public 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;
Type | Description |
ByteString | The bytes for deleted. |
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;
Type | Description |
String | The deprecated. |
getDeprecatedBytes()
public 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;
Type | Description |
ByteString | The bytes for deprecated. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
String | The obsolete. |
getObsoleteBytes()
public 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;
Type | Description |
ByteString | The bytes for obsolete. |
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;
Type | Description |
String | The replacement. |
getReplacementBytes()
public 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;
Type | Description |
ByteString | The bytes for replacement. |
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;
Type | Description |
String | The state. |
getStateBytes()
public 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;
Type | Description |
ByteString | The bytes for state. |
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;
Type | Description |
boolean | Whether the deleted field is set. |
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;
Type | Description |
boolean | Whether the deprecated field is set. |
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;
Type | Description |
boolean | Whether the obsolete field is set. |
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;
Type | Description |
boolean | Whether the replacement field is set. |
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;
Type | Description |
boolean | Whether the state field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DeprecationStatus other)
public DeprecationStatus.Builder mergeFrom(DeprecationStatus other)
Name | Description |
other | DeprecationStatus |
Type | Description |
DeprecationStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeprecationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeprecationStatus.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeprecationStatus.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeprecationStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeprecationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeprecationStatus.Builder |
setDeleted(String value)
public DeprecationStatus.Builder setDeleted(String value)
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;
Name | Description |
value | String The deleted to set. |
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
setDeletedBytes(ByteString value)
public DeprecationStatus.Builder setDeletedBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for deleted to set. |
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
setDeprecated(String value)
public DeprecationStatus.Builder setDeprecated(String value)
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;
Name | Description |
value | String The deprecated to set. |
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
setDeprecatedBytes(ByteString value)
public DeprecationStatus.Builder setDeprecatedBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for deprecated to set. |
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeprecationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeprecationStatus.Builder |
setObsolete(String value)
public DeprecationStatus.Builder setObsolete(String value)
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;
Name | Description |
value | String The obsolete to set. |
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
setObsoleteBytes(ByteString value)
public DeprecationStatus.Builder setObsoleteBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for obsolete to set. |
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeprecationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeprecationStatus.Builder |
setReplacement(String value)
public DeprecationStatus.Builder setReplacement(String value)
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;
Name | Description |
value | String The replacement to set. |
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
setReplacementBytes(ByteString value)
public DeprecationStatus.Builder setReplacementBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for replacement to set. |
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
setState(String value)
public DeprecationStatus.Builder setState(String value)
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;
Name | Description |
value | String The state to set. |
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
setStateBytes(ByteString value)
public DeprecationStatus.Builder setStateBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for state to set. |
Type | Description |
DeprecationStatus.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeprecationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeprecationStatus.Builder |