Class ListNotificationChannelsResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.monitoring.v3.ListNotificationChannelsResponse
All Implemented Interfaces:
ListNotificationChannelsResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ListNotificationChannelsResponse extends com.google.protobuf.GeneratedMessage implements ListNotificationChannelsResponseOrBuilder
 The `ListNotificationChannels` response.
 
Protobuf type google.monitoring.v3.ListNotificationChannelsResponse
See Also:
  • Field Details

    • NOTIFICATION_CHANNELS_FIELD_NUMBER

      public static final int NOTIFICATION_CHANNELS_FIELD_NUMBER
      See Also:
    • NEXT_PAGE_TOKEN_FIELD_NUMBER

      public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
      See Also:
    • TOTAL_SIZE_FIELD_NUMBER

      public static final int TOTAL_SIZE_FIELD_NUMBER
      See Also:
  • 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
    • getNotificationChannelsList

      public List<NotificationChannel> getNotificationChannelsList()
       The notification channels defined for the specified project.
       
      repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      Specified by:
      getNotificationChannelsList in interface ListNotificationChannelsResponseOrBuilder
    • getNotificationChannelsOrBuilderList

      public List<? extends NotificationChannelOrBuilder> getNotificationChannelsOrBuilderList()
       The notification channels defined for the specified project.
       
      repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      Specified by:
      getNotificationChannelsOrBuilderList in interface ListNotificationChannelsResponseOrBuilder
    • getNotificationChannelsCount

      public int getNotificationChannelsCount()
       The notification channels defined for the specified project.
       
      repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      Specified by:
      getNotificationChannelsCount in interface ListNotificationChannelsResponseOrBuilder
    • getNotificationChannels

      public NotificationChannel getNotificationChannels(int index)
       The notification channels defined for the specified project.
       
      repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      Specified by:
      getNotificationChannels in interface ListNotificationChannelsResponseOrBuilder
    • getNotificationChannelsOrBuilder

      public NotificationChannelOrBuilder getNotificationChannelsOrBuilder(int index)
       The notification channels defined for the specified project.
       
      repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
      Specified by:
      getNotificationChannelsOrBuilder in interface ListNotificationChannelsResponseOrBuilder
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ListNotificationChannelsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListNotificationChannelsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListNotificationChannelsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListNotificationChannelsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListNotificationChannelsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListNotificationChannelsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListNotificationChannelsResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListNotificationChannelsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ListNotificationChannelsResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ListNotificationChannelsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListNotificationChannelsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListNotificationChannelsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ListNotificationChannelsResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ListNotificationChannelsResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ListNotificationChannelsResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ListNotificationChannelsResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<ListNotificationChannelsResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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