public static final class UpdateDnsThreatDetectorRequest.Builder extends GeneratedMessageV3.Builder<UpdateDnsThreatDetectorRequest.Builder> implements UpdateDnsThreatDetectorRequestOrBuilder
The message for updating a DnsThreatDetector.
Protobuf type google.cloud.networksecurity.v1beta1.UpdateDnsThreatDetectorRequest
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 UpdateDnsThreatDetectorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateDnsThreatDetectorRequest build()
buildPartial()
public UpdateDnsThreatDetectorRequest buildPartial()
clear()
public UpdateDnsThreatDetectorRequest.Builder clear()
Overrides
clearDnsThreatDetector()
public UpdateDnsThreatDetectorRequest.Builder clearDnsThreatDetector()
Required. The DnsThreatDetector resource being updated.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateDnsThreatDetectorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDnsThreatDetectorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateDnsThreatDetectorRequest.Builder clearUpdateMask()
Optional. The field mask is used to specify the fields to be overwritten in
the DnsThreatDetector resource by the update. The fields specified in the
update_mask are relative to the resource, not the full request. A field
will be overwritten if it is in the mask. If the mask is not provided then
all fields present in the request will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateDnsThreatDetectorRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateDnsThreatDetectorRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDnsThreatDetector()
public DnsThreatDetector getDnsThreatDetector()
Required. The DnsThreatDetector resource being updated.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
getDnsThreatDetectorBuilder()
public DnsThreatDetector.Builder getDnsThreatDetectorBuilder()
Required. The DnsThreatDetector resource being updated.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
getDnsThreatDetectorOrBuilder()
public DnsThreatDetectorOrBuilder getDnsThreatDetectorOrBuilder()
Required. The DnsThreatDetector resource being updated.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. The field mask is used to specify the fields to be overwritten in
the DnsThreatDetector resource by the update. The fields specified in the
update_mask are relative to the resource, not the full request. A field
will be overwritten if it is in the mask. If the mask is not provided then
all fields present in the request will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. The field mask is used to specify the fields to be overwritten in
the DnsThreatDetector resource by the update. The fields specified in the
update_mask are relative to the resource, not the full request. A field
will be overwritten if it is in the mask. If the mask is not provided then
all fields present in the request will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The field mask is used to specify the fields to be overwritten in
the DnsThreatDetector resource by the update. The fields specified in the
update_mask are relative to the resource, not the full request. A field
will be overwritten if it is in the mask. If the mask is not provided then
all fields present in the request will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
hasDnsThreatDetector()
public boolean hasDnsThreatDetector()
Required. The DnsThreatDetector resource being updated.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the dnsThreatDetector field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. The field mask is used to specify the fields to be overwritten in
the DnsThreatDetector resource by the update. The fields specified in the
update_mask are relative to the resource, not the full request. A field
will be overwritten if it is in the mask. If the mask is not provided then
all fields present in the request will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDnsThreatDetector(DnsThreatDetector value)
public UpdateDnsThreatDetectorRequest.Builder mergeDnsThreatDetector(DnsThreatDetector value)
Required. The DnsThreatDetector resource being updated.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateDnsThreatDetectorRequest other)
public UpdateDnsThreatDetectorRequest.Builder mergeFrom(UpdateDnsThreatDetectorRequest other)
public UpdateDnsThreatDetectorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateDnsThreatDetectorRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDnsThreatDetectorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateDnsThreatDetectorRequest.Builder mergeUpdateMask(FieldMask value)
Optional. The field mask is used to specify the fields to be overwritten in
the DnsThreatDetector resource by the update. The fields specified in the
update_mask are relative to the resource, not the full request. A field
will be overwritten if it is in the mask. If the mask is not provided then
all fields present in the request will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
setDnsThreatDetector(DnsThreatDetector value)
public UpdateDnsThreatDetectorRequest.Builder setDnsThreatDetector(DnsThreatDetector value)
Required. The DnsThreatDetector resource being updated.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
setDnsThreatDetector(DnsThreatDetector.Builder builderForValue)
public UpdateDnsThreatDetectorRequest.Builder setDnsThreatDetector(DnsThreatDetector.Builder builderForValue)
Required. The DnsThreatDetector resource being updated.
.google.cloud.networksecurity.v1beta1.DnsThreatDetector dns_threat_detector = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDnsThreatDetectorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDnsThreatDetectorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDnsThreatDetectorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateDnsThreatDetectorRequest.Builder setUpdateMask(FieldMask value)
Optional. The field mask is used to specify the fields to be overwritten in
the DnsThreatDetector resource by the update. The fields specified in the
update_mask are relative to the resource, not the full request. A field
will be overwritten if it is in the mask. If the mask is not provided then
all fields present in the request will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDnsThreatDetectorRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. The field mask is used to specify the fields to be overwritten in
the DnsThreatDetector resource by the update. The fields specified in the
update_mask are relative to the resource, not the full request. A field
will be overwritten if it is in the mask. If the mask is not provided then
all fields present in the request will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
builderForValue |
Builder
|