public final class CreateDlpJobRequest extends GeneratedMessageV3 implements CreateDlpJobRequestOrBuilder
Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.Protobuf type
google.privacy.dlp.v2.CreateDlpJobRequest
Modifier and Type | Class and Description |
---|---|
static class |
CreateDlpJobRequest.Builder
Request message for CreateDlpJobRequest.
|
static class |
CreateDlpJobRequest.JobCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
INSPECT_JOB_FIELD_NUMBER |
static int |
JOB_ID_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
RISK_JOB_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static CreateDlpJobRequest |
getDefaultInstance() |
CreateDlpJobRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
InspectJobConfig |
getInspectJob()
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; |
InspectJobConfigOrBuilder |
getInspectJobOrBuilder()
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; |
CreateDlpJobRequest.JobCase |
getJobCase() |
java.lang.String |
getJobId()
The job id can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: `[a-zA-Z\\d-]+`.
|
ByteString |
getJobIdBytes()
The job id can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: `[a-zA-Z\\d-]+`.
|
java.lang.String |
getParent()
The parent resource name, for example projects/my-project-id.
|
ByteString |
getParentBytes()
The parent resource name, for example projects/my-project-id.
|
Parser<CreateDlpJobRequest> |
getParserForType() |
RiskAnalysisJobConfig |
getRiskJob()
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; |
RiskAnalysisJobConfigOrBuilder |
getRiskJobOrBuilder()
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasInspectJob()
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; |
boolean |
hasRiskJob()
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CreateDlpJobRequest.Builder |
newBuilder() |
static CreateDlpJobRequest.Builder |
newBuilder(CreateDlpJobRequest prototype) |
CreateDlpJobRequest.Builder |
newBuilderForType() |
protected CreateDlpJobRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static CreateDlpJobRequest |
parseDelimitedFrom(java.io.InputStream input) |
static CreateDlpJobRequest |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static CreateDlpJobRequest |
parseFrom(byte[] data) |
static CreateDlpJobRequest |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static CreateDlpJobRequest |
parseFrom(java.nio.ByteBuffer data) |
static CreateDlpJobRequest |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static CreateDlpJobRequest |
parseFrom(ByteString data) |
static CreateDlpJobRequest |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static CreateDlpJobRequest |
parseFrom(CodedInputStream input) |
static CreateDlpJobRequest |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static CreateDlpJobRequest |
parseFrom(java.io.InputStream input) |
static CreateDlpJobRequest |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<CreateDlpJobRequest> |
parser() |
CreateDlpJobRequest.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int PARENT_FIELD_NUMBER
public static final int INSPECT_JOB_FIELD_NUMBER
public static final int RISK_JOB_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public CreateDlpJobRequest.JobCase getJobCase()
getJobCase
in interface CreateDlpJobRequestOrBuilder
public java.lang.String getParent()
The parent resource name, for example projects/my-project-id.
string parent = 1;
getParent
in interface CreateDlpJobRequestOrBuilder
public ByteString getParentBytes()
The parent resource name, for example projects/my-project-id.
string parent = 1;
getParentBytes
in interface CreateDlpJobRequestOrBuilder
public boolean hasInspectJob()
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
hasInspectJob
in interface CreateDlpJobRequestOrBuilder
public InspectJobConfig getInspectJob()
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
getInspectJob
in interface CreateDlpJobRequestOrBuilder
public InspectJobConfigOrBuilder getInspectJobOrBuilder()
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;
getInspectJobOrBuilder
in interface CreateDlpJobRequestOrBuilder
public boolean hasRiskJob()
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
hasRiskJob
in interface CreateDlpJobRequestOrBuilder
public RiskAnalysisJobConfig getRiskJob()
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
getRiskJob
in interface CreateDlpJobRequestOrBuilder
public RiskAnalysisJobConfigOrBuilder getRiskJobOrBuilder()
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;
getRiskJobOrBuilder
in interface CreateDlpJobRequestOrBuilder
public java.lang.String getJobId()
The job id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one.
string job_id = 4;
getJobId
in interface CreateDlpJobRequestOrBuilder
public ByteString getJobIdBytes()
The job id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\\d-]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one.
string job_id = 4;
getJobIdBytes
in interface CreateDlpJobRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static CreateDlpJobRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateDlpJobRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateDlpJobRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateDlpJobRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateDlpJobRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateDlpJobRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CreateDlpJobRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CreateDlpJobRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CreateDlpJobRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CreateDlpJobRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CreateDlpJobRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CreateDlpJobRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static CreateDlpJobRequest.Builder newBuilder()
public static CreateDlpJobRequest.Builder newBuilder(CreateDlpJobRequest prototype)
public CreateDlpJobRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected CreateDlpJobRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static CreateDlpJobRequest getDefaultInstance()
public static Parser<CreateDlpJobRequest> parser()
public Parser<CreateDlpJobRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public CreateDlpJobRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder