public static final class ListNotificationConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder> implements ListNotificationConfigsResponseOrBuilder
Response message for listing notification configs.
Protobuf type google.cloud.securitycenter.v2.ListNotificationConfigsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v2.NotificationConfig notification_configs = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.NotificationConfig>
|
addNotificationConfigs(NotificationConfig value)
public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig value)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
addNotificationConfigs(NotificationConfig.Builder builderForValue)
public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig.Builder builderForValue)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
addNotificationConfigs(int index, NotificationConfig value)
public ListNotificationConfigsResponse.Builder addNotificationConfigs(int index, NotificationConfig value)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
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.v2.NotificationConfig notification_configs = 1;
addNotificationConfigsBuilder()
public NotificationConfig.Builder addNotificationConfigsBuilder()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
addNotificationConfigsBuilder(int index)
public NotificationConfig.Builder addNotificationConfigsBuilder(int index)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListNotificationConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListNotificationConfigsResponse build()
buildPartial()
public ListNotificationConfigsResponse buildPartial()
clear()
public ListNotificationConfigsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListNotificationConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearNotificationConfigs()
public ListNotificationConfigsResponse.Builder clearNotificationConfigs()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListNotificationConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListNotificationConfigsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListNotificationConfigsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getNotificationConfigs(int index)
public NotificationConfig getNotificationConfigs(int index)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
Parameter |
Name |
Description |
index |
int
|
getNotificationConfigsBuilder(int index)
public NotificationConfig.Builder getNotificationConfigsBuilder(int index)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
Parameter |
Name |
Description |
index |
int
|
getNotificationConfigsBuilderList()
public List<NotificationConfig.Builder> getNotificationConfigsBuilderList()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
getNotificationConfigsCount()
public int getNotificationConfigsCount()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
Returns |
Type |
Description |
int |
|
getNotificationConfigsList()
public List<NotificationConfig> getNotificationConfigsList()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
getNotificationConfigsOrBuilder(int index)
public NotificationConfigOrBuilder getNotificationConfigsOrBuilder(int index)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
Parameter |
Name |
Description |
index |
int
|
getNotificationConfigsOrBuilderList()
public List<? extends NotificationConfigOrBuilder> getNotificationConfigsOrBuilderList()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.securitycenter.v2.NotificationConfigOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListNotificationConfigsResponse other)
public ListNotificationConfigsResponse.Builder mergeFrom(ListNotificationConfigsResponse other)
public ListNotificationConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListNotificationConfigsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListNotificationConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNotificationConfigs(int index)
public ListNotificationConfigsResponse.Builder removeNotificationConfigs(int index)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListNotificationConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
value |
String
The nextPageToken to set.
|
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 |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setNotificationConfigs(int index, NotificationConfig value)
public ListNotificationConfigsResponse.Builder setNotificationConfigs(int index, NotificationConfig value)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v2.NotificationConfig notification_configs = 1;
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.v2.NotificationConfig notification_configs = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListNotificationConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListNotificationConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides