Interface GetNotificationRequestOrBuilder

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

@Generated public interface GetNotificationRequestOrBuilder 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.
    Required.
    com.google.protobuf.ByteString
    Required.

    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

    • getName

      String getName()
       Required. A name of the notification to retrieve.
       Format:
       organizations/{organization}/locations/{location}/notifications/{notification}
       or projects/{projects}/locations/{location}/notifications/{notification}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. A name of the notification to retrieve.
       Format:
       organizations/{organization}/locations/{location}/notifications/{notification}
       or projects/{projects}/locations/{location}/notifications/{notification}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • 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.