public static final class ListDlpJobsRequest.Builder extends GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder> implements ListDlpJobsRequestOrBuilder
The request message for listing DLP jobs.Protobuf type
google.privacy.dlp.v2.ListDlpJobsRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public ListDlpJobsRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public ListDlpJobsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ListDlpJobsRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ListDlpJobsRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ListDlpJobsRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public ListDlpJobsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public ListDlpJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public ListDlpJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public ListDlpJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public ListDlpJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public ListDlpJobsRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ListDlpJobsRequest.Builder>public ListDlpJobsRequest.Builder mergeFrom(ListDlpJobsRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public ListDlpJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ListDlpJobsRequest.Builder>java.io.IOExceptionpublic java.lang.String getParent()
The parent resource name, for example projects/my-project-id.
string parent = 4;getParent in interface ListDlpJobsRequestOrBuilderpublic ByteString getParentBytes()
The parent resource name, for example projects/my-project-id.
string parent = 4;getParentBytes in interface ListDlpJobsRequestOrBuilderpublic ListDlpJobsRequest.Builder setParent(java.lang.String value)
The parent resource name, for example projects/my-project-id.
string parent = 4;public ListDlpJobsRequest.Builder clearParent()
The parent resource name, for example projects/my-project-id.
string parent = 4;public ListDlpJobsRequest.Builder setParentBytes(ByteString value)
The parent resource name, for example projects/my-project-id.
string parent = 4;public java.lang.String getFilter()
Optional. Allows filtering.
Supported syntax:
* Filter expressions are made up of one or more restrictions.
* Restrictions can be combined by `AND` or `OR` logical operators. A
sequence of restrictions implicitly uses `AND`.
* A restriction has the form of `<field> <operator> <value>`.
* Supported fields/values for inspect jobs:
- `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
- `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
- `trigger_name` - The resource name of the trigger that created job.
* Supported fields for risk analysis jobs:
- `state` - RUNNING|CANCELED|FINISHED|FAILED
* The operator must be `=` or `!=`.
Examples:
* inspected_storage = cloud_storage AND state = done
* inspected_storage = cloud_storage OR inspected_storage = bigquery
* inspected_storage = cloud_storage AND (state = done OR state = canceled)
The length of this field should be no more than 500 characters.
string filter = 1;getFilter in interface ListDlpJobsRequestOrBuilderpublic ByteString getFilterBytes()
Optional. Allows filtering.
Supported syntax:
* Filter expressions are made up of one or more restrictions.
* Restrictions can be combined by `AND` or `OR` logical operators. A
sequence of restrictions implicitly uses `AND`.
* A restriction has the form of `<field> <operator> <value>`.
* Supported fields/values for inspect jobs:
- `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
- `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
- `trigger_name` - The resource name of the trigger that created job.
* Supported fields for risk analysis jobs:
- `state` - RUNNING|CANCELED|FINISHED|FAILED
* The operator must be `=` or `!=`.
Examples:
* inspected_storage = cloud_storage AND state = done
* inspected_storage = cloud_storage OR inspected_storage = bigquery
* inspected_storage = cloud_storage AND (state = done OR state = canceled)
The length of this field should be no more than 500 characters.
string filter = 1;getFilterBytes in interface ListDlpJobsRequestOrBuilderpublic ListDlpJobsRequest.Builder setFilter(java.lang.String value)
Optional. Allows filtering.
Supported syntax:
* Filter expressions are made up of one or more restrictions.
* Restrictions can be combined by `AND` or `OR` logical operators. A
sequence of restrictions implicitly uses `AND`.
* A restriction has the form of `<field> <operator> <value>`.
* Supported fields/values for inspect jobs:
- `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
- `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
- `trigger_name` - The resource name of the trigger that created job.
* Supported fields for risk analysis jobs:
- `state` - RUNNING|CANCELED|FINISHED|FAILED
* The operator must be `=` or `!=`.
Examples:
* inspected_storage = cloud_storage AND state = done
* inspected_storage = cloud_storage OR inspected_storage = bigquery
* inspected_storage = cloud_storage AND (state = done OR state = canceled)
The length of this field should be no more than 500 characters.
string filter = 1;public ListDlpJobsRequest.Builder clearFilter()
Optional. Allows filtering.
Supported syntax:
* Filter expressions are made up of one or more restrictions.
* Restrictions can be combined by `AND` or `OR` logical operators. A
sequence of restrictions implicitly uses `AND`.
* A restriction has the form of `<field> <operator> <value>`.
* Supported fields/values for inspect jobs:
- `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
- `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
- `trigger_name` - The resource name of the trigger that created job.
* Supported fields for risk analysis jobs:
- `state` - RUNNING|CANCELED|FINISHED|FAILED
* The operator must be `=` or `!=`.
Examples:
* inspected_storage = cloud_storage AND state = done
* inspected_storage = cloud_storage OR inspected_storage = bigquery
* inspected_storage = cloud_storage AND (state = done OR state = canceled)
The length of this field should be no more than 500 characters.
string filter = 1;public ListDlpJobsRequest.Builder setFilterBytes(ByteString value)
Optional. Allows filtering.
Supported syntax:
* Filter expressions are made up of one or more restrictions.
* Restrictions can be combined by `AND` or `OR` logical operators. A
sequence of restrictions implicitly uses `AND`.
* A restriction has the form of `<field> <operator> <value>`.
* Supported fields/values for inspect jobs:
- `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
- `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
- `trigger_name` - The resource name of the trigger that created job.
* Supported fields for risk analysis jobs:
- `state` - RUNNING|CANCELED|FINISHED|FAILED
* The operator must be `=` or `!=`.
Examples:
* inspected_storage = cloud_storage AND state = done
* inspected_storage = cloud_storage OR inspected_storage = bigquery
* inspected_storage = cloud_storage AND (state = done OR state = canceled)
The length of this field should be no more than 500 characters.
string filter = 1;public int getPageSize()
The standard list page size.
int32 page_size = 2;getPageSize in interface ListDlpJobsRequestOrBuilderpublic ListDlpJobsRequest.Builder setPageSize(int value)
The standard list page size.
int32 page_size = 2;public ListDlpJobsRequest.Builder clearPageSize()
The standard list page size.
int32 page_size = 2;public java.lang.String getPageToken()
The standard list page token.
string page_token = 3;getPageToken in interface ListDlpJobsRequestOrBuilderpublic ByteString getPageTokenBytes()
The standard list page token.
string page_token = 3;getPageTokenBytes in interface ListDlpJobsRequestOrBuilderpublic ListDlpJobsRequest.Builder setPageToken(java.lang.String value)
The standard list page token.
string page_token = 3;public ListDlpJobsRequest.Builder clearPageToken()
The standard list page token.
string page_token = 3;public ListDlpJobsRequest.Builder setPageTokenBytes(ByteString value)
The standard list page token.
string page_token = 3;public int getTypeValue()
The type of job. Defaults to `DlpJobType.INSPECT`
.google.privacy.dlp.v2.DlpJobType type = 5;getTypeValue in interface ListDlpJobsRequestOrBuilderpublic ListDlpJobsRequest.Builder setTypeValue(int value)
The type of job. Defaults to `DlpJobType.INSPECT`
.google.privacy.dlp.v2.DlpJobType type = 5;public DlpJobType getType()
The type of job. Defaults to `DlpJobType.INSPECT`
.google.privacy.dlp.v2.DlpJobType type = 5;getType in interface ListDlpJobsRequestOrBuilderpublic ListDlpJobsRequest.Builder setType(DlpJobType value)
The type of job. Defaults to `DlpJobType.INSPECT`
.google.privacy.dlp.v2.DlpJobType type = 5;public ListDlpJobsRequest.Builder clearType()
The type of job. Defaults to `DlpJobType.INSPECT`
.google.privacy.dlp.v2.DlpJobType type = 5;public final ListDlpJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>public final ListDlpJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ListDlpJobsRequest.Builder>