public static final class ReliabilityRisk.Builder extends GeneratedMessage.Builder<ReliabilityRisk.Builder> implements ReliabilityRiskOrBuilderRepresents a ReliabilityRisk resource.
Protobuf type google.cloud.compute.v1.ReliabilityRisk
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReliabilityRisk.BuilderImplements
ReliabilityRiskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReliabilityRisk build()| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk |
|
buildPartial()
public ReliabilityRisk buildPartial()| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk |
|
clear()
public ReliabilityRisk.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
clearCreationTimestamp()
public ReliabilityRisk.Builder clearCreationTimestamp()Output only. [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
clearDescription()
public ReliabilityRisk.Builder clearDescription()An optional textual description of the resource; provided when the resource is created.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
clearDetails()
public ReliabilityRisk.Builder clearDetails()[Output Only] Details of the reliability risk resource
optional .google.cloud.compute.v1.RiskDetails details = 483979842;
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
clearId()
public ReliabilityRisk.Builder clearId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
clearKind()
public ReliabilityRisk.Builder clearKind()Output only. [Output Only] Type of resource. Always compute#reliabilityRisk for reliability risks.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
clearName()
public ReliabilityRisk.Builder clearName()Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
clearRecommendation()
public ReliabilityRisk.Builder clearRecommendation()The recommendation to mitigate the risk.
optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
clearSelfLink()
public ReliabilityRisk.Builder clearSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
clearSelfLinkWithId()
public ReliabilityRisk.Builder clearSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
getCreationTimestamp()
public String getCreationTimestamp()Output only. [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
String |
The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for creationTimestamp. |
getDefaultInstanceForType()
public ReliabilityRisk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk |
|
getDescription()
public String getDescription()An optional textual description of the resource; provided when the resource is created.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()An optional textual description of the resource; provided when the resource is created.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDetails()
public RiskDetails getDetails()[Output Only] Details of the reliability risk resource
optional .google.cloud.compute.v1.RiskDetails details = 483979842;
| Returns | |
|---|---|
| Type | Description |
RiskDetails |
The details. |
getDetailsBuilder()
public RiskDetails.Builder getDetailsBuilder()[Output Only] Details of the reliability risk resource
optional .google.cloud.compute.v1.RiskDetails details = 483979842;
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
|
getDetailsOrBuilder()
public RiskDetailsOrBuilder getDetailsOrBuilder()[Output Only] Details of the reliability risk resource
optional .google.cloud.compute.v1.RiskDetails details = 483979842;
| Returns | |
|---|---|
| Type | Description |
RiskDetailsOrBuilder |
|
getId()
public long getId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
long |
The id. |
getKind()
public String getKind()Output only. [Output Only] Type of resource. Always compute#reliabilityRisk for reliability risks.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes()Output only. [Output Only] Type of resource. Always compute#reliabilityRisk for reliability risks.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getName()
public String getName()Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRecommendation()
public RiskRecommendation getRecommendation()The recommendation to mitigate the risk.
optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
The recommendation. |
getRecommendationBuilder()
public RiskRecommendation.Builder getRecommendationBuilder()The recommendation to mitigate the risk.
optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation.Builder |
|
getRecommendationOrBuilder()
public RiskRecommendationOrBuilder getRecommendationOrBuilder()The recommendation to mitigate the risk.
optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;
| Returns | |
|---|---|
| Type | Description |
RiskRecommendationOrBuilder |
|
getSelfLink()
public String getSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
String |
The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for selfLink. |
getSelfLinkWithId()
public String getSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
String |
The selfLinkWithId. |
getSelfLinkWithIdBytes()
public ByteString getSelfLinkWithIdBytes()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for selfLinkWithId. |
hasCreationTimestamp()
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the creationTimestamp field is set. |
hasDescription()
public boolean hasDescription()An optional textual description of the resource; provided when the resource is created.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasDetails()
public boolean hasDetails()[Output Only] Details of the reliability risk resource
optional .google.cloud.compute.v1.RiskDetails details = 483979842;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the details field is set. |
hasId()
public boolean hasId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the id field is set. |
hasKind()
public boolean hasKind()Output only. [Output Only] Type of resource. Always compute#reliabilityRisk for reliability risks.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kind field is set. |
hasName()
public boolean hasName()Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasRecommendation()
public boolean hasRecommendation()The recommendation to mitigate the risk.
optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the recommendation field is set. |
hasSelfLink()
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfLink field is set. |
hasSelfLinkWithId()
public boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfLinkWithId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDetails(RiskDetails value)
public ReliabilityRisk.Builder mergeDetails(RiskDetails value)[Output Only] Details of the reliability risk resource
optional .google.cloud.compute.v1.RiskDetails details = 483979842;
| Parameter | |
|---|---|
| Name | Description |
value |
RiskDetails |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
mergeFrom(ReliabilityRisk other)
public ReliabilityRisk.Builder mergeFrom(ReliabilityRisk other)| Parameter | |
|---|---|
| Name | Description |
other |
ReliabilityRisk |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReliabilityRisk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReliabilityRisk.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
mergeRecommendation(RiskRecommendation value)
public ReliabilityRisk.Builder mergeRecommendation(RiskRecommendation value)The recommendation to mitigate the risk.
optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;
| Parameter | |
|---|---|
| Name | Description |
value |
RiskRecommendation |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
setCreationTimestamp(String value)
public ReliabilityRisk.Builder setCreationTimestamp(String value)Output only. [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe creationTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setCreationTimestampBytes(ByteString value)
public ReliabilityRisk.Builder setCreationTimestampBytes(ByteString value)Output only. [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for creationTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setDescription(String value)
public ReliabilityRisk.Builder setDescription(String value)An optional textual description of the resource; provided when the resource is created.
optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public ReliabilityRisk.Builder setDescriptionBytes(ByteString value)An optional textual description of the resource; provided when the resource is created.
optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setDetails(RiskDetails value)
public ReliabilityRisk.Builder setDetails(RiskDetails value)[Output Only] Details of the reliability risk resource
optional .google.cloud.compute.v1.RiskDetails details = 483979842;
| Parameter | |
|---|---|
| Name | Description |
value |
RiskDetails |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
setDetails(RiskDetails.Builder builderForValue)
public ReliabilityRisk.Builder setDetails(RiskDetails.Builder builderForValue)[Output Only] Details of the reliability risk resource
optional .google.cloud.compute.v1.RiskDetails details = 483979842;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RiskDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
setId(long value)
public ReliabilityRisk.Builder setId(long value)[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe id to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setKind(String value)
public ReliabilityRisk.Builder setKind(String value)Output only. [Output Only] Type of resource. Always compute#reliabilityRisk for reliability risks.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public ReliabilityRisk.Builder setKindBytes(ByteString value)Output only. [Output Only] Type of resource. Always compute#reliabilityRisk for reliability risks.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setName(String value)
public ReliabilityRisk.Builder setName(String value)Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ReliabilityRisk.Builder setNameBytes(ByteString value)Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setRecommendation(RiskRecommendation value)
public ReliabilityRisk.Builder setRecommendation(RiskRecommendation value)The recommendation to mitigate the risk.
optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;
| Parameter | |
|---|---|
| Name | Description |
value |
RiskRecommendation |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
setRecommendation(RiskRecommendation.Builder builderForValue)
public ReliabilityRisk.Builder setRecommendation(RiskRecommendation.Builder builderForValue)The recommendation to mitigate the risk.
optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RiskRecommendation.Builder |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
|
setSelfLink(String value)
public ReliabilityRisk.Builder setSelfLink(String value)Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setSelfLinkBytes(ByteString value)
public ReliabilityRisk.Builder setSelfLinkBytes(ByteString value)Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setSelfLinkWithId(String value)
public ReliabilityRisk.Builder setSelfLinkWithId(String value)Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe selfLinkWithId to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |
setSelfLinkWithIdBytes(ByteString value)
public ReliabilityRisk.Builder setSelfLinkWithIdBytes(ByteString value)Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for selfLinkWithId to set. |
| Returns | |
|---|---|
| Type | Description |
ReliabilityRisk.Builder |
This builder for chaining. |