Send feedback
Class UpdateDnsThreatDetectorRequest (0.85.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class UpdateDnsThreatDetectorRequest extends GeneratedMessageV3 implements UpdateDnsThreatDetectorRequestOrBuilder
The message for updating a DnsThreatDetector.
Protobuf type google.cloud.networksecurity.v1beta1.UpdateDnsThreatDetectorRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DNS_THREAT_DETECTOR_FIELD_NUMBER
public static final int DNS_THREAT_DETECTOR_FIELD_NUMBER
Field Value
Type
Description
int
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static UpdateDnsThreatDetectorRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static UpdateDnsThreatDetectorRequest . Builder newBuilder ()
newBuilder(UpdateDnsThreatDetectorRequest prototype)
public static UpdateDnsThreatDetectorRequest . Builder newBuilder ( UpdateDnsThreatDetectorRequest prototype )
public static UpdateDnsThreatDetectorRequest parseDelimitedFrom ( InputStream input )
public static UpdateDnsThreatDetectorRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static UpdateDnsThreatDetectorRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateDnsThreatDetectorRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static UpdateDnsThreatDetectorRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateDnsThreatDetectorRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static UpdateDnsThreatDetectorRequest parseFrom ( CodedInputStream input )
public static UpdateDnsThreatDetectorRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static UpdateDnsThreatDetectorRequest parseFrom ( InputStream input )
public static UpdateDnsThreatDetectorRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static UpdateDnsThreatDetectorRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateDnsThreatDetectorRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<UpdateDnsThreatDetectorRequest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public UpdateDnsThreatDetectorRequest getDefaultInstanceForType ()
getDnsThreatDetector()
public DnsThreatDetector getDnsThreatDetector ()
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];
getParserForType()
public Parser<UpdateDnsThreatDetectorRequest> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public UpdateDnsThreatDetectorRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateDnsThreatDetectorRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public UpdateDnsThreatDetectorRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-23 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-23 UTC."],[],[]]