Class ListEventThreatDetectionCustomModulesRequest.Builder (0.4.0)

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

Request message for listing Event Threat Detection custom modules.

Protobuf type google.cloud.securitycentermanagement.v1.ListEventThreatDetectionCustomModulesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListEventThreatDetectionCustomModulesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

build()

public ListEventThreatDetectionCustomModulesRequest build()
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest

buildPartial()

public ListEventThreatDetectionCustomModulesRequest buildPartial()
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest

clear()

public ListEventThreatDetectionCustomModulesRequest.Builder clear()
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListEventThreatDetectionCustomModulesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListEventThreatDetectionCustomModulesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

clearPageSize()

public ListEventThreatDetectionCustomModulesRequest.Builder clearPageSize()

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

clearPageToken()

public ListEventThreatDetectionCustomModulesRequest.Builder clearPageToken()

Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

clearParent()

public ListEventThreatDetectionCustomModulesRequest.Builder clearParent()

Required. Name of parent to list custom modules. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

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

Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

clone()

public ListEventThreatDetectionCustomModulesRequest.Builder clone()
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListEventThreatDetectionCustomModulesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Name of parent to list custom modules. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Name of parent to list custom modules. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

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

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEventThreatDetectionCustomModulesRequest other)

public ListEventThreatDetectionCustomModulesRequest.Builder mergeFrom(ListEventThreatDetectionCustomModulesRequest other)
Parameter
NameDescription
otherListEventThreatDetectionCustomModulesRequest
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListEventThreatDetectionCustomModulesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListEventThreatDetectionCustomModulesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEventThreatDetectionCustomModulesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListEventThreatDetectionCustomModulesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

setPageSize(int value)

public ListEventThreatDetectionCustomModulesRequest.Builder setPageSize(int value)

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListEventThreatDetectionCustomModulesRequest.Builder setPageToken(String value)

Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListEventThreatDetectionCustomModulesRequest.Builder setPageTokenBytes(ByteString value)

Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setParent(String value)

public ListEventThreatDetectionCustomModulesRequest.Builder setParent(String value)

Required. Name of parent to list custom modules. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListEventThreatDetectionCustomModulesRequest.Builder setParentBytes(ByteString value)

Required. Name of parent to list custom modules. Its format is "organizations/{organization}/locations/{location}", "folders/{folder}/locations/{location}", or "projects/{project}/locations/{location}"

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListEventThreatDetectionCustomModulesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListEventThreatDetectionCustomModulesRequest.Builder
Overrides