Interface ListNotificationsRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    ISO code for requested localization language.
    com.google.protobuf.ByteString
    ISO code for requested localization language.
    int
    The maximum number of notifications to return.
    A page token returned from a previous request.
    com.google.protobuf.ByteString
    A page token returned from a previous request.
    Required.
    com.google.protobuf.ByteString
    Required.
    Specifies which parts of the notification resource should be returned in the response.
    int
    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 Details

    • getParent

      String getParent()
       Required. The parent, which owns this collection of notifications.
       Must be of the form "organizations/{organization}/locations/{location}"
       or "projects/{project}/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}"
       or "projects/{project}/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.