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, unknownFieldsmemoizedSizememoizedHashCode| 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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 MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public CreateDlpJobRequest.JobCase getJobCase()
getJobCase in interface CreateDlpJobRequestOrBuilderpublic java.lang.String getParent()
The parent resource name, for example projects/my-project-id.
string parent = 1;getParent in interface CreateDlpJobRequestOrBuilderpublic ByteString getParentBytes()
The parent resource name, for example projects/my-project-id.
string parent = 1;getParentBytes in interface CreateDlpJobRequestOrBuilderpublic boolean hasInspectJob()
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;hasInspectJob in interface CreateDlpJobRequestOrBuilderpublic InspectJobConfig getInspectJob()
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;getInspectJob in interface CreateDlpJobRequestOrBuilderpublic InspectJobConfigOrBuilder getInspectJobOrBuilder()
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;getInspectJobOrBuilder in interface CreateDlpJobRequestOrBuilderpublic boolean hasRiskJob()
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;hasRiskJob in interface CreateDlpJobRequestOrBuilderpublic RiskAnalysisJobConfig getRiskJob()
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;getRiskJob in interface CreateDlpJobRequestOrBuilderpublic RiskAnalysisJobConfigOrBuilder getRiskJobOrBuilder()
.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;getRiskJobOrBuilder in interface CreateDlpJobRequestOrBuilderpublic 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 CreateDlpJobRequestOrBuilderpublic 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 CreateDlpJobRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static CreateDlpJobRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateDlpJobRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateDlpJobRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateDlpJobRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateDlpJobRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateDlpJobRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateDlpJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateDlpJobRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CreateDlpJobRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateDlpJobRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CreateDlpJobRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateDlpJobRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CreateDlpJobRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static CreateDlpJobRequest.Builder newBuilder()
public static CreateDlpJobRequest.Builder newBuilder(CreateDlpJobRequest prototype)
public CreateDlpJobRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected CreateDlpJobRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static CreateDlpJobRequest getDefaultInstance()
public static Parser<CreateDlpJobRequest> parser()
public Parser<CreateDlpJobRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public CreateDlpJobRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder