public final class Notification extends GeneratedMessageV3 implements NotificationOrBuilder
Notification on resource state change.
Protobuf type google.cloud.batch.v1alpha.Notification
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PUBSUB_TOPIC_FIELD_NUMBER
public static final int PUBSUB_TOPIC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Notification getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Notification.Builder newBuilder()
newBuilder(Notification prototype)
public static Notification.Builder newBuilder(Notification prototype)
public static Notification parseDelimitedFrom(InputStream input)
public static Notification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Notification parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Notification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Notification parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Notification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Notification parseFrom(CodedInputStream input)
public static Notification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Notification parseFrom(InputStream input)
public static Notification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Notification parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Notification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Notification> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Notification getDefaultInstanceForType()
getParserForType()
public Parser<Notification> getParserForType()
Overrides
getPubsubTopic()
public String getPubsubTopic()
Required. The Pub/Sub topic where notifications like the resource allowance
state changes will be published. The topic must exist in the same project
as the job and billings will be charged to this project. If not specified,
no Pub/Sub messages will be sent. Topic format:
projects/{project}/topics/{topic}
.
string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The pubsubTopic.
|
getPubsubTopicBytes()
public ByteString getPubsubTopicBytes()
Required. The Pub/Sub topic where notifications like the resource allowance
state changes will be published. The topic must exist in the same project
as the job and billings will be charged to this project. If not specified,
no Pub/Sub messages will be sent. Topic format:
projects/{project}/topics/{topic}
.
string pubsub_topic = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for pubsubTopic.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Notification.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Notification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Notification.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides