Class ListDescendantEventThreatDetectionCustomModulesRequest.Builder (0.22.0)

public static final class ListDescendantEventThreatDetectionCustomModulesRequest.Builder extends GeneratedMessageV3.Builder<ListDescendantEventThreatDetectionCustomModulesRequest.Builder> implements ListDescendantEventThreatDetectionCustomModulesRequestOrBuilder

Request message for SecurityCenterManagement.ListDescendantEventThreatDetectionCustomModules.

Protobuf type google.cloud.securitycentermanagement.v1.ListDescendantEventThreatDetectionCustomModulesRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListDescendantEventThreatDetectionCustomModulesRequest.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDescendantEventThreatDetectionCustomModulesRequest build()
Returns
Type Description
ListDescendantEventThreatDetectionCustomModulesRequest

buildPartial()

public ListDescendantEventThreatDetectionCustomModulesRequest buildPartial()
Returns
Type Description
ListDescendantEventThreatDetectionCustomModulesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListDescendantEventThreatDetectionCustomModulesRequest.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
Type Description
ListDescendantEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

clearPageToken()

public ListDescendantEventThreatDetectionCustomModulesRequest.Builder clearPageToken()

Optional. A pagination token returned from a previous request. Provide this token to retrieve the next page of results.

When paginating, the rest of the request must match the request that generated the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDescendantEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

clearParent()

public ListDescendantEventThreatDetectionCustomModulesRequest.Builder clearParent()

Required. Name of parent to list custom modules, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

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

Returns
Type Description
ListDescendantEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDescendantEventThreatDetectionCustomModulesRequest getDefaultInstanceForType()
Returns
Type Description
ListDescendantEventThreatDetectionCustomModulesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A pagination token returned from a previous request. Provide this token to retrieve the next page of results.

When paginating, the rest of the request must match the request that generated the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A pagination token returned from a previous request. Provide this token to retrieve the next page of results.

When paginating, the rest of the request must match the request that generated the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Name of parent to list custom modules, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

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 parent to list custom modules, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

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(ListDescendantEventThreatDetectionCustomModulesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListDescendantEventThreatDetectionCustomModulesRequest.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
Name Description
value int

The pageSize to set.

Returns
Type Description
ListDescendantEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListDescendantEventThreatDetectionCustomModulesRequest.Builder setPageToken(String value)

Optional. A pagination token returned from a previous request. Provide this token to retrieve the next page of results.

When paginating, the rest of the request must match the request that generated the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListDescendantEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListDescendantEventThreatDetectionCustomModulesRequest.Builder setPageTokenBytes(ByteString value)

Optional. A pagination token returned from a previous request. Provide this token to retrieve the next page of results.

When paginating, the rest of the request must match the request that generated the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListDescendantEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setParent(String value)

public ListDescendantEventThreatDetectionCustomModulesRequest.Builder setParent(String value)

Required. Name of parent to list custom modules, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListDescendantEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListDescendantEventThreatDetectionCustomModulesRequest.Builder setParentBytes(ByteString value)

Required. Name of parent to list custom modules, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}

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
ListDescendantEventThreatDetectionCustomModulesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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