public final class GetNotificationRequest extends GeneratedMessageV3 implements GetNotificationRequestOrBuilder
Request for fetching a notification.
Protobuf type google.cloud.advisorynotifications.v1.GetNotificationRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GetNotificationRequestImplements
GetNotificationRequestOrBuilderStatic Fields
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static GetNotificationRequest getDefaultInstance()
Type | Description |
GetNotificationRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static GetNotificationRequest.Builder newBuilder()
Type | Description |
GetNotificationRequest.Builder |
newBuilder(GetNotificationRequest prototype)
public static GetNotificationRequest.Builder newBuilder(GetNotificationRequest prototype)
Name | Description |
prototype | GetNotificationRequest |
Type | Description |
GetNotificationRequest.Builder |
parseDelimitedFrom(InputStream input)
public static GetNotificationRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
GetNotificationRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GetNotificationRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetNotificationRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static GetNotificationRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
GetNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetNotificationRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static GetNotificationRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
GetNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetNotificationRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static GetNotificationRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
GetNotificationRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GetNotificationRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetNotificationRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static GetNotificationRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
GetNotificationRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GetNotificationRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetNotificationRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static GetNotificationRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
GetNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetNotificationRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<GetNotificationRequest> parser()
Type | Description |
Parser<GetNotificationRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public GetNotificationRequest getDefaultInstanceForType()
Type | Description |
GetNotificationRequest |
getLanguageCode()
public 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;
Type | Description |
String | The languageCode. |
getLanguageCodeBytes()
public 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;
Type | Description |
ByteString | The bytes for languageCode. |
getName()
public 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) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<GetNotificationRequest> getParserForType()
Type | Description |
Parser<GetNotificationRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public GetNotificationRequest.Builder newBuilderForType()
Type | Description |
GetNotificationRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GetNotificationRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
GetNotificationRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public GetNotificationRequest.Builder toBuilder()
Type | Description |
GetNotificationRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |