Interface ListNotificationsRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ListNotificationsRequest, ListNotificationsRequest.Builder

    public interface ListNotificationsRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getLanguageCode()
      ISO code for requested localization language.
      com.google.protobuf.ByteString getLanguageCodeBytes()
      ISO code for requested localization language.
      int getPageSize()
      The maximum number of notifications to return.
      String getPageToken()
      A page token returned from a previous request.
      com.google.protobuf.ByteString getPageTokenBytes()
      A page token returned from a previous request.
      String getParent()
      Required.
      com.google.protobuf.ByteString getParentBytes()
      Required.
      NotificationView getView()
      Specifies which parts of the notification resource should be returned in the response.
      int getViewValue()
      Specifies which parts of the notification resource should be returned in the response.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getParent

        String getParent()
         Required. The parent, which owns this collection of notifications.
         Must be of the form "organizations/{organization}/locations/{location}".
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The parent, which owns this collection of notifications.
         Must be of the form "organizations/{organization}/locations/{location}".
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • getPageSize

        int getPageSize()
         The maximum number of notifications to return. The service may return
         fewer than this value. If unspecified or equal to 0, at most 50
         notifications will be returned. The maximum value is 50; values above 50
         will be coerced to 50.
         
        int32 page_size = 2;
        Returns:
        The pageSize.
      • getPageToken

        String getPageToken()
         A page token returned from a previous request.
         When paginating, all other parameters provided in the request
         must match the call that returned the page token.
         
        string page_token = 3;
        Returns:
        The pageToken.
      • getPageTokenBytes

        com.google.protobuf.ByteString getPageTokenBytes()
         A page token returned from a previous request.
         When paginating, all other parameters provided in the request
         must match the call that returned the page token.
         
        string page_token = 3;
        Returns:
        The bytes for pageToken.
      • getViewValue

        int getViewValue()
         Specifies which parts of the notification resource should be returned
         in the response.
         
        .google.cloud.advisorynotifications.v1.NotificationView view = 4;
        Returns:
        The enum numeric value on the wire for view.
      • getView

        NotificationView getView()
         Specifies which parts of the notification resource should be returned
         in the response.
         
        .google.cloud.advisorynotifications.v1.NotificationView view = 4;
        Returns:
        The view.
      • getLanguageCode

        String getLanguageCode()
         ISO code for requested localization language.  If unset, will be
         interpereted as "en". If the requested language is valid, but not supported
         for this notification, English will be returned with an "Not applicable"
         LocalizationState. If the ISO code is invalid (i.e. not a real language),
         this RPC will throw an error.
         
        string language_code = 5;
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        com.google.protobuf.ByteString getLanguageCodeBytes()
         ISO code for requested localization language.  If unset, will be
         interpereted as "en". If the requested language is valid, but not supported
         for this notification, English will be returned with an "Not applicable"
         LocalizationState. If the ISO code is invalid (i.e. not a real language),
         this RPC will throw an error.
         
        string language_code = 5;
        Returns:
        The bytes for languageCode.