Class ListNotificationConfigsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
- com.google.cloud.securitycenter.v1.ListNotificationConfigsResponse.Builder
-
- All Implemented Interfaces:
ListNotificationConfigsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListNotificationConfigsResponse
public static final class ListNotificationConfigsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder> implements ListNotificationConfigsResponseOrBuilder
Response message for listing notification configs.
Protobuf typegoogle.cloud.securitycenter.v1.ListNotificationConfigsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListNotificationConfigsResponse.Builder
addAllNotificationConfigs(Iterable<? extends NotificationConfig> values)
Notification configs belonging to the requested parent.ListNotificationConfigsResponse.Builder
addNotificationConfigs(int index, NotificationConfig value)
Notification configs belonging to the requested parent.ListNotificationConfigsResponse.Builder
addNotificationConfigs(int index, NotificationConfig.Builder builderForValue)
Notification configs belonging to the requested parent.ListNotificationConfigsResponse.Builder
addNotificationConfigs(NotificationConfig value)
Notification configs belonging to the requested parent.ListNotificationConfigsResponse.Builder
addNotificationConfigs(NotificationConfig.Builder builderForValue)
Notification configs belonging to the requested parent.NotificationConfig.Builder
addNotificationConfigsBuilder()
Notification configs belonging to the requested parent.NotificationConfig.Builder
addNotificationConfigsBuilder(int index)
Notification configs belonging to the requested parent.ListNotificationConfigsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListNotificationConfigsResponse
build()
ListNotificationConfigsResponse
buildPartial()
ListNotificationConfigsResponse.Builder
clear()
ListNotificationConfigsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListNotificationConfigsResponse.Builder
clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results.ListNotificationConfigsResponse.Builder
clearNotificationConfigs()
Notification configs belonging to the requested parent.ListNotificationConfigsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListNotificationConfigsResponse.Builder
clone()
ListNotificationConfigsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results.com.google.protobuf.ByteString
getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more results.NotificationConfig
getNotificationConfigs(int index)
Notification configs belonging to the requested parent.NotificationConfig.Builder
getNotificationConfigsBuilder(int index)
Notification configs belonging to the requested parent.List<NotificationConfig.Builder>
getNotificationConfigsBuilderList()
Notification configs belonging to the requested parent.int
getNotificationConfigsCount()
Notification configs belonging to the requested parent.List<NotificationConfig>
getNotificationConfigsList()
Notification configs belonging to the requested parent.NotificationConfigOrBuilder
getNotificationConfigsOrBuilder(int index)
Notification configs belonging to the requested parent.List<? extends NotificationConfigOrBuilder>
getNotificationConfigsOrBuilderList()
Notification configs belonging to the requested parent.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListNotificationConfigsResponse.Builder
mergeFrom(ListNotificationConfigsResponse other)
ListNotificationConfigsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListNotificationConfigsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListNotificationConfigsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListNotificationConfigsResponse.Builder
removeNotificationConfigs(int index)
Notification configs belonging to the requested parent.ListNotificationConfigsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListNotificationConfigsResponse.Builder
setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more results.ListNotificationConfigsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results, or empty if there are no more results.ListNotificationConfigsResponse.Builder
setNotificationConfigs(int index, NotificationConfig value)
Notification configs belonging to the requested parent.ListNotificationConfigsResponse.Builder
setNotificationConfigs(int index, NotificationConfig.Builder builderForValue)
Notification configs belonging to the requested parent.ListNotificationConfigsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListNotificationConfigsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
clear
public ListNotificationConfigsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
getDefaultInstanceForType
public ListNotificationConfigsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListNotificationConfigsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListNotificationConfigsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListNotificationConfigsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
setField
public ListNotificationConfigsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
clearField
public ListNotificationConfigsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
clearOneof
public ListNotificationConfigsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
setRepeatedField
public ListNotificationConfigsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
addRepeatedField
public ListNotificationConfigsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
mergeFrom
public ListNotificationConfigsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListNotificationConfigsResponse.Builder>
-
mergeFrom
public ListNotificationConfigsResponse.Builder mergeFrom(ListNotificationConfigsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
mergeFrom
public ListNotificationConfigsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListNotificationConfigsResponse.Builder>
- Throws:
IOException
-
getNotificationConfigsList
public List<NotificationConfig> getNotificationConfigsList()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
- Specified by:
getNotificationConfigsList
in interfaceListNotificationConfigsResponseOrBuilder
-
getNotificationConfigsCount
public int getNotificationConfigsCount()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
- Specified by:
getNotificationConfigsCount
in interfaceListNotificationConfigsResponseOrBuilder
-
getNotificationConfigs
public NotificationConfig getNotificationConfigs(int index)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
- Specified by:
getNotificationConfigs
in interfaceListNotificationConfigsResponseOrBuilder
-
setNotificationConfigs
public ListNotificationConfigsResponse.Builder setNotificationConfigs(int index, NotificationConfig value)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
setNotificationConfigs
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;
-
addNotificationConfigs
public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig value)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
addNotificationConfigs
public ListNotificationConfigsResponse.Builder addNotificationConfigs(int index, NotificationConfig value)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
addNotificationConfigs
public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig.Builder builderForValue)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
addNotificationConfigs
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;
-
addAllNotificationConfigs
public ListNotificationConfigsResponse.Builder addAllNotificationConfigs(Iterable<? extends NotificationConfig> values)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
clearNotificationConfigs
public ListNotificationConfigsResponse.Builder clearNotificationConfigs()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
removeNotificationConfigs
public ListNotificationConfigsResponse.Builder removeNotificationConfigs(int index)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
getNotificationConfigsBuilder
public NotificationConfig.Builder getNotificationConfigsBuilder(int index)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
getNotificationConfigsOrBuilder
public NotificationConfigOrBuilder getNotificationConfigsOrBuilder(int index)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
- Specified by:
getNotificationConfigsOrBuilder
in interfaceListNotificationConfigsResponseOrBuilder
-
getNotificationConfigsOrBuilderList
public List<? extends NotificationConfigOrBuilder> getNotificationConfigsOrBuilderList()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
- Specified by:
getNotificationConfigsOrBuilderList
in interfaceListNotificationConfigsResponseOrBuilder
-
addNotificationConfigsBuilder
public NotificationConfig.Builder addNotificationConfigsBuilder()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
addNotificationConfigsBuilder
public NotificationConfig.Builder addNotificationConfigsBuilder(int index)
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
getNotificationConfigsBuilderList
public List<NotificationConfig.Builder> getNotificationConfigsBuilderList()
Notification configs belonging to the requested parent.
repeated .google.cloud.securitycenter.v1.NotificationConfig notification_configs = 1;
-
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;
- Specified by:
getNextPageToken
in interfaceListNotificationConfigsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListNotificationConfigsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListNotificationConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 2;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListNotificationConfigsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
mergeUnknownFields
public final ListNotificationConfigsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationConfigsResponse.Builder>
-
-