Class ListNotificationConfigsRequest.Builder (2.17.0)

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

Request message for listing notification configs.

Protobuf type google.cloud.securitycenter.v1.ListNotificationConfigsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNotificationConfigsRequest build()
Returns
TypeDescription
ListNotificationConfigsRequest

buildPartial()

public ListNotificationConfigsRequest buildPartial()
Returns
TypeDescription
ListNotificationConfigsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNotificationConfigsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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]", "folders/[folder_id]", or "projects/[project_id]".

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

Returns
TypeDescription
ListNotificationConfigsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListNotificationConfigsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListNotificationConfigsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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]", "folders/[folder_id]", or "projects/[project_id]".

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

Returns
TypeDescription
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]", "folders/[folder_id]", or "projects/[project_id]".

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

public ListNotificationConfigsRequest.Builder mergeFrom(ListNotificationConfigsRequest other)
Parameter
NameDescription
otherListNotificationConfigsRequest
Returns
TypeDescription
ListNotificationConfigsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

Returns
TypeDescription
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]", "folders/[folder_id]", or "projects/[project_id]".

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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]", "folders/[folder_id]", or "projects/[project_id]".

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListNotificationConfigsRequest.Builder

This builder for chaining.

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

public ListNotificationConfigsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListNotificationConfigsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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