Interface DnsThreatDetectorOrBuilder (0.85.0)

public interface DnsThreatDetectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getExcludedNetworks(int index)

public abstract String getExcludedNetworks(int index)

Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.

Example: projects/PROJECT_ID/global/networks/NETWORK_NAME.

repeated string excluded_networks = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludedNetworks at the given index.

getExcludedNetworksBytes(int index)

public abstract ByteString getExcludedNetworksBytes(int index)

Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.

Example: projects/PROJECT_ID/global/networks/NETWORK_NAME.

repeated string excluded_networks = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludedNetworks at the given index.

getExcludedNetworksCount()

public abstract int getExcludedNetworksCount()

Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.

Example: projects/PROJECT_ID/global/networks/NETWORK_NAME.

repeated string excluded_networks = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of excludedNetworks.

getExcludedNetworksList()

public abstract List<String> getExcludedNetworksList()

Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.

Example: projects/PROJECT_ID/global/networks/NETWORK_NAME.

repeated string excluded_networks = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the excludedNetworks.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Immutable. Identifier. Name of the DnsThreatDetector resource.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Immutable. Identifier. Name of the DnsThreatDetector resource.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getProvider()

public abstract DnsThreatDetector.Provider getProvider()

Required. The provider used for DNS threat analysis.

.google.cloud.networksecurity.v1beta1.DnsThreatDetector.Provider provider = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DnsThreatDetector.Provider

The provider.

getProviderValue()

public abstract int getProviderValue()

Required. The provider used for DNS threat analysis.

.google.cloud.networksecurity.v1beta1.DnsThreatDetector.Provider provider = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for provider.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.