Class ListNotificationChannelsResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.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.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
      • clearNotificationChannels

        public ListNotificationChannelsResponse.Builder clearNotificationChannels()
         The notification channels defined for the specified project.
         
        repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      • removeNotificationChannels

        public ListNotificationChannelsResponse.Builder removeNotificationChannels​(int index)
         The notification channels defined for the specified project.
         
        repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      • getNotificationChannelsBuilder

        public NotificationChannel.Builder getNotificationChannelsBuilder​(int index)
         The notification channels defined for the specified project.
         
        repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      • addNotificationChannelsBuilder

        public NotificationChannel.Builder addNotificationChannelsBuilder()
         The notification channels defined for the specified project.
         
        repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      • addNotificationChannelsBuilder

        public NotificationChannel.Builder addNotificationChannelsBuilder​(int index)
         The notification channels defined for the specified project.
         
        repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      • getNotificationChannelsBuilderList

        public List<NotificationChannel.Builder> getNotificationChannelsBuilderList()
         The notification channels defined for the specified project.
         
        repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      • getNextPageToken

        public String getNextPageToken()
         If not empty, indicates that there may be more results that match
         the request. Use the value in the `page_token` field in a
         subsequent request to fetch the next set of results. If empty,
         all results have been returned.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListNotificationChannelsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         If not empty, indicates that there may be more results that match
         the request. Use the value in the `page_token` field in a
         subsequent request to fetch the next set of results. If empty,
         all results have been returned.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListNotificationChannelsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListNotificationChannelsResponse.Builder setNextPageToken​(String value)
         If not empty, indicates that there may be more results that match
         the request. Use the value in the `page_token` field in a
         subsequent request to fetch the next set of results. If empty,
         all results have been returned.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListNotificationChannelsResponse.Builder clearNextPageToken()
         If not empty, indicates that there may be more results that match
         the request. Use the value in the `page_token` field in a
         subsequent request to fetch the next set of results. If empty,
         all results have been returned.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListNotificationChannelsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         If not empty, indicates that there may be more results that match
         the request. Use the value in the `page_token` field in a
         subsequent request to fetch the next set of results. If empty,
         all results have been returned.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • getTotalSize

        public int getTotalSize()
         The total number of notification channels in all pages. This number is only
         an estimate, and may change in subsequent pages. https://aip.dev/158
         
        int32 total_size = 4;
        Specified by:
        getTotalSize in interface ListNotificationChannelsResponseOrBuilder
        Returns:
        The totalSize.
      • setTotalSize

        public ListNotificationChannelsResponse.Builder setTotalSize​(int value)
         The total number of notification channels in all pages. This number is only
         an estimate, and may change in subsequent pages. https://aip.dev/158
         
        int32 total_size = 4;
        Parameters:
        value - The totalSize to set.
        Returns:
        This builder for chaining.
      • clearTotalSize

        public ListNotificationChannelsResponse.Builder clearTotalSize()
         The total number of notification channels in all pages. This number is only
         an estimate, and may change in subsequent pages. https://aip.dev/158
         
        int32 total_size = 4;
        Returns:
        This builder for chaining.