Class ListNotificationChannelDescriptorsRequest.Builder

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

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

      public ListNotificationChannelDescriptorsRequest 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

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

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

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

      public String getName()
       Required. The REST resource name of the parent from which to retrieve
       the notification channel descriptors. The expected syntax is:
      
       projects/[PROJECT_ID_OR_NUMBER]
      
       Note that this
       [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent
       container in which to look for the descriptors; to retrieve a single
       descriptor by name, use the
       [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor]
       operation, instead.
       
      string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface ListNotificationChannelDescriptorsRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The REST resource name of the parent from which to retrieve
       the notification channel descriptors. The expected syntax is:
      
       projects/[PROJECT_ID_OR_NUMBER]
      
       Note that this
       [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent
       container in which to look for the descriptors; to retrieve a single
       descriptor by name, use the
       [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor]
       operation, instead.
       
      string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface ListNotificationChannelDescriptorsRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The REST resource name of the parent from which to retrieve
       the notification channel descriptors. The expected syntax is:
      
       projects/[PROJECT_ID_OR_NUMBER]
      
       Note that this
       [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent
       container in which to look for the descriptors; to retrieve a single
       descriptor by name, use the
       [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor]
       operation, instead.
       
      string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Required. The REST resource name of the parent from which to retrieve
       the notification channel descriptors. The expected syntax is:
      
       projects/[PROJECT_ID_OR_NUMBER]
      
       Note that this
       [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent
       container in which to look for the descriptors; to retrieve a single
       descriptor by name, use the
       [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor]
       operation, instead.
       
      string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public ListNotificationChannelDescriptorsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The REST resource name of the parent from which to retrieve
       the notification channel descriptors. The expected syntax is:
      
       projects/[PROJECT_ID_OR_NUMBER]
      
       Note that this
       [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent
       container in which to look for the descriptors; to retrieve a single
       descriptor by name, use the
       [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor]
       operation, instead.
       
      string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       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 = 2;
      Specified by:
      getPageSize in interface ListNotificationChannelDescriptorsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListNotificationChannelDescriptorsRequest.Builder setPageSize(int value)
       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 = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       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 = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       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 = 3;
      Specified by:
      getPageToken in interface ListNotificationChannelDescriptorsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       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 = 3;
      Specified by:
      getPageTokenBytes in interface ListNotificationChannelDescriptorsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

       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 = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

       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 = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListNotificationChannelDescriptorsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       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 = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.