Interface GetNotificationRequestOrBuilder (0.16.0)

public interface GetNotificationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLanguageCode()

public abstract 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
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract 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
TypeDescription
ByteString

The bytes for languageCode.

getName()

public abstract String getName()

Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.