Class ListEventThreatDetectionCustomModulesRequest.Builder (2.63.0)

public static final class ListEventThreatDetectionCustomModulesRequest.Builder extends GeneratedMessageV3.Builder<ListEventThreatDetectionCustomModulesRequest.Builder> implements ListEventThreatDetectionCustomModulesRequestOrBuilder

Request to list Event Threat Detection custom modules.

Protobuf type google.cloud.securitycenter.v1.ListEventThreatDetectionCustomModulesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListEventThreatDetectionCustomModulesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

build()

public ListEventThreatDetectionCustomModulesRequest build()
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest

buildPartial()

public ListEventThreatDetectionCustomModulesRequest buildPartial()
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest

clear()

public ListEventThreatDetectionCustomModulesRequest.Builder clear()
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListEventThreatDetectionCustomModulesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListEventThreatDetectionCustomModulesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

clearPageSize()

public ListEventThreatDetectionCustomModulesRequest.Builder clearPageSize()

The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 3;

Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

clearPageToken()

public ListEventThreatDetectionCustomModulesRequest.Builder clearPageToken()

A page token, received from a previous ListEventThreatDetectionCustomModules call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListEventThreatDetectionCustomModules must match the call that provided the page token.

string page_token = 2;

Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

clearParent()

public ListEventThreatDetectionCustomModulesRequest.Builder clearParent()

Required. Name of the parent to list custom modules under.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

clone()

public ListEventThreatDetectionCustomModulesRequest.Builder clone()
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListEventThreatDetectionCustomModulesRequest getDefaultInstanceForType()
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous ListEventThreatDetectionCustomModules call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListEventThreatDetectionCustomModules must match the call that provided the page token.

string page_token = 2;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous ListEventThreatDetectionCustomModules call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListEventThreatDetectionCustomModules must match the call that provided the page token.

string page_token = 2;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Name of the parent to list custom modules under.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Name of the parent to list custom modules under.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListEventThreatDetectionCustomModulesRequest other)

public ListEventThreatDetectionCustomModulesRequest.Builder mergeFrom(ListEventThreatDetectionCustomModulesRequest other)
Parameter
Name Description
other ListEventThreatDetectionCustomModulesRequest
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListEventThreatDetectionCustomModulesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListEventThreatDetectionCustomModulesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEventThreatDetectionCustomModulesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListEventThreatDetectionCustomModulesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

setPageSize(int value)

public ListEventThreatDetectionCustomModulesRequest.Builder setPageSize(int value)

The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListEventThreatDetectionCustomModulesRequest.Builder setPageToken(String value)

A page token, received from a previous ListEventThreatDetectionCustomModules call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListEventThreatDetectionCustomModules must match the call that provided the page token.

string page_token = 2;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListEventThreatDetectionCustomModulesRequest.Builder setPageTokenBytes(ByteString value)

A page token, received from a previous ListEventThreatDetectionCustomModules call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListEventThreatDetectionCustomModules must match the call that provided the page token.

string page_token = 2;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setParent(String value)

public ListEventThreatDetectionCustomModulesRequest.Builder setParent(String value)

Required. Name of the parent to list custom modules under.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListEventThreatDetectionCustomModulesRequest.Builder setParentBytes(ByteString value)

Required. Name of the parent to list custom modules under.

Its format is:

  • organizations/{organization}/eventThreatDetectionSettings.
  • folders/{folder}/eventThreatDetectionSettings.
  • projects/{project}/eventThreatDetectionSettings.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListEventThreatDetectionCustomModulesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListEventThreatDetectionCustomModulesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides