Class ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder (0.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest build()
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesRequest

buildPartial()

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest buildPartial()
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

clearParent()

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.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
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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(ListDescendantSecurityHealthAnalyticsCustomModulesRequest other)

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder mergeFrom(ListDescendantSecurityHealthAnalyticsCustomModulesRequest other)
Parameter
NameDescription
otherListDescendantSecurityHealthAnalyticsCustomModulesRequest
Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

setParent(String value)

public ListDescendantSecurityHealthAnalyticsCustomModulesRequest.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
ListDescendantSecurityHealthAnalyticsCustomModulesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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