Class ListNotificationConfigsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListNotificationConfigsResponse.Builder>
com.google.cloud.securitycenter.v1p1beta1.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.GeneratedMessage.Builder<ListNotificationConfigsResponse.Builder> implements ListNotificationConfigsResponseOrBuilder
 Response message for listing notification configs.
 
Protobuf type google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListNotificationConfigsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListNotificationConfigsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListNotificationConfigsResponse.Builder>
    • getDefaultInstanceForType

      public ListNotificationConfigsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListNotificationConfigsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListNotificationConfigsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotificationConfigsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListNotificationConfigsResponse.Builder>
    • mergeFrom

      public ListNotificationConfigsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotificationConfigsResponse.Builder>
      Throws:
      IOException
    • getNotificationConfigsList

      public List<NotificationConfig> getNotificationConfigsList()
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
      Specified by:
      getNotificationConfigsList in interface ListNotificationConfigsResponseOrBuilder
    • getNotificationConfigsCount

      public int getNotificationConfigsCount()
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
      Specified by:
      getNotificationConfigsCount in interface ListNotificationConfigsResponseOrBuilder
    • getNotificationConfigs

      public NotificationConfig getNotificationConfigs(int index)
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
      Specified by:
      getNotificationConfigs in interface ListNotificationConfigsResponseOrBuilder
    • setNotificationConfigs

      public ListNotificationConfigsResponse.Builder setNotificationConfigs(int index, NotificationConfig value)
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.NotificationConfig notification_configs = 1;
    • addNotificationConfigs

      public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig value)
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
    • addNotificationConfigs

      public ListNotificationConfigsResponse.Builder addNotificationConfigs(int index, NotificationConfig value)
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
    • addNotificationConfigs

      public ListNotificationConfigsResponse.Builder addNotificationConfigs(NotificationConfig.Builder builderForValue)
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.NotificationConfig notification_configs = 1;
    • addAllNotificationConfigs

      public ListNotificationConfigsResponse.Builder addAllNotificationConfigs(Iterable<? extends NotificationConfig> values)
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
    • clearNotificationConfigs

      public ListNotificationConfigsResponse.Builder clearNotificationConfigs()
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
    • removeNotificationConfigs

      public ListNotificationConfigsResponse.Builder removeNotificationConfigs(int index)
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
    • getNotificationConfigsBuilder

      public NotificationConfig.Builder getNotificationConfigsBuilder(int index)
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
    • getNotificationConfigsOrBuilder

      public NotificationConfigOrBuilder getNotificationConfigsOrBuilder(int index)
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
      Specified by:
      getNotificationConfigsOrBuilder in interface ListNotificationConfigsResponseOrBuilder
    • getNotificationConfigsOrBuilderList

      public List<? extends NotificationConfigOrBuilder> getNotificationConfigsOrBuilderList()
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
      Specified by:
      getNotificationConfigsOrBuilderList in interface ListNotificationConfigsResponseOrBuilder
    • addNotificationConfigsBuilder

      public NotificationConfig.Builder addNotificationConfigsBuilder()
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
    • addNotificationConfigsBuilder

      public NotificationConfig.Builder addNotificationConfigsBuilder(int index)
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.NotificationConfig notification_configs = 1;
    • getNotificationConfigsBuilderList

      public List<NotificationConfig.Builder> getNotificationConfigsBuilderList()
       Notification configs belonging to the requested parent.
       
      repeated .google.cloud.securitycenter.v1p1beta1.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 interface ListNotificationConfigsResponseOrBuilder
      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 interface ListNotificationConfigsResponseOrBuilder
      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.