Class UpdateJobTriggerRequest (3.46.0)

public final class UpdateJobTriggerRequest extends GeneratedMessageV3 implements UpdateJobTriggerRequestOrBuilder

Request message for UpdateJobTrigger.

Protobuf type google.privacy.dlp.v2.UpdateJobTriggerRequest

Static Fields

JOB_TRIGGER_FIELD_NUMBER

public static final int JOB_TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_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 UpdateJobTriggerRequest getDefaultInstance()
Returns
Type Description
UpdateJobTriggerRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateJobTriggerRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateJobTriggerRequest getDefaultInstanceForType()
Returns
Type Description
UpdateJobTriggerRequest

getJobTrigger()

public JobTrigger getJobTrigger()

New JobTrigger value.

.google.privacy.dlp.v2.JobTrigger job_trigger = 2;

Returns
Type Description
JobTrigger

The jobTrigger.

getJobTriggerOrBuilder()

public JobTriggerOrBuilder getJobTriggerOrBuilder()

New JobTrigger value.

.google.privacy.dlp.v2.JobTrigger job_trigger = 2;

Returns
Type Description
JobTriggerOrBuilder

getName()

public String getName()

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

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

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<UpdateJobTriggerRequest> getParserForType()
Returns
Type Description
Parser<UpdateJobTriggerRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasJobTrigger()

public boolean hasJobTrigger()

New JobTrigger value.

.google.privacy.dlp.v2.JobTrigger job_trigger = 2;

Returns
Type Description
boolean

Whether the jobTrigger field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

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 UpdateJobTriggerRequest.Builder newBuilderForType()
Returns
Type Description
UpdateJobTriggerRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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