Interface CreateDnsThreatDetectorRequestOrBuilder (0.85.0)

public interface CreateDnsThreatDetectorRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDnsThreatDetector()

public abstract DnsThreatDetector getDnsThreatDetector()

Required. The DnsThreatDetector resource to create.

.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DnsThreatDetector

The dnsThreatDetector.

getDnsThreatDetectorId()

public abstract String getDnsThreatDetectorId()

Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier.

string dns_threat_detector_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The dnsThreatDetectorId.

getDnsThreatDetectorIdBytes()

public abstract ByteString getDnsThreatDetectorIdBytes()

Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier.

string dns_threat_detector_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for dnsThreatDetectorId.

getDnsThreatDetectorOrBuilder()

public abstract DnsThreatDetectorOrBuilder getDnsThreatDetectorOrBuilder()

Required. The DnsThreatDetector resource to create.

.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DnsThreatDetectorOrBuilder

getParent()

public abstract String getParent()

Required. The value for the parent of the DnsThreatDetector resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The value for the parent of the DnsThreatDetector resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasDnsThreatDetector()

public abstract boolean hasDnsThreatDetector()

Required. The DnsThreatDetector resource to create.

.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dnsThreatDetector field is set.