Class AutomationRunEvent (1.37.0)

public final class AutomationRunEvent extends GeneratedMessageV3 implements AutomationRunEventOrBuilder

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

Protobuf type google.cloud.deploy.v1.AutomationRunEvent

Static Fields

AUTOMATION_ID_FIELD_NUMBER

public static final int AUTOMATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

AUTOMATION_RUN_FIELD_NUMBER

public static final int AUTOMATION_RUN_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_TARGET_ID_FIELD_NUMBER

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

RULE_ID_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(AutomationRunEvent prototype)

public static AutomationRunEvent.Builder newBuilder(AutomationRunEvent prototype)
Parameter
NameDescription
prototypeAutomationRunEvent
Returns
TypeDescription
AutomationRunEvent.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAutomationId()

public String getAutomationId()

Identifier of the Automation.

string automation_id = 4;

Returns
TypeDescription
String

The automationId.

getAutomationIdBytes()

public ByteString getAutomationIdBytes()

Identifier of the Automation.

string automation_id = 4;

Returns
TypeDescription
ByteString

The bytes for automationId.

getAutomationRun()

public String getAutomationRun()

The name of the AutomationRun.

string automation_run = 2;

Returns
TypeDescription
String

The automationRun.

getAutomationRunBytes()

public ByteString getAutomationRunBytes()

The name of the AutomationRun.

string automation_run = 2;

Returns
TypeDescription
ByteString

The bytes for automationRun.

getDefaultInstanceForType()

public AutomationRunEvent getDefaultInstanceForType()
Returns
TypeDescription
AutomationRunEvent

getDestinationTargetId()

public String getDestinationTargetId()

ID of the Target to which the AutomationRun is created.

string destination_target_id = 6;

Returns
TypeDescription
String

The destinationTargetId.

getDestinationTargetIdBytes()

public ByteString getDestinationTargetIdBytes()

ID of the Target to which the AutomationRun is created.

string destination_target_id = 6;

Returns
TypeDescription
ByteString

The bytes for destinationTargetId.

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

getRuleId()

public String getRuleId()

Identifier of the Automation rule.

string rule_id = 5;

Returns
TypeDescription
String

The ruleId.

getRuleIdBytes()

public ByteString getRuleIdBytes()

Identifier of the Automation rule.

string rule_id = 5;

Returns
TypeDescription
ByteString

The bytes for ruleId.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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