Class UpdateJobTriggerRequest (3.31.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateJobTriggerRequest getDefaultInstance()
Returns
TypeDescription
UpdateJobTriggerRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateJobTriggerRequest.Builder newBuilder()
Returns
TypeDescription
UpdateJobTriggerRequest.Builder

newBuilder(UpdateJobTriggerRequest prototype)

public static UpdateJobTriggerRequest.Builder newBuilder(UpdateJobTriggerRequest prototype)
Parameter
NameDescription
prototypeUpdateJobTriggerRequest
Returns
TypeDescription
UpdateJobTriggerRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateJobTriggerRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateJobTriggerRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateJobTriggerRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateJobTriggerRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateJobTriggerRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateJobTriggerRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateJobTriggerRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateJobTriggerRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateJobTriggerRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateJobTriggerRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateJobTriggerRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateJobTriggerRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateJobTriggerRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateJobTriggerRequest> parser()
Returns
TypeDescription
Parser<UpdateJobTriggerRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateJobTriggerRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateJobTriggerRequest

getJobTrigger()

public JobTrigger getJobTrigger()

New JobTrigger value.

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

Returns
TypeDescription
JobTrigger

The jobTrigger.

getJobTriggerOrBuilder()

public JobTriggerOrBuilder getJobTriggerOrBuilder()

New JobTrigger value.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<UpdateJobTriggerRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateJobTriggerRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasJobTrigger()

public boolean hasJobTrigger()

New JobTrigger value.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateJobTriggerRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateJobTriggerRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateJobTriggerRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateJobTriggerRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateJobTriggerRequest.Builder toBuilder()
Returns
TypeDescription
UpdateJobTriggerRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException