Class RolloutNotificationEvent (1.4.0)

public final class RolloutNotificationEvent extends GeneratedMessageV3 implements RolloutNotificationEventOrBuilder

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

Protobuf type google.cloud.deploy.v1.RolloutNotificationEvent

Static Fields

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_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

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 RolloutNotificationEvent getDefaultInstance()
Returns
TypeDescription
RolloutNotificationEvent

getDescriptor()

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

newBuilder()

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

newBuilder(RolloutNotificationEvent prototype)

public static RolloutNotificationEvent.Builder newBuilder(RolloutNotificationEvent prototype)
Parameter
NameDescription
prototypeRolloutNotificationEvent
Returns
TypeDescription
RolloutNotificationEvent.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RolloutNotificationEvent getDefaultInstanceForType()
Returns
TypeDescription
RolloutNotificationEvent

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

getPipelineUid()

public String getPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 2;

Returns
TypeDescription
String

The pipelineUid.

getPipelineUidBytes()

public ByteString getPipelineUidBytes()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 2;

Returns
TypeDescription
ByteString

The bytes for pipelineUid.

getReleaseUid()

public String getReleaseUid()

Unique identifier of the Release.

string release_uid = 3;

Returns
TypeDescription
String

The releaseUid.

getReleaseUidBytes()

public ByteString getReleaseUidBytes()

Unique identifier of the Release.

string release_uid = 3;

Returns
TypeDescription
ByteString

The bytes for releaseUid.

getRollout()

public String getRollout()

The name of the Rollout.

string rollout = 4;

Returns
TypeDescription
String

The rollout.

getRolloutBytes()

public ByteString getRolloutBytes()

The name of the Rollout.

string rollout = 4;

Returns
TypeDescription
ByteString

The bytes for rollout.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetId()

public String getTargetId()

ID of the Target that the rollout is deployed to.

string target_id = 6;

Returns
TypeDescription
String

The targetId.

getTargetIdBytes()

public ByteString getTargetIdBytes()

ID of the Target that the rollout is deployed to.

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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