public static final class CreateDnsThreatDetectorRequest.Builder extends GeneratedMessageV3.Builder<CreateDnsThreatDetectorRequest.Builder> implements CreateDnsThreatDetectorRequestOrBuilder
The message to create a DnsThreatDetector.
Protobuf type google.cloud.networksecurity.v1beta1.CreateDnsThreatDetectorRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDnsThreatDetectorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateDnsThreatDetectorRequest build()
buildPartial()
public CreateDnsThreatDetectorRequest buildPartial()
clear()
public CreateDnsThreatDetectorRequest.Builder clear()
Overrides
clearDnsThreatDetector()
public CreateDnsThreatDetectorRequest.Builder clearDnsThreatDetector()
Required. The DnsThreatDetector resource to create.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 3 [(.google.api.field_behavior) = REQUIRED];
clearDnsThreatDetectorId()
public CreateDnsThreatDetectorRequest.Builder clearDnsThreatDetectorId()
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];
clearField(Descriptors.FieldDescriptor field)
public CreateDnsThreatDetectorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDnsThreatDetectorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateDnsThreatDetectorRequest.Builder clearParent()
Required. The value for the parent of the DnsThreatDetector resource.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateDnsThreatDetectorRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateDnsThreatDetectorRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDnsThreatDetector()
public DnsThreatDetector getDnsThreatDetector()
Required. The DnsThreatDetector resource to create.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 3 [(.google.api.field_behavior) = REQUIRED];
getDnsThreatDetectorBuilder()
public DnsThreatDetector.Builder getDnsThreatDetectorBuilder()
Required. The DnsThreatDetector resource to create.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 3 [(.google.api.field_behavior) = REQUIRED];
getDnsThreatDetectorId()
public 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 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 DnsThreatDetectorOrBuilder getDnsThreatDetectorOrBuilder()
Required. The DnsThreatDetector resource to create.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
public 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 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDnsThreatDetector(DnsThreatDetector value)
public CreateDnsThreatDetectorRequest.Builder mergeDnsThreatDetector(DnsThreatDetector value)
Required. The DnsThreatDetector resource to create.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 3 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateDnsThreatDetectorRequest other)
public CreateDnsThreatDetectorRequest.Builder mergeFrom(CreateDnsThreatDetectorRequest other)
public CreateDnsThreatDetectorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateDnsThreatDetectorRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDnsThreatDetectorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDnsThreatDetector(DnsThreatDetector value)
public CreateDnsThreatDetectorRequest.Builder setDnsThreatDetector(DnsThreatDetector value)
Required. The DnsThreatDetector resource to create.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 3 [(.google.api.field_behavior) = REQUIRED];
setDnsThreatDetector(DnsThreatDetector.Builder builderForValue)
public CreateDnsThreatDetectorRequest.Builder setDnsThreatDetector(DnsThreatDetector.Builder builderForValue)
Required. The DnsThreatDetector resource to create.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 3 [(.google.api.field_behavior) = REQUIRED];
setDnsThreatDetectorId(String value)
public CreateDnsThreatDetectorRequest.Builder setDnsThreatDetectorId(String value)
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];
| Parameter |
| Name |
Description |
value |
String
The dnsThreatDetectorId to set.
|
setDnsThreatDetectorIdBytes(ByteString value)
public CreateDnsThreatDetectorRequest.Builder setDnsThreatDetectorIdBytes(ByteString value)
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];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for dnsThreatDetectorId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDnsThreatDetectorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateDnsThreatDetectorRequest.Builder setParent(String value)
Required. The value for the parent of the DnsThreatDetector resource.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateDnsThreatDetectorRequest.Builder setParentBytes(ByteString value)
Required. The value for the parent of the DnsThreatDetector resource.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDnsThreatDetectorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDnsThreatDetectorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides