public static final class ListFindingsRequest.Builder extends GeneratedMessageV3.Builder<ListFindingsRequest.Builder> implements ListFindingsRequestOrBuilder
Request for the `ListFindings` method.Protobuf type
google.cloud.websecurityscanner.v1beta.ListFindingsRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public ListFindingsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public ListFindingsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListFindingsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListFindingsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListFindingsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public ListFindingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public ListFindingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public ListFindingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public ListFindingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public ListFindingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public ListFindingsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListFindingsRequest.Builder>
public ListFindingsRequest.Builder mergeFrom(ListFindingsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public ListFindingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListFindingsRequest.Builder>
IOException
public String getParent()
Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface ListFindingsRequestOrBuilder
public ByteString getParentBytes()
Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface ListFindingsRequestOrBuilder
public ListFindingsRequest.Builder setParent(String value)
Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The parent to set.public ListFindingsRequest.Builder clearParent()
Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListFindingsRequest.Builder setParentBytes(ByteString value)
Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for parent to set.public String getFilter()
Required. The filter expression. The expression must be in the format: <field> <operator> <value>. Supported field: 'finding_type'. Supported operator: '='.
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
getFilter
in interface ListFindingsRequestOrBuilder
public ByteString getFilterBytes()
Required. The filter expression. The expression must be in the format: <field> <operator> <value>. Supported field: 'finding_type'. Supported operator: '='.
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
getFilterBytes
in interface ListFindingsRequestOrBuilder
public ListFindingsRequest.Builder setFilter(String value)
Required. The filter expression. The expression must be in the format: <field> <operator> <value>. Supported field: 'finding_type'. Supported operator: '='.
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The filter to set.public ListFindingsRequest.Builder clearFilter()
Required. The filter expression. The expression must be in the format: <field> <operator> <value>. Supported field: 'finding_type'. Supported operator: '='.
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
public ListFindingsRequest.Builder setFilterBytes(ByteString value)
Required. The filter expression. The expression must be in the format: <field> <operator> <value>. Supported field: 'finding_type'. Supported operator: '='.
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for filter to set.public String getPageToken()
A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
string page_token = 3;
getPageToken
in interface ListFindingsRequestOrBuilder
public ByteString getPageTokenBytes()
A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
string page_token = 3;
getPageTokenBytes
in interface ListFindingsRequestOrBuilder
public ListFindingsRequest.Builder setPageToken(String value)
A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
string page_token = 3;
value
- The pageToken to set.public ListFindingsRequest.Builder clearPageToken()
A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
string page_token = 3;
public ListFindingsRequest.Builder setPageTokenBytes(ByteString value)
A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
string page_token = 3;
value
- The bytes for pageToken to set.public int getPageSize()
The maximum number of Findings to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
int32 page_size = 4;
getPageSize
in interface ListFindingsRequestOrBuilder
public ListFindingsRequest.Builder setPageSize(int value)
The maximum number of Findings to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
int32 page_size = 4;
value
- The pageSize to set.public ListFindingsRequest.Builder clearPageSize()
The maximum number of Findings to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
int32 page_size = 4;
public final ListFindingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
public final ListFindingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListFindingsRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.