public final class JobNotification extends GeneratedMessageV3 implements JobNotificationOrBuilder
Notification configurations.
Protobuf type google.events.cloud.batch.v1.JobNotification
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
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PUBSUB_TOPIC_FIELD_NUMBER
public static final int PUBSUB_TOPIC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static JobNotification getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static JobNotification.Builder newBuilder()
newBuilder(JobNotification prototype)
public static JobNotification.Builder newBuilder(JobNotification prototype)
public static JobNotification parseDelimitedFrom(InputStream input)
public static JobNotification parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static JobNotification parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobNotification parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static JobNotification parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobNotification parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobNotification parseFrom(CodedInputStream input)
public static JobNotification parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static JobNotification parseFrom(InputStream input)
public static JobNotification parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static JobNotification parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobNotification parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<JobNotification> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public JobNotification getDefaultInstanceForType()
getMessage()
public JobNotification.Message getMessage()
The attribute requirements of messages to be sent to this Pub/Sub topic.
Without this field, no message will be sent.
.google.events.cloud.batch.v1.JobNotification.Message message = 2;
getMessageOrBuilder()
public JobNotification.MessageOrBuilder getMessageOrBuilder()
The attribute requirements of messages to be sent to this Pub/Sub topic.
Without this field, no message will be sent.
.google.events.cloud.batch.v1.JobNotification.Message message = 2;
getParserForType()
public Parser<JobNotification> getParserForType()
Overrides
getPubsubTopic()
public String getPubsubTopic()
The Pub/Sub topic where notifications like the job state changes
will be published. This topic 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;
Returns |
Type |
Description |
String |
The pubsubTopic.
|
getPubsubTopicBytes()
public ByteString getPubsubTopicBytes()
The Pub/Sub topic where notifications like the job state changes
will be published. This topic 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;
Returns |
Type |
Description |
ByteString |
The bytes for pubsubTopic.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasMessage()
public boolean hasMessage()
The attribute requirements of messages to be sent to this Pub/Sub topic.
Without this field, no message will be sent.
.google.events.cloud.batch.v1.JobNotification.Message message = 2;
Returns |
Type |
Description |
boolean |
Whether the message field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public JobNotification.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobNotification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public JobNotification.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides