Class AutomationRunEvent.Builder (1.44.0)

public static final class AutomationRunEvent.Builder extends GeneratedMessageV3.Builder<AutomationRunEvent.Builder> 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 Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomationRunEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomationRunEvent.Builder
Overrides

build()

public AutomationRunEvent build()
Returns
Type Description
AutomationRunEvent

buildPartial()

public AutomationRunEvent buildPartial()
Returns
Type Description
AutomationRunEvent

clear()

public AutomationRunEvent.Builder clear()
Returns
Type Description
AutomationRunEvent.Builder
Overrides

clearAutomationId()

public AutomationRunEvent.Builder clearAutomationId()

Identifier of the Automation.

string automation_id = 4;

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

clearAutomationRun()

public AutomationRunEvent.Builder clearAutomationRun()

The name of the AutomationRun.

string automation_run = 2;

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

clearDestinationTargetId()

public AutomationRunEvent.Builder clearDestinationTargetId()

ID of the Target to which the AutomationRun is created.

string destination_target_id = 6;

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutomationRunEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutomationRunEvent.Builder
Overrides

clearMessage()

public AutomationRunEvent.Builder clearMessage()

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
Type Description
AutomationRunEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomationRunEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutomationRunEvent.Builder
Overrides

clearPipelineUid()

public AutomationRunEvent.Builder clearPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

clearRuleId()

public AutomationRunEvent.Builder clearRuleId()

Identifier of the Automation rule.

string rule_id = 5;

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

clearType()

public AutomationRunEvent.Builder clearType()

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

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

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

clone()

public AutomationRunEvent.Builder clone()
Returns
Type Description
AutomationRunEvent.Builder
Overrides

getAutomationId()

public String getAutomationId()

Identifier of the Automation.

string automation_id = 4;

Returns
Type Description
String

The automationId.

getAutomationIdBytes()

public ByteString getAutomationIdBytes()

Identifier of the Automation.

string automation_id = 4;

Returns
Type Description
ByteString

The bytes for automationId.

getAutomationRun()

public String getAutomationRun()

The name of the AutomationRun.

string automation_run = 2;

Returns
Type Description
String

The automationRun.

getAutomationRunBytes()

public ByteString getAutomationRunBytes()

The name of the AutomationRun.

string automation_run = 2;

Returns
Type Description
ByteString

The bytes for automationRun.

getDefaultInstanceForType()

public AutomationRunEvent getDefaultInstanceForType()
Returns
Type Description
AutomationRunEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestinationTargetId()

public String getDestinationTargetId()

ID of the Target to which the AutomationRun is created.

string destination_target_id = 6;

Returns
Type Description
String

The destinationTargetId.

getDestinationTargetIdBytes()

public ByteString getDestinationTargetIdBytes()

ID of the Target to which the AutomationRun is created.

string destination_target_id = 6;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for message.

getPipelineUid()

public String getPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Returns
Type Description
String

The pipelineUid.

getPipelineUidBytes()

public ByteString getPipelineUidBytes()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Returns
Type Description
ByteString

The bytes for pipelineUid.

getRuleId()

public String getRuleId()

Identifier of the Automation rule.

string rule_id = 5;

Returns
Type Description
String

The ruleId.

getRuleIdBytes()

public ByteString getRuleIdBytes()

Identifier of the Automation rule.

string rule_id = 5;

Returns
Type Description
ByteString

The bytes for ruleId.

getType()

public Type getType()

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

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

Returns
Type Description
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
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutomationRunEvent other)

public AutomationRunEvent.Builder mergeFrom(AutomationRunEvent other)
Parameter
Name Description
other AutomationRunEvent
Returns
Type Description
AutomationRunEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutomationRunEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomationRunEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutomationRunEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutomationRunEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRunEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomationRunEvent.Builder
Overrides

setAutomationId(String value)

public AutomationRunEvent.Builder setAutomationId(String value)

Identifier of the Automation.

string automation_id = 4;

Parameter
Name Description
value String

The automationId to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setAutomationIdBytes(ByteString value)

public AutomationRunEvent.Builder setAutomationIdBytes(ByteString value)

Identifier of the Automation.

string automation_id = 4;

Parameter
Name Description
value ByteString

The bytes for automationId to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setAutomationRun(String value)

public AutomationRunEvent.Builder setAutomationRun(String value)

The name of the AutomationRun.

string automation_run = 2;

Parameter
Name Description
value String

The automationRun to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setAutomationRunBytes(ByteString value)

public AutomationRunEvent.Builder setAutomationRunBytes(ByteString value)

The name of the AutomationRun.

string automation_run = 2;

Parameter
Name Description
value ByteString

The bytes for automationRun to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setDestinationTargetId(String value)

public AutomationRunEvent.Builder setDestinationTargetId(String value)

ID of the Target to which the AutomationRun is created.

string destination_target_id = 6;

Parameter
Name Description
value String

The destinationTargetId to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setDestinationTargetIdBytes(ByteString value)

public AutomationRunEvent.Builder setDestinationTargetIdBytes(ByteString value)

ID of the Target to which the AutomationRun is created.

string destination_target_id = 6;

Parameter
Name Description
value ByteString

The bytes for destinationTargetId to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutomationRunEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomationRunEvent.Builder
Overrides

setMessage(String value)

public AutomationRunEvent.Builder setMessage(String value)

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

string message = 1;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public AutomationRunEvent.Builder setMessageBytes(ByteString value)

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

string message = 1;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setPipelineUid(String value)

public AutomationRunEvent.Builder setPipelineUid(String value)

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Parameter
Name Description
value String

The pipelineUid to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setPipelineUidBytes(ByteString value)

public AutomationRunEvent.Builder setPipelineUidBytes(ByteString value)

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Parameter
Name Description
value ByteString

The bytes for pipelineUid to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutomationRunEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutomationRunEvent.Builder
Overrides

setRuleId(String value)

public AutomationRunEvent.Builder setRuleId(String value)

Identifier of the Automation rule.

string rule_id = 5;

Parameter
Name Description
value String

The ruleId to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setRuleIdBytes(ByteString value)

public AutomationRunEvent.Builder setRuleIdBytes(ByteString value)

Identifier of the Automation rule.

string rule_id = 5;

Parameter
Name Description
value ByteString

The bytes for ruleId to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setType(Type value)

public AutomationRunEvent.Builder setType(Type value)

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

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

Parameter
Name Description
value Type

The type to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setTypeValue(int value)

public AutomationRunEvent.Builder setTypeValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
AutomationRunEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRunEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomationRunEvent.Builder
Overrides