public static class DeprecationStatus.Builder extends Object
Modifier and Type | Method and Description |
---|---|
DeprecationStatus |
build() |
DeprecationStatus.Builder |
clone() |
String |
getDeleted()
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.
|
String |
getObsolete()
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.
|
String |
getState()
The deprecation state of this resource.
|
DeprecationStatus.Builder |
mergeFrom(DeprecationStatus other) |
DeprecationStatus.Builder |
setDeleted(String deleted)
An optional RFC3339 timestamp on or after which the state of this resource is intended to
change to DELETED.
|
DeprecationStatus.Builder |
setDeprecated(String deprecated)
An optional RFC3339 timestamp on or after which the state of this resource is intended to
change to DEPRECATED.
|
DeprecationStatus.Builder |
setObsolete(String obsolete)
An optional RFC3339 timestamp on or after which the state of this resource is intended to
change to OBSOLETE.
|
DeprecationStatus.Builder |
setReplacement(String replacement)
The URL of the suggested replacement for a deprecated resource.
|
DeprecationStatus.Builder |
setState(String state)
The deprecation state of this resource.
|
public DeprecationStatus.Builder mergeFrom(DeprecationStatus other)
public String getDeleted()
public DeprecationStatus.Builder setDeleted(String deleted)
public String getDeprecated()
public DeprecationStatus.Builder setDeprecated(String deprecated)
public String getObsolete()
public DeprecationStatus.Builder setObsolete(String obsolete)
public String getReplacement()
public DeprecationStatus.Builder setReplacement(String replacement)
public String getState()
public DeprecationStatus.Builder setState(String state)
public DeprecationStatus build()
public DeprecationStatus.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.