Class ListSecurityCenterServicesRequest.Builder (0.23.0)

public static final class ListSecurityCenterServicesRequest.Builder extends GeneratedMessageV3.Builder<ListSecurityCenterServicesRequest.Builder> implements ListSecurityCenterServicesRequestOrBuilder

Request message for SecurityCenterManagement.ListSecurityCenterServices.

Protobuf type google.cloud.securitycentermanagement.v1.ListSecurityCenterServicesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListSecurityCenterServicesRequest build()
Returns
Type Description
ListSecurityCenterServicesRequest

buildPartial()

public ListSecurityCenterServicesRequest buildPartial()
Returns
Type Description
ListSecurityCenterServicesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

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

This builder for chaining.

clearPageToken()

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

This builder for chaining.

clearParent()

public ListSecurityCenterServicesRequest.Builder clearParent()

Required. The name of the parent to list Security Command Center services, 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
ListSecurityCenterServicesRequest.Builder

This builder for chaining.

clearShowEligibleModulesOnly()

public ListSecurityCenterServicesRequest.Builder clearShowEligibleModulesOnly()

Flag that, when set, is used to filter the module settings that are shown. The default setting is that all modules are shown.

bool show_eligible_modules_only = 4;

Returns
Type Description
ListSecurityCenterServicesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListSecurityCenterServicesRequest getDefaultInstanceForType()
Returns
Type Description
ListSecurityCenterServicesRequest

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 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. The name of the parent to list Security Command Center services, 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. The name of the parent to list Security Command Center services, 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.

getShowEligibleModulesOnly()

public boolean getShowEligibleModulesOnly()

Flag that, when set, is used to filter the module settings that are shown. The default setting is that all modules are shown.

bool show_eligible_modules_only = 4;

Returns
Type Description
boolean

The showEligibleModulesOnly.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSecurityCenterServicesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

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

This builder for chaining.

setPageToken(String value)

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

This builder for chaining.

setPageTokenBytes(ByteString value)

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

This builder for chaining.

setParent(String value)

public ListSecurityCenterServicesRequest.Builder setParent(String value)

Required. The name of the parent to list Security Command Center services, 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
ListSecurityCenterServicesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListSecurityCenterServicesRequest.Builder setParentBytes(ByteString value)

Required. The name of the parent to list Security Command Center services, 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
ListSecurityCenterServicesRequest.Builder

This builder for chaining.

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

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

setShowEligibleModulesOnly(boolean value)

public ListSecurityCenterServicesRequest.Builder setShowEligibleModulesOnly(boolean value)

Flag that, when set, is used to filter the module settings that are shown. The default setting is that all modules are shown.

bool show_eligible_modules_only = 4;

Parameter
Name Description
value boolean

The showEligibleModulesOnly to set.

Returns
Type Description
ListSecurityCenterServicesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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