public final class CreateNotificationRequest extends GeneratedMessageV3 implements CreateNotificationRequestOrBuilder
Request message for CreateNotification.
Protobuf type google.storage.v2.CreateNotificationRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateNotificationRequestImplements
CreateNotificationRequestOrBuilderStatic Fields
NOTIFICATION_FIELD_NUMBER
public static final int NOTIFICATION_FIELD_NUMBER
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CreateNotificationRequest getDefaultInstance()
Type | Description |
CreateNotificationRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CreateNotificationRequest.Builder newBuilder()
Type | Description |
CreateNotificationRequest.Builder |
newBuilder(CreateNotificationRequest prototype)
public static CreateNotificationRequest.Builder newBuilder(CreateNotificationRequest prototype)
Name | Description |
prototype |
CreateNotificationRequest |
Type | Description |
CreateNotificationRequest.Builder |
parseDelimitedFrom(InputStream input)
public static CreateNotificationRequest parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
CreateNotificationRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateNotificationRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateNotificationRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateNotificationRequest parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
CreateNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateNotificationRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateNotificationRequest parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
CreateNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateNotificationRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateNotificationRequest parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
CreateNotificationRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateNotificationRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateNotificationRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateNotificationRequest parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
CreateNotificationRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateNotificationRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateNotificationRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateNotificationRequest parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
CreateNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateNotificationRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateNotificationRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateNotificationRequest> parser()
Type | Description |
Parser<CreateNotificationRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public CreateNotificationRequest getDefaultInstanceForType()
Type | Description |
CreateNotificationRequest |
getNotification()
public Notification getNotification()
Required. Properties of the notification to be inserted.
.google.storage.v2.Notification notification = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Notification |
The notification. |
getNotificationOrBuilder()
public NotificationOrBuilder getNotificationOrBuilder()
Required. Properties of the notification to be inserted.
.google.storage.v2.Notification notification = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
NotificationOrBuilder |
getParent()
public String getParent()
Required. The bucket to which this notification belongs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The bucket to which this notification belongs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString |
The bytes for parent. |
getParserForType()
public Parser<CreateNotificationRequest> getParserForType()
Type | Description |
Parser<CreateNotificationRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasNotification()
public boolean hasNotification()
Required. Properties of the notification to be inserted.
.google.storage.v2.Notification notification = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean |
Whether the notification field is set. |
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 CreateNotificationRequest.Builder newBuilderForType()
Type | Description |
CreateNotificationRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateNotificationRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
CreateNotificationRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CreateNotificationRequest.Builder toBuilder()
Type | Description |
CreateNotificationRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |