Class ReliabilityRisk (1.109.0)

public final class ReliabilityRisk extends GeneratedMessage implements ReliabilityRiskOrBuilder

Represents a ReliabilityRisk resource.

Protobuf type google.cloud.compute.v1.ReliabilityRisk

Static Fields

CREATION_TIMESTAMP_FIELD_NUMBER

public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RECOMMENDATION_FIELD_NUMBER

public static final int RECOMMENDATION_FIELD_NUMBER
Field Value
Type Description
int
public static final int SELF_LINK_FIELD_NUMBER
Field Value
Type Description
int
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReliabilityRisk getDefaultInstance()
Returns
Type Description
ReliabilityRisk

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ReliabilityRisk.Builder newBuilder()
Returns
Type Description
ReliabilityRisk.Builder

newBuilder(ReliabilityRisk prototype)

public static ReliabilityRisk.Builder newBuilder(ReliabilityRisk prototype)
Parameter
Name Description
prototype ReliabilityRisk
Returns
Type Description
ReliabilityRisk.Builder

parseDelimitedFrom(InputStream input)

public static ReliabilityRisk parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReliabilityRisk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReliabilityRisk parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReliabilityRisk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReliabilityRisk parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReliabilityRisk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReliabilityRisk parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReliabilityRisk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReliabilityRisk parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReliabilityRisk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReliabilityRisk parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReliabilityRisk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReliabilityRisk
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReliabilityRisk> parser()
Returns
Type Description
Parser<ReliabilityRisk>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

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.

getParserForType()

public Parser<ReliabilityRisk> getParserForType()
Returns
Type Description
Parser<ReliabilityRisk>
Overrides

getRecommendation()

public RiskRecommendation getRecommendation()

The recommendation to mitigate the risk.

optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;

Returns
Type Description
RiskRecommendation

The recommendation.

getRecommendationOrBuilder()

public RiskRecommendationOrBuilder getRecommendationOrBuilder()

The recommendation to mitigate the risk.

optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;

Returns
Type Description
RiskRecommendationOrBuilder
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReliabilityRisk.Builder newBuilderForType()
Returns
Type Description
ReliabilityRisk.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ReliabilityRisk.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReliabilityRisk.Builder
Overrides

toBuilder()

public ReliabilityRisk.Builder toBuilder()
Returns
Type Description
ReliabilityRisk.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException