Class AutomationEvent (1.34.0)

public final class AutomationEvent extends GeneratedMessageV3 implements AutomationEventOrBuilder

Payload proto for "clouddeploy.googleapis.com/automation" Platform Log event that describes the Automation related events.

Protobuf type google.cloud.deploy.v1.AutomationEvent

Static Fields

AUTOMATION_FIELD_NUMBER

public static final int AUTOMATION_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

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutomationEvent getDefaultInstance()
Returns
TypeDescription
AutomationEvent

getDescriptor()

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

newBuilder()

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

newBuilder(AutomationEvent prototype)

public static AutomationEvent.Builder newBuilder(AutomationEvent prototype)
Parameter
NameDescription
prototypeAutomationEvent
Returns
TypeDescription
AutomationEvent.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAutomation()

public String getAutomation()

The name of the AutomationRun.

string automation = 2;

Returns
TypeDescription
String

The automation.

getAutomationBytes()

public ByteString getAutomationBytes()

The name of the AutomationRun.

string automation = 2;

Returns
TypeDescription
ByteString

The bytes for automation.

getDefaultInstanceForType()

public AutomationEvent getDefaultInstanceForType()
Returns
TypeDescription
AutomationEvent

getMessage()

public String getMessage()

Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.

string message = 1;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Debug message for when there is an update on the AutomationRun. Provides further details about the resource creation or state change.

string message = 1;

Returns
TypeDescription
ByteString

The bytes for message.

getParserForType()

public Parser<AutomationEvent> getParserForType()
Returns
TypeDescription
Parser<AutomationEvent>
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.

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

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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