Class JobRunNotificationEvent.Builder (1.37.0)

public static final class JobRunNotificationEvent.Builder extends GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder> implements JobRunNotificationEventOrBuilder

Payload proto for "clouddeploy.googleapis.com/jobrun_notification" Platform Log event that describes the failure to send JobRun resource update Pub/Sub notification.

Protobuf type google.cloud.deploy.v1.JobRunNotificationEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public JobRunNotificationEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides

build()

public JobRunNotificationEvent build()
Returns
TypeDescription
JobRunNotificationEvent

buildPartial()

public JobRunNotificationEvent buildPartial()
Returns
TypeDescription
JobRunNotificationEvent

clear()

public JobRunNotificationEvent.Builder clear()
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public JobRunNotificationEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides

clearJobRun()

public JobRunNotificationEvent.Builder clearJobRun()

The name of the JobRun.

string job_run = 2;

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

clearMessage()

public JobRunNotificationEvent.Builder clearMessage()

Debug message for when a notification fails to send.

string message = 1;

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public JobRunNotificationEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides

clearPipelineUid()

public JobRunNotificationEvent.Builder clearPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

clearRelease()

public JobRunNotificationEvent.Builder clearRelease()

The name of the Release.

string release = 8;

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

clearReleaseUid()

public JobRunNotificationEvent.Builder clearReleaseUid()

Unique identifier of the Release.

string release_uid = 4;

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

clearRollout()

public JobRunNotificationEvent.Builder clearRollout()

The name of the Rollout.

string rollout = 9;

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

clearRolloutUid()

public JobRunNotificationEvent.Builder clearRolloutUid()

Unique identifier of the Rollout.

string rollout_uid = 5;

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

clearTargetId()

public JobRunNotificationEvent.Builder clearTargetId()

ID of the Target.

string target_id = 6;

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

clearType()

public JobRunNotificationEvent.Builder clearType()

Type of this notification, e.g. for a Pub/Sub failure.

.google.cloud.deploy.v1.Type type = 7;

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

clone()

public JobRunNotificationEvent.Builder clone()
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides

getDefaultInstanceForType()

public JobRunNotificationEvent getDefaultInstanceForType()
Returns
TypeDescription
JobRunNotificationEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJobRun()

public String getJobRun()

The name of the JobRun.

string job_run = 2;

Returns
TypeDescription
String

The jobRun.

getJobRunBytes()

public ByteString getJobRunBytes()

The name of the JobRun.

string job_run = 2;

Returns
TypeDescription
ByteString

The bytes for jobRun.

getMessage()

public String getMessage()

Debug message for when a notification fails to send.

string message = 1;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Debug message for when a notification fails to send.

string message = 1;

Returns
TypeDescription
ByteString

The bytes for message.

getPipelineUid()

public String getPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Returns
TypeDescription
String

The pipelineUid.

getPipelineUidBytes()

public ByteString getPipelineUidBytes()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Returns
TypeDescription
ByteString

The bytes for pipelineUid.

getRelease()

public String getRelease()

The name of the Release.

string release = 8;

Returns
TypeDescription
String

The release.

getReleaseBytes()

public ByteString getReleaseBytes()

The name of the Release.

string release = 8;

Returns
TypeDescription
ByteString

The bytes for release.

getReleaseUid()

public String getReleaseUid()

Unique identifier of the Release.

string release_uid = 4;

Returns
TypeDescription
String

The releaseUid.

getReleaseUidBytes()

public ByteString getReleaseUidBytes()

Unique identifier of the Release.

string release_uid = 4;

Returns
TypeDescription
ByteString

The bytes for releaseUid.

getRollout()

public String getRollout()

The name of the Rollout.

string rollout = 9;

Returns
TypeDescription
String

The rollout.

getRolloutBytes()

public ByteString getRolloutBytes()

The name of the Rollout.

string rollout = 9;

Returns
TypeDescription
ByteString

The bytes for rollout.

getRolloutUid()

public String getRolloutUid()

Unique identifier of the Rollout.

string rollout_uid = 5;

Returns
TypeDescription
String

The rolloutUid.

getRolloutUidBytes()

public ByteString getRolloutUidBytes()

Unique identifier of the Rollout.

string rollout_uid = 5;

Returns
TypeDescription
ByteString

The bytes for rolloutUid.

getTargetId()

public String getTargetId()

ID of the Target.

string target_id = 6;

Returns
TypeDescription
String

The targetId.

getTargetIdBytes()

public ByteString getTargetIdBytes()

ID of the Target.

string target_id = 6;

Returns
TypeDescription
ByteString

The bytes for targetId.

getType()

public Type getType()

Type of this notification, e.g. for a Pub/Sub failure.

.google.cloud.deploy.v1.Type type = 7;

Returns
TypeDescription
Type

The type.

getTypeValue()

public int getTypeValue()

Type of this notification, e.g. for a Pub/Sub failure.

.google.cloud.deploy.v1.Type type = 7;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(JobRunNotificationEvent other)

public JobRunNotificationEvent.Builder mergeFrom(JobRunNotificationEvent other)
Parameter
NameDescription
otherJobRunNotificationEvent
Returns
TypeDescription
JobRunNotificationEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public JobRunNotificationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public JobRunNotificationEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final JobRunNotificationEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public JobRunNotificationEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides

setJobRun(String value)

public JobRunNotificationEvent.Builder setJobRun(String value)

The name of the JobRun.

string job_run = 2;

Parameter
NameDescription
valueString

The jobRun to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setJobRunBytes(ByteString value)

public JobRunNotificationEvent.Builder setJobRunBytes(ByteString value)

The name of the JobRun.

string job_run = 2;

Parameter
NameDescription
valueByteString

The bytes for jobRun to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setMessage(String value)

public JobRunNotificationEvent.Builder setMessage(String value)

Debug message for when a notification fails to send.

string message = 1;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public JobRunNotificationEvent.Builder setMessageBytes(ByteString value)

Debug message for when a notification fails to send.

string message = 1;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setPipelineUid(String value)

public JobRunNotificationEvent.Builder setPipelineUid(String value)

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Parameter
NameDescription
valueString

The pipelineUid to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setPipelineUidBytes(ByteString value)

public JobRunNotificationEvent.Builder setPipelineUidBytes(ByteString value)

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Parameter
NameDescription
valueByteString

The bytes for pipelineUid to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setRelease(String value)

public JobRunNotificationEvent.Builder setRelease(String value)

The name of the Release.

string release = 8;

Parameter
NameDescription
valueString

The release to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setReleaseBytes(ByteString value)

public JobRunNotificationEvent.Builder setReleaseBytes(ByteString value)

The name of the Release.

string release = 8;

Parameter
NameDescription
valueByteString

The bytes for release to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setReleaseUid(String value)

public JobRunNotificationEvent.Builder setReleaseUid(String value)

Unique identifier of the Release.

string release_uid = 4;

Parameter
NameDescription
valueString

The releaseUid to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setReleaseUidBytes(ByteString value)

public JobRunNotificationEvent.Builder setReleaseUidBytes(ByteString value)

Unique identifier of the Release.

string release_uid = 4;

Parameter
NameDescription
valueByteString

The bytes for releaseUid to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public JobRunNotificationEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides

setRollout(String value)

public JobRunNotificationEvent.Builder setRollout(String value)

The name of the Rollout.

string rollout = 9;

Parameter
NameDescription
valueString

The rollout to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setRolloutBytes(ByteString value)

public JobRunNotificationEvent.Builder setRolloutBytes(ByteString value)

The name of the Rollout.

string rollout = 9;

Parameter
NameDescription
valueByteString

The bytes for rollout to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setRolloutUid(String value)

public JobRunNotificationEvent.Builder setRolloutUid(String value)

Unique identifier of the Rollout.

string rollout_uid = 5;

Parameter
NameDescription
valueString

The rolloutUid to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setRolloutUidBytes(ByteString value)

public JobRunNotificationEvent.Builder setRolloutUidBytes(ByteString value)

Unique identifier of the Rollout.

string rollout_uid = 5;

Parameter
NameDescription
valueByteString

The bytes for rolloutUid to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setTargetId(String value)

public JobRunNotificationEvent.Builder setTargetId(String value)

ID of the Target.

string target_id = 6;

Parameter
NameDescription
valueString

The targetId to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setTargetIdBytes(ByteString value)

public JobRunNotificationEvent.Builder setTargetIdBytes(ByteString value)

ID of the Target.

string target_id = 6;

Parameter
NameDescription
valueByteString

The bytes for targetId to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setType(Type value)

public JobRunNotificationEvent.Builder setType(Type value)

Type of this notification, e.g. for a Pub/Sub failure.

.google.cloud.deploy.v1.Type type = 7;

Parameter
NameDescription
valueType

The type to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setTypeValue(int value)

public JobRunNotificationEvent.Builder setTypeValue(int value)

Type of this notification, e.g. for a Pub/Sub failure.

.google.cloud.deploy.v1.Type type = 7;

Parameter
NameDescription
valueint

The enum numeric value on the wire for type to set.

Returns
TypeDescription
JobRunNotificationEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final JobRunNotificationEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides