public static final class RiskDetails.Builder extends GeneratedMessage.Builder<RiskDetails.Builder> implements RiskDetailsOrBuilderDetailed insights and metrics about a detected reliability risk.
Protobuf type google.cloud.compute.v1.RiskDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RiskDetails.BuilderImplements
RiskDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RiskDetails build()| Returns | |
|---|---|
| Type | Description |
RiskDetails |
|
buildPartial()
public RiskDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
RiskDetails |
|
clear()
public RiskDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
|
clearDuration()
public RiskDetails.Builder clearDuration()The duration of the risk since it was detected.
optional string duration = 155471252;
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
clearGlobalDnsInsight()
public RiskDetails.Builder clearGlobalDnsInsight()Insight details for global DNS risk.
optional .google.cloud.compute.v1.RiskDetailsGlobalDnsInsight global_dns_insight = 514929638;
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
|
clearLastUpdateTimestamp()
public RiskDetails.Builder clearLastUpdateTimestamp()The last time the risk was updated.
optional string last_update_timestamp = 12338089;
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
clearSeverity()
public RiskDetails.Builder clearSeverity()The severity of the risk. Check the Severity enum for the list of possible values.
optional string severity = 404558589;
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
clearType()
public RiskDetails.Builder clearType()The type of risk. Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RiskDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RiskDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight |
The globalDnsInsight. |
getGlobalDnsInsightBuilder()
public RiskDetailsGlobalDnsInsight.Builder getGlobalDnsInsightBuilder()Insight details for global DNS risk.
optional .google.cloud.compute.v1.RiskDetailsGlobalDnsInsight global_dns_insight = 514929638;
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
|
getGlobalDnsInsightOrBuilder()
public RiskDetailsGlobalDnsInsightOrBuilder getGlobalDnsInsightOrBuilder()Insight details for global DNS risk.
optional .google.cloud.compute.v1.RiskDetailsGlobalDnsInsight global_dns_insight = 514929638;
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsightOrBuilder |
|
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. |
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()
public String 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()
public boolean 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RiskDetails other)
public RiskDetails.Builder mergeFrom(RiskDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
RiskDetails |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RiskDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RiskDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
|
mergeGlobalDnsInsight(RiskDetailsGlobalDnsInsight value)
public RiskDetails.Builder mergeGlobalDnsInsight(RiskDetailsGlobalDnsInsight value)Insight details for global DNS risk.
optional .google.cloud.compute.v1.RiskDetailsGlobalDnsInsight global_dns_insight = 514929638;
| Parameter | |
|---|---|
| Name | Description |
value |
RiskDetailsGlobalDnsInsight |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
|
setDuration(String value)
public RiskDetails.Builder setDuration(String value)The duration of the risk since it was detected.
optional string duration = 155471252;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe duration to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
setDurationBytes(ByteString value)
public RiskDetails.Builder setDurationBytes(ByteString value)The duration of the risk since it was detected.
optional string duration = 155471252;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for duration to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
setGlobalDnsInsight(RiskDetailsGlobalDnsInsight value)
public RiskDetails.Builder setGlobalDnsInsight(RiskDetailsGlobalDnsInsight value)Insight details for global DNS risk.
optional .google.cloud.compute.v1.RiskDetailsGlobalDnsInsight global_dns_insight = 514929638;
| Parameter | |
|---|---|
| Name | Description |
value |
RiskDetailsGlobalDnsInsight |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
|
setGlobalDnsInsight(RiskDetailsGlobalDnsInsight.Builder builderForValue)
public RiskDetails.Builder setGlobalDnsInsight(RiskDetailsGlobalDnsInsight.Builder builderForValue)Insight details for global DNS risk.
optional .google.cloud.compute.v1.RiskDetailsGlobalDnsInsight global_dns_insight = 514929638;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RiskDetailsGlobalDnsInsight.Builder |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
|
setLastUpdateTimestamp(String value)
public RiskDetails.Builder setLastUpdateTimestamp(String value)The last time the risk was updated.
optional string last_update_timestamp = 12338089;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe lastUpdateTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
setLastUpdateTimestampBytes(ByteString value)
public RiskDetails.Builder setLastUpdateTimestampBytes(ByteString value)The last time the risk was updated.
optional string last_update_timestamp = 12338089;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for lastUpdateTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
setSeverity(String value)
public RiskDetails.Builder setSeverity(String value)The severity of the risk. Check the Severity enum for the list of possible values.
optional string severity = 404558589;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe severity to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
setSeverityBytes(ByteString value)
public RiskDetails.Builder setSeverityBytes(ByteString value)The severity of the risk. Check the Severity enum for the list of possible values.
optional string severity = 404558589;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for severity to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
setType(String value)
public RiskDetails.Builder setType(String value)The type of risk. Check the Type enum for the list of possible values.
optional string type = 3575610;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public RiskDetails.Builder setTypeBytes(ByteString value)The type of risk. Check the Type enum for the list of possible values.
optional string type = 3575610;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetails.Builder |
This builder for chaining. |