public static final class JobNotification.Builder extends GeneratedMessageV3.Builder<JobNotification.Builder> implements JobNotificationOrBuilder
Notification configurations.
Protobuf type google.cloud.batch.v1alpha.JobNotification
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobNotification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public JobNotification build()
Returns
buildPartial()
public JobNotification buildPartial()
Returns
clear()
public JobNotification.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public JobNotification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMessage()
public JobNotification.Builder clearMessage()
The attribute requirements of messages to be sent to this Pub/Sub topic.
Without this field, no message will be sent.
.google.cloud.batch.v1alpha.JobNotification.Message message = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public JobNotification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPubsubTopic()
public JobNotification.Builder clearPubsubTopic()
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
clone()
public JobNotification.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public JobNotification getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.cloud.batch.v1alpha.JobNotification.Message message = 2;
Returns
getMessageBuilder()
public JobNotification.Message.Builder getMessageBuilder()
The attribute requirements of messages to be sent to this Pub/Sub topic.
Without this field, no message will be sent.
.google.cloud.batch.v1alpha.JobNotification.Message message = 2;
Returns
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.cloud.batch.v1alpha.JobNotification.Message message = 2;
Returns
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.
|
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.cloud.batch.v1alpha.JobNotification.Message message = 2;
Returns
Type |
Description |
boolean |
Whether the message field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(JobNotification other)
public JobNotification.Builder mergeFrom(JobNotification other)
Parameter
Returns
public JobNotification.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public JobNotification.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeMessage(JobNotification.Message value)
public JobNotification.Builder mergeMessage(JobNotification.Message value)
The attribute requirements of messages to be sent to this Pub/Sub topic.
Without this field, no message will be sent.
.google.cloud.batch.v1alpha.JobNotification.Message message = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobNotification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public JobNotification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMessage(JobNotification.Message value)
public JobNotification.Builder setMessage(JobNotification.Message value)
The attribute requirements of messages to be sent to this Pub/Sub topic.
Without this field, no message will be sent.
.google.cloud.batch.v1alpha.JobNotification.Message message = 2;
Parameter
Returns
setMessage(JobNotification.Message.Builder builderForValue)
public JobNotification.Builder setMessage(JobNotification.Message.Builder builderForValue)
The attribute requirements of messages to be sent to this Pub/Sub topic.
Without this field, no message will be sent.
.google.cloud.batch.v1alpha.JobNotification.Message message = 2;
Parameter
Returns
setPubsubTopic(String value)
public JobNotification.Builder setPubsubTopic(String value)
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;
Parameter
Name |
Description |
value |
String
The pubsubTopic to set.
|
Returns
setPubsubTopicBytes(ByteString value)
public JobNotification.Builder setPubsubTopicBytes(ByteString value)
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;
Parameter
Name |
Description |
value |
ByteString
The bytes for pubsubTopic to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobNotification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final JobNotification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides