Class RiskDetailsGlobalDnsInsight (1.109.0)

public final class RiskDetailsGlobalDnsInsight extends GeneratedMessage implements RiskDetailsGlobalDnsInsightOrBuilder

Detailed insights for a global DNS reliability risk.

Protobuf type google.cloud.compute.v1.RiskDetailsGlobalDnsInsight

Static Fields

PROJECT_DEFAULT_IS_GLOBAL_DNS_FIELD_NUMBER

public static final int PROJECT_DEFAULT_IS_GLOBAL_DNS_FIELD_NUMBER
Field Value
Type Description
int

QUERY_OBSERVATION_WINDOW_FIELD_NUMBER

public static final int QUERY_OBSERVATION_WINDOW_FIELD_NUMBER
Field Value
Type Description
int

RISKY_QUERY_COUNT_FIELD_NUMBER

public static final int RISKY_QUERY_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_QUERY_COUNT_FIELD_NUMBER

public static final int TOTAL_QUERY_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RiskDetailsGlobalDnsInsight getDefaultInstance()
Returns
Type Description
RiskDetailsGlobalDnsInsight

getDescriptor()

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

newBuilder()

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

newBuilder(RiskDetailsGlobalDnsInsight prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RiskDetailsGlobalDnsInsight getDefaultInstanceForType()
Returns
Type Description
RiskDetailsGlobalDnsInsight

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 RiskDetailsGlobalDnsInsight.Builder newBuilderForType()
Returns
Type Description
RiskDetailsGlobalDnsInsight.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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