public final class ReliabilityRisk extends GeneratedMessage implements ReliabilityRiskOrBuilder
Represents a ReliabilityRisk resource.
Protobuf type google.cloud.compute.v1.ReliabilityRisk
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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 |
|
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReliabilityRisk getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReliabilityRisk.Builder newBuilder()
newBuilder(ReliabilityRisk prototype)
public static ReliabilityRisk.Builder newBuilder(ReliabilityRisk prototype)
public static ReliabilityRisk parseDelimitedFrom(InputStream input)
public static ReliabilityRisk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReliabilityRisk parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReliabilityRisk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReliabilityRisk parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReliabilityRisk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReliabilityRisk parseFrom(CodedInputStream input)
public static ReliabilityRisk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReliabilityRisk parseFrom(InputStream input)
public static ReliabilityRisk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReliabilityRisk parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReliabilityRisk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReliabilityRisk> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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()
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;
getDetailsOrBuilder()
public RiskDetailsOrBuilder getDetailsOrBuilder()
[Output Only] Details of the reliability risk resource
optional .google.cloud.compute.v1.RiskDetails details = 483979842;
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()
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()
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()
Overrides
getRecommendation()
public RiskRecommendation getRecommendation()
The recommendation to mitigate the risk.
optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;
getRecommendationOrBuilder()
public RiskRecommendationOrBuilder getRecommendationOrBuilder()
The recommendation to mitigate the risk.
optional .google.cloud.compute.v1.RiskRecommendation recommendation = 45105081;
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.
|
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()
[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()
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()
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReliabilityRisk.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ReliabilityRisk.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ReliabilityRisk.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides