Class ListNotificationConfigsRequest.Builder (2.91.0)

public static final class ListNotificationConfigsRequest.Builder extends GeneratedMessage.Builder<ListNotificationConfigsRequest.Builder> implements ListNotificationConfigsRequestOrBuilder

Request message for listing notification configs.

Protobuf type google.cloud.securitycenter.v2.ListNotificationConfigsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListNotificationConfigsRequest build()
Returns
Type Description
ListNotificationConfigsRequest

buildPartial()

public ListNotificationConfigsRequest buildPartial()
Returns
Type Description
ListNotificationConfigsRequest

clear()

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

clearPageSize()

public ListNotificationConfigsRequest.Builder clearPageSize()

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

int32 page_size = 3;

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

clearPageToken()

public ListNotificationConfigsRequest.Builder clearPageToken()

The value returned by the last ListNotificationConfigsResponse; indicates that this is a continuation of a prior ListNotificationConfigs call, and that the system should return the next page of data.

string page_token = 2;

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

clearParent()

public ListNotificationConfigsRequest.Builder clearParent()

Required. The name of the parent in which to list the notification configurations. Its format is "organizations/[organization_id]/locations/[location_id]", "folders/[folder_id]/locations/[location_id]", or "projects/[project_id]/locations/[location_id]".

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

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListNotificationConfigsRequest getDefaultInstanceForType()
Returns
Type Description
ListNotificationConfigsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

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

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The value returned by the last ListNotificationConfigsResponse; indicates that this is a continuation of a prior ListNotificationConfigs call, and that the system should return the next page of data.

string page_token = 2;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The value returned by the last ListNotificationConfigsResponse; indicates that this is a continuation of a prior ListNotificationConfigs call, and that the system should return the next page of data.

string page_token = 2;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the parent in which to list the notification configurations. Its format is "organizations/[organization_id]/locations/[location_id]", "folders/[folder_id]/locations/[location_id]", or "projects/[project_id]/locations/[location_id]".

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 in which to list the notification configurations. Its format is "organizations/[organization_id]/locations/[location_id]", "folders/[folder_id]/locations/[location_id]", or "projects/[project_id]/locations/[location_id]".

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNotificationConfigsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPageSize(int value)

public ListNotificationConfigsRequest.Builder setPageSize(int value)

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

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListNotificationConfigsRequest.Builder setPageToken(String value)

The value returned by the last ListNotificationConfigsResponse; indicates that this is a continuation of a prior ListNotificationConfigs call, and that the system should return the next page of data.

string page_token = 2;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListNotificationConfigsRequest.Builder setPageTokenBytes(ByteString value)

The value returned by the last ListNotificationConfigsResponse; indicates that this is a continuation of a prior ListNotificationConfigs call, and that the system should return the next page of data.

string page_token = 2;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

setParent(String value)

public ListNotificationConfigsRequest.Builder setParent(String value)

Required. The name of the parent in which to list the notification configurations. Its format is "organizations/[organization_id]/locations/[location_id]", "folders/[folder_id]/locations/[location_id]", or "projects/[project_id]/locations/[location_id]".

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListNotificationConfigsRequest.Builder setParentBytes(ByteString value)

Required. The name of the parent in which to list the notification configurations. Its format is "organizations/[organization_id]/locations/[location_id]", "folders/[folder_id]/locations/[location_id]", or "projects/[project_id]/locations/[location_id]".

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

This builder for chaining.