Class ReleaseNotificationEvent (1.28.0)

public final class ReleaseNotificationEvent extends GeneratedMessageV3 implements ReleaseNotificationEventOrBuilder

Payload proto for "clouddeploy.googleapis.com/release_notification" Platform Log event that describes the failure to send release status change Pub/Sub notification.

Protobuf type google.cloud.deploy.v1.ReleaseNotificationEvent

Static Fields

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

RELEASE_FIELD_NUMBER

public static final int RELEASE_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 ReleaseNotificationEvent getDefaultInstance()
Returns
TypeDescription
ReleaseNotificationEvent

getDescriptor()

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

newBuilder()

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

newBuilder(ReleaseNotificationEvent prototype)

public static ReleaseNotificationEvent.Builder newBuilder(ReleaseNotificationEvent prototype)
Parameter
NameDescription
prototypeReleaseNotificationEvent
Returns
TypeDescription
ReleaseNotificationEvent.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReleaseNotificationEvent getDefaultInstanceForType()
Returns
TypeDescription
ReleaseNotificationEvent

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<ReleaseNotificationEvent> getParserForType()
Returns
TypeDescription
Parser<ReleaseNotificationEvent>
Overrides

getRelease()

public String getRelease()

The name of the Release.

string release = 2;

Returns
TypeDescription
String

The release.

getReleaseBytes()

public ByteString getReleaseBytes()

The name of the Release.

string release = 2;

Returns
TypeDescription
ByteString

The bytes for release.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public Type getType()

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

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

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 = 3;

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 ReleaseNotificationEvent.Builder newBuilderForType()
Returns
TypeDescription
ReleaseNotificationEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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