Class UpdateDnsThreatDetectorRequest (0.85.0)

public final class UpdateDnsThreatDetectorRequest extends GeneratedMessageV3 implements UpdateDnsThreatDetectorRequestOrBuilder

The message for updating a DnsThreatDetector.

Protobuf type google.cloud.networksecurity.v1beta1.UpdateDnsThreatDetectorRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateDnsThreatDetectorRequest

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()
Returns
Type Description
UpdateDnsThreatDetectorRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateDnsThreatDetectorRequest.Builder newBuilder()
Returns
Type Description
UpdateDnsThreatDetectorRequest.Builder

newBuilder(UpdateDnsThreatDetectorRequest prototype)

public static UpdateDnsThreatDetectorRequest.Builder newBuilder(UpdateDnsThreatDetectorRequest prototype)
Parameter
Name Description
prototype UpdateDnsThreatDetectorRequest
Returns
Type Description
UpdateDnsThreatDetectorRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateDnsThreatDetectorRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDnsThreatDetectorRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateDnsThreatDetectorRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateDnsThreatDetectorRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateDnsThreatDetectorRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateDnsThreatDetectorRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateDnsThreatDetectorRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDnsThreatDetectorRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateDnsThreatDetectorRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDnsThreatDetectorRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateDnsThreatDetectorRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateDnsThreatDetectorRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDnsThreatDetectorRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateDnsThreatDetectorRequest> parser()
Returns
Type Description
Parser<UpdateDnsThreatDetectorRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateDnsThreatDetectorRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDnsThreatDetectorRequest

getDnsThreatDetector()

public DnsThreatDetector getDnsThreatDetector()

Required. The DnsThreatDetector resource being updated.

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

Returns
Type Description
DnsThreatDetector

The dnsThreatDetector.

getDnsThreatDetectorOrBuilder()

public DnsThreatDetectorOrBuilder getDnsThreatDetectorOrBuilder()

Required. The DnsThreatDetector resource being updated.

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

Returns
Type Description
DnsThreatDetectorOrBuilder

getParserForType()

public Parser<UpdateDnsThreatDetectorRequest> getParserForType()
Returns
Type Description
Parser<UpdateDnsThreatDetectorRequest>
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];

Returns
Type Description
FieldMaskOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateDnsThreatDetectorRequest.Builder newBuilderForType()
Returns
Type Description
UpdateDnsThreatDetectorRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateDnsThreatDetectorRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateDnsThreatDetectorRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateDnsThreatDetectorRequest.Builder toBuilder()
Returns
Type Description
UpdateDnsThreatDetectorRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException