Class JobRunNotificationEvent (1.37.0)

public final class JobRunNotificationEvent extends GeneratedMessageV3 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 Fields

JOB_RUN_FIELD_NUMBER

public static final int JOB_RUN_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

PIPELINE_UID_FIELD_NUMBER

public static final int PIPELINE_UID_FIELD_NUMBER
Field Value
TypeDescription
int

RELEASE_FIELD_NUMBER

public static final int RELEASE_FIELD_NUMBER
Field Value
TypeDescription
int

RELEASE_UID_FIELD_NUMBER

public static final int RELEASE_UID_FIELD_NUMBER
Field Value
TypeDescription
int

ROLLOUT_FIELD_NUMBER

public static final int ROLLOUT_FIELD_NUMBER
Field Value
TypeDescription
int

ROLLOUT_UID_FIELD_NUMBER

public static final int ROLLOUT_UID_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_ID_FIELD_NUMBER

public static final int TARGET_ID_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static JobRunNotificationEvent getDefaultInstance()
Returns
TypeDescription
JobRunNotificationEvent

getDescriptor()

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

newBuilder()

public static JobRunNotificationEvent.Builder newBuilder()
Returns
TypeDescription
JobRunNotificationEvent.Builder

newBuilder(JobRunNotificationEvent prototype)

public static JobRunNotificationEvent.Builder newBuilder(JobRunNotificationEvent prototype)
Parameter
NameDescription
prototypeJobRunNotificationEvent
Returns
TypeDescription
JobRunNotificationEvent.Builder

parseDelimitedFrom(InputStream input)

public static JobRunNotificationEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobRunNotificationEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static JobRunNotificationEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobRunNotificationEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobRunNotificationEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobRunNotificationEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobRunNotificationEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobRunNotificationEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static JobRunNotificationEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobRunNotificationEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static JobRunNotificationEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobRunNotificationEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobRunNotificationEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<JobRunNotificationEvent> parser()
Returns
TypeDescription
Parser<JobRunNotificationEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public JobRunNotificationEvent getDefaultInstanceForType()
Returns
TypeDescription
JobRunNotificationEvent

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.

getParserForType()

public Parser<JobRunNotificationEvent> getParserForType()
Returns
TypeDescription
Parser<JobRunNotificationEvent>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public JobRunNotificationEvent.Builder newBuilderForType()
Returns
TypeDescription
JobRunNotificationEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobRunNotificationEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
JobRunNotificationEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public JobRunNotificationEvent.Builder toBuilder()
Returns
TypeDescription
JobRunNotificationEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException