public static final class RiskDetailsGlobalDnsInsight.Builder extends GeneratedMessage.Builder<RiskDetailsGlobalDnsInsight.Builder> implements RiskDetailsGlobalDnsInsightOrBuilderDetailed insights for a global DNS reliability risk.
Protobuf type google.cloud.compute.v1.RiskDetailsGlobalDnsInsight
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RiskDetailsGlobalDnsInsight.BuilderImplements
RiskDetailsGlobalDnsInsightOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RiskDetailsGlobalDnsInsight build()| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight |
|
buildPartial()
public RiskDetailsGlobalDnsInsight buildPartial()| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight |
|
clear()
public RiskDetailsGlobalDnsInsight.Builder clear()| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
|
clearProjectDefaultIsGlobalDns()
public RiskDetailsGlobalDnsInsight.Builder clearProjectDefaultIsGlobalDns()Indicates whether the project's default DNS setting is global DNS.
optional bool project_default_is_global_dns = 366337694;
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
This builder for chaining. |
clearQueryObservationWindow()
public RiskDetailsGlobalDnsInsight.Builder clearQueryObservationWindow()The observation window for the query counts.
optional string query_observation_window = 511008826;
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
This builder for chaining. |
clearRiskyQueryCount()
public RiskDetailsGlobalDnsInsight.Builder clearRiskyQueryCount()The number of queries that are risky. This is always less than or equal to total_query_count.
optional int64 risky_query_count = 351692195;
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
This builder for chaining. |
clearTotalQueryCount()
public RiskDetailsGlobalDnsInsight.Builder clearTotalQueryCount()The total number of queries in the observation window.
optional int64 total_query_count = 171936349;
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RiskDetailsGlobalDnsInsight getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProjectDefaultIsGlobalDns()
public boolean getProjectDefaultIsGlobalDns()Indicates whether the project's default DNS setting is global DNS.
optional bool project_default_is_global_dns = 366337694;
| Returns | |
|---|---|
| Type | Description |
boolean |
The projectDefaultIsGlobalDns. |
getQueryObservationWindow()
public String getQueryObservationWindow()The observation window for the query counts.
optional string query_observation_window = 511008826;
| Returns | |
|---|---|
| Type | Description |
String |
The queryObservationWindow. |
getQueryObservationWindowBytes()
public ByteString getQueryObservationWindowBytes()The observation window for the query counts.
optional string query_observation_window = 511008826;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for queryObservationWindow. |
getRiskyQueryCount()
public long getRiskyQueryCount()The number of queries that are risky. This is always less than or equal to total_query_count.
optional int64 risky_query_count = 351692195;
| Returns | |
|---|---|
| Type | Description |
long |
The riskyQueryCount. |
getTotalQueryCount()
public long getTotalQueryCount()The total number of queries in the observation window.
optional int64 total_query_count = 171936349;
| Returns | |
|---|---|
| Type | Description |
long |
The totalQueryCount. |
hasProjectDefaultIsGlobalDns()
public boolean hasProjectDefaultIsGlobalDns()Indicates whether the project's default DNS setting is global DNS.
optional bool project_default_is_global_dns = 366337694;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the projectDefaultIsGlobalDns field is set. |
hasQueryObservationWindow()
public boolean hasQueryObservationWindow()The observation window for the query counts.
optional string query_observation_window = 511008826;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the queryObservationWindow field is set. |
hasRiskyQueryCount()
public boolean hasRiskyQueryCount()The number of queries that are risky. This is always less than or equal to total_query_count.
optional int64 risky_query_count = 351692195;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the riskyQueryCount field is set. |
hasTotalQueryCount()
public boolean hasTotalQueryCount()The total number of queries in the observation window.
optional int64 total_query_count = 171936349;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the totalQueryCount field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RiskDetailsGlobalDnsInsight other)
public RiskDetailsGlobalDnsInsight.Builder mergeFrom(RiskDetailsGlobalDnsInsight other)| Parameter | |
|---|---|
| Name | Description |
other |
RiskDetailsGlobalDnsInsight |
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RiskDetailsGlobalDnsInsight.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RiskDetailsGlobalDnsInsight.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
|
setProjectDefaultIsGlobalDns(boolean value)
public RiskDetailsGlobalDnsInsight.Builder setProjectDefaultIsGlobalDns(boolean value)Indicates whether the project's default DNS setting is global DNS.
optional bool project_default_is_global_dns = 366337694;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe projectDefaultIsGlobalDns to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
This builder for chaining. |
setQueryObservationWindow(String value)
public RiskDetailsGlobalDnsInsight.Builder setQueryObservationWindow(String value)The observation window for the query counts.
optional string query_observation_window = 511008826;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe queryObservationWindow to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
This builder for chaining. |
setQueryObservationWindowBytes(ByteString value)
public RiskDetailsGlobalDnsInsight.Builder setQueryObservationWindowBytes(ByteString value)The observation window for the query counts.
optional string query_observation_window = 511008826;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for queryObservationWindow to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
This builder for chaining. |
setRiskyQueryCount(long value)
public RiskDetailsGlobalDnsInsight.Builder setRiskyQueryCount(long value)The number of queries that are risky. This is always less than or equal to total_query_count.
optional int64 risky_query_count = 351692195;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe riskyQueryCount to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
This builder for chaining. |
setTotalQueryCount(long value)
public RiskDetailsGlobalDnsInsight.Builder setTotalQueryCount(long value)The total number of queries in the observation window.
optional int64 total_query_count = 171936349;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe totalQueryCount to set. |
| Returns | |
|---|---|
| Type | Description |
RiskDetailsGlobalDnsInsight.Builder |
This builder for chaining. |