Class ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder (0.21.0)

public static final class ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder extends GeneratedMessageV3.Builder<ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder> implements ListDescendantSecurityHealthAnalyticsCustomModulesRequestOrBuilder

Request message for listing descendant Security Health Analytics custom modules.

Protobuf type google.cloud.securitycentermanagement.v1.ListDescendantSecurityHealthAnalyticsCustomModulesRequest

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest build()
Returns
Type Description
ListDescendantSecurityHealthAnalyticsCustomModulesRequest

buildPartial()

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest buildPartial()
Returns
Type Description
ListDescendantSecurityHealthAnalyticsCustomModulesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder clearPageSize()

Optional. The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

clearPageToken()

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder clearPageToken()

Optional. A token identifying a page of results the server should return.

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

Returns
Type Description
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

clearParent()

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder clearParent()

Required. Name of the parent organization, folder, or project in which to list custom modules, specified 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
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest getDefaultInstanceForType()
Returns
Type Description
ListDescendantSecurityHealthAnalyticsCustomModulesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A token identifying a page of results the server should return.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A token identifying a page of results the server should return.

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Name of the parent organization, folder, or project in which to list custom modules, specified 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 the parent organization, folder, or project in which to list custom modules, specified 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(ListDescendantSecurityHealthAnalyticsCustomModulesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder setPageSize(int value)

Optional. The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder setPageToken(String value)

Optional. A token identifying a page of results the server should return.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder setPageTokenBytes(ByteString value)

Optional. A token identifying a page of results the server should return.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

setParent(String value)

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder setParent(String value)

Required. Name of the parent organization, folder, or project in which to list custom modules, specified 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
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder setParentBytes(ByteString value)

Required. Name of the parent organization, folder, or project in which to list custom modules, specified 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
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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