Class ListNotificationConfigsResponse.Builder (2.16.0)

public static final class ListNotificationConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder> implements ListNotificationConfigsResponseOrBuilder

Response message for listing notification configs.

Protobuf type google.cloud.securitycenter.v1.ListNotificationConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllNotificationConfigs(Iterable<? extends NotificationConfig> values)

public ListNotificationConfigsResponse.Builder addAllNotificationConfigs(Iterable<? extends NotificationConfig> values)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v1.NotificationConfig>
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

addNotificationConfigs(NotificationConfig value)

public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig value)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameter
NameDescription
valueNotificationConfig
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

addNotificationConfigs(NotificationConfig.Builder builderForValue)

public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig.Builder builderForValue)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameter
NameDescription
builderForValueNotificationConfig.Builder
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

addNotificationConfigs(int index, NotificationConfig value)

public ListNotificationConfigsResponse.Builder addNotificationConfigs(int index, NotificationConfig value)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameters
NameDescription
indexint
valueNotificationConfig
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

addNotificationConfigs(int index, NotificationConfig.Builder builderForValue)

public ListNotificationConfigsResponse.Builder addNotificationConfigs(int index, NotificationConfig.Builder builderForValue)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameters
NameDescription
indexint
builderForValueNotificationConfig.Builder
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

addNotificationConfigsBuilder()

public NotificationConfig.Builder addNotificationConfigsBuilder()

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Returns
TypeDescription
NotificationConfig.Builder

addNotificationConfigsBuilder(int index)

public NotificationConfig.Builder addNotificationConfigsBuilder(int index)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NotificationConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNotificationConfigsResponse build()
Returns
TypeDescription
ListNotificationConfigsResponse

buildPartial()

public ListNotificationConfigsResponse buildPartial()
Returns
TypeDescription
ListNotificationConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListNotificationConfigsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
TypeDescription
ListNotificationConfigsResponse.Builder

This builder for chaining.

clearNotificationConfigs()

public ListNotificationConfigsResponse.Builder clearNotificationConfigs()

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Returns
TypeDescription
ListNotificationConfigsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNotificationConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListNotificationConfigsResponse.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public ListNotificationConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNotificationConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getNotificationConfigs(int index)

public NotificationConfig getNotificationConfigs(int index)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NotificationConfig

getNotificationConfigsBuilder(int index)

public NotificationConfig.Builder getNotificationConfigsBuilder(int index)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NotificationConfig.Builder

getNotificationConfigsBuilderList()

public List<NotificationConfig.Builder> getNotificationConfigsBuilderList()

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Returns
TypeDescription
List<Builder>

getNotificationConfigsCount()

public int getNotificationConfigsCount()

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Returns
TypeDescription
int

getNotificationConfigsList()

public List<NotificationConfig> getNotificationConfigsList()

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Returns
TypeDescription
List<NotificationConfig>

getNotificationConfigsOrBuilder(int index)

public NotificationConfigOrBuilder getNotificationConfigsOrBuilder(int index)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NotificationConfigOrBuilder

getNotificationConfigsOrBuilderList()

public List<? extends NotificationConfigOrBuilder> getNotificationConfigsOrBuilderList()

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.NotificationConfigOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListNotificationConfigsResponse other)

public ListNotificationConfigsResponse.Builder mergeFrom(ListNotificationConfigsResponse other)
Parameter
NameDescription
otherListNotificationConfigsResponse
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNotificationConfigs(int index)

public ListNotificationConfigsResponse.Builder removeNotificationConfigs(int index)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListNotificationConfigsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListNotificationConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNotificationConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListNotificationConfigsResponse.Builder

This builder for chaining.

setNotificationConfigs(int index, NotificationConfig value)

public ListNotificationConfigsResponse.Builder setNotificationConfigs(int index, NotificationConfig value)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameters
NameDescription
indexint
valueNotificationConfig
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

setNotificationConfigs(int index, NotificationConfig.Builder builderForValue)

public ListNotificationConfigsResponse.Builder setNotificationConfigs(int index, NotificationConfig.Builder builderForValue)

Notification configs belonging to the requested parent.

repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;

Parameters
NameDescription
indexint
builderForValueNotificationConfig.Builder
Returns
TypeDescription
ListNotificationConfigsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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