Class ListNotificationChannelsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelsRequest.Builder>
com.google.monitoring.v3.ListNotificationChannelsRequest.Builder
All Implemented Interfaces:
ListNotificationChannelsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListNotificationChannelsRequest

public static final class ListNotificationChannelsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelsRequest.Builder> implements ListNotificationChannelsRequestOrBuilder
 The `ListNotificationChannels` request.
 
Protobuf type google.monitoring.v3.ListNotificationChannelsRequest
  • 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<ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
    • getDefaultInstanceForType

      public ListNotificationChannelsRequest 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 ListNotificationChannelsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
    • mergeFrom

      public ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The
       [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
       to execute the request. The format is:
      
       projects/[PROJECT_ID_OR_NUMBER]
      
       This names the container
       in which to look for the notification channels; it does not name a
       specific channel. To query a specific channel by REST resource name, use
       the
       [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
       operation.
       
      string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface ListNotificationChannelsRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The
       [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
       to execute the request. The format is:
      
       projects/[PROJECT_ID_OR_NUMBER]
      
       This names the container
       in which to look for the notification channels; it does not name a
       specific channel. To query a specific channel by REST resource name, use
       the
       [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
       operation.
       
      string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface ListNotificationChannelsRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The
       [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
       to execute the request. The format is:
      
       projects/[PROJECT_ID_OR_NUMBER]
      
       This names the container
       in which to look for the notification channels; it does not name a
       specific channel. To query a specific channel by REST resource name, use
       the
       [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
       operation.
       
      string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The
       [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
       to execute the request. The format is:
      
       projects/[PROJECT_ID_OR_NUMBER]
      
       This names the container
       in which to look for the notification channels; it does not name a
       specific channel. To query a specific channel by REST resource name, use
       the
       [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
       operation.
       
      string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public ListNotificationChannelsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The
       [project](https://cloud.google.com/monitoring/api/v3#project_name) on which
       to execute the request. The format is:
      
       projects/[PROJECT_ID_OR_NUMBER]
      
       This names the container
       in which to look for the notification channels; it does not name a
       specific channel. To query a specific channel by REST resource name, use
       the
       [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
       operation.
       
      string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Optional. If provided, this field specifies the criteria that must be met
       by notification channels to be included in the response.
      
       For more details, see [sorting and
       filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
       
      string filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface ListNotificationChannelsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional. If provided, this field specifies the criteria that must be met
       by notification channels to be included in the response.
      
       For more details, see [sorting and
       filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
       
      string filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface ListNotificationChannelsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

       Optional. If provided, this field specifies the criteria that must be met
       by notification channels to be included in the response.
      
       For more details, see [sorting and
       filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
       
      string filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

       Optional. If provided, this field specifies the criteria that must be met
       by notification channels to be included in the response.
      
       For more details, see [sorting and
       filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
       
      string filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListNotificationChannelsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Optional. If provided, this field specifies the criteria that must be met
       by notification channels to be included in the response.
      
       For more details, see [sorting and
       filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
       
      string filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getOrderBy

      public String getOrderBy()
       Optional. A comma-separated list of fields by which to sort the result.
       Supports the same set of fields as in `filter`. Entries can be prefixed
       with a minus sign to sort in descending rather than ascending order.
      
       For more details, see [sorting and
       filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
       
      string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBy in interface ListNotificationChannelsRequestOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       Optional. A comma-separated list of fields by which to sort the result.
       Supports the same set of fields as in `filter`. Entries can be prefixed
       with a minus sign to sort in descending rather than ascending order.
      
       For more details, see [sorting and
       filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
       
      string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderByBytes in interface ListNotificationChannelsRequestOrBuilder
      Returns:
      The bytes for orderBy.
    • setOrderBy

       Optional. A comma-separated list of fields by which to sort the result.
       Supports the same set of fields as in `filter`. Entries can be prefixed
       with a minus sign to sort in descending rather than ascending order.
      
       For more details, see [sorting and
       filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
       
      string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The orderBy to set.
      Returns:
      This builder for chaining.
    • clearOrderBy

       Optional. A comma-separated list of fields by which to sort the result.
       Supports the same set of fields as in `filter`. Entries can be prefixed
       with a minus sign to sort in descending rather than ascending order.
      
       For more details, see [sorting and
       filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
       
      string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setOrderByBytes

      public ListNotificationChannelsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
       Optional. A comma-separated list of fields by which to sort the result.
       Supports the same set of fields as in `filter`. Entries can be prefixed
       with a minus sign to sort in descending rather than ascending order.
      
       For more details, see [sorting and
       filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
       
      string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for orderBy to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Optional. The maximum number of results to return in a single response. If
       not set to a positive number, a reasonable value will be chosen by the
       service.
       
      int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface ListNotificationChannelsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListNotificationChannelsRequest.Builder setPageSize(int value)
       Optional. The maximum number of results to return in a single response. If
       not set to a positive number, a reasonable value will be chosen by the
       service.
       
      int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       Optional. The maximum number of results to return in a single response. If
       not set to a positive number, a reasonable value will be chosen by the
       service.
       
      int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Optional. If non-empty, `page_token` must contain a value returned as the
       `next_page_token` in a previous response to request the next set
       of results.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageToken in interface ListNotificationChannelsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Optional. If non-empty, `page_token` must contain a value returned as the
       `next_page_token` in a previous response to request the next set
       of results.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageTokenBytes in interface ListNotificationChannelsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListNotificationChannelsRequest.Builder setPageToken(String value)
       Optional. If non-empty, `page_token` must contain a value returned as the
       `next_page_token` in a previous response to request the next set
       of results.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListNotificationChannelsRequest.Builder clearPageToken()
       Optional. If non-empty, `page_token` must contain a value returned as the
       `next_page_token` in a previous response to request the next set
       of results.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListNotificationChannelsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Optional. If non-empty, `page_token` must contain a value returned as the
       `next_page_token` in a previous response to request the next set
       of results.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.