public final class RiskDetails extends GeneratedMessage implements RiskDetailsOrBuilder
Detailed insights and metrics about a detected reliability risk.
Protobuf type google.cloud.compute.v1.RiskDetails
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
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GLOBAL_DNS_INSIGHT_FIELD_NUMBER
public static final int GLOBAL_DNS_INSIGHT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LAST_UPDATE_TIMESTAMP_FIELD_NUMBER
public static final int LAST_UPDATE_TIMESTAMP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RiskDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RiskDetails.Builder newBuilder()
newBuilder(RiskDetails prototype)
public static RiskDetails.Builder newBuilder(RiskDetails prototype)
public static RiskDetails parseDelimitedFrom(InputStream input)
public static RiskDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RiskDetails parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RiskDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RiskDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RiskDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RiskDetails parseFrom(CodedInputStream input)
public static RiskDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RiskDetails parseFrom(InputStream input)
public static RiskDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RiskDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RiskDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RiskDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RiskDetails getDefaultInstanceForType()
getDuration()
public String getDuration()
The duration of the risk since it was detected.
optional string duration = 155471252;
| Returns |
| Type |
Description |
String |
The duration.
|
getDurationBytes()
public ByteString getDurationBytes()
The duration of the risk since it was detected.
optional string duration = 155471252;
| Returns |
| Type |
Description |
ByteString |
The bytes for duration.
|
getGlobalDnsInsight()
public RiskDetailsGlobalDnsInsight getGlobalDnsInsight()
Insight details for global DNS risk.
optional .google.cloud.compute.v1.RiskDetailsGlobalDnsInsight global_dns_insight = 514929638;
getGlobalDnsInsightOrBuilder()
public RiskDetailsGlobalDnsInsightOrBuilder getGlobalDnsInsightOrBuilder()
Insight details for global DNS risk.
optional .google.cloud.compute.v1.RiskDetailsGlobalDnsInsight global_dns_insight = 514929638;
getLastUpdateTimestamp()
public String getLastUpdateTimestamp()
The last time the risk was updated.
optional string last_update_timestamp = 12338089;
| Returns |
| Type |
Description |
String |
The lastUpdateTimestamp.
|
getLastUpdateTimestampBytes()
public ByteString getLastUpdateTimestampBytes()
The last time the risk was updated.
optional string last_update_timestamp = 12338089;
| Returns |
| Type |
Description |
ByteString |
The bytes for lastUpdateTimestamp.
|
getParserForType()
public Parser<RiskDetails> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSeverity()
public String getSeverity()
The severity of the risk.
Check the Severity enum for the list of possible values.
optional string severity = 404558589;
| Returns |
| Type |
Description |
String |
The severity.
|
getSeverityBytes()
public ByteString getSeverityBytes()
The severity of the risk.
Check the Severity enum for the list of possible values.
optional string severity = 404558589;
| Returns |
| Type |
Description |
ByteString |
The bytes for severity.
|
getType()
The type of risk.
Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns |
| Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
The type of risk.
Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns |
| Type |
Description |
ByteString |
The bytes for type.
|
hasDuration()
public boolean hasDuration()
The duration of the risk since it was detected.
optional string duration = 155471252;
| Returns |
| Type |
Description |
boolean |
Whether the duration field is set.
|
hasGlobalDnsInsight()
public boolean hasGlobalDnsInsight()
Insight details for global DNS risk.
optional .google.cloud.compute.v1.RiskDetailsGlobalDnsInsight global_dns_insight = 514929638;
| Returns |
| Type |
Description |
boolean |
Whether the globalDnsInsight field is set.
|
hasLastUpdateTimestamp()
public boolean hasLastUpdateTimestamp()
The last time the risk was updated.
optional string last_update_timestamp = 12338089;
| Returns |
| Type |
Description |
boolean |
Whether the lastUpdateTimestamp field is set.
|
hasSeverity()
public boolean hasSeverity()
The severity of the risk.
Check the Severity enum for the list of possible values.
optional string severity = 404558589;
| Returns |
| Type |
Description |
boolean |
Whether the severity field is set.
|
hasType()
The type of risk.
Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns |
| Type |
Description |
boolean |
Whether the type field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RiskDetails.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RiskDetails.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public RiskDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides