Class AutomationRunEvent.Builder (1.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomationRunEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutomationRunEvent.Builder
Overrides

build()

public AutomationRunEvent build()
Returns
TypeDescription
AutomationRunEvent

buildPartial()

public AutomationRunEvent buildPartial()
Returns
TypeDescription
AutomationRunEvent

clear()

public AutomationRunEvent.Builder clear()
Returns
TypeDescription
AutomationRunEvent.Builder
Overrides

clearAutomationId()

public AutomationRunEvent.Builder clearAutomationId()

Identifier of the Automation.

string automation_id = 4;

Returns
TypeDescription
AutomationRunEvent.Builder

This builder for chaining.

clearAutomationRun()

public AutomationRunEvent.Builder clearAutomationRun()

The name of the AutomationRun.

string automation_run = 2;

Returns
TypeDescription
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
TypeDescription
AutomationRunEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutomationRunEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AutomationRunEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomationRunEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutomationRunEvent.Builder
Overrides

clearPipelineUid()

public AutomationRunEvent.Builder clearPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Returns
TypeDescription
AutomationRunEvent.Builder

This builder for chaining.

clearRuleId()

public AutomationRunEvent.Builder clearRuleId()

Identifier of the Automation rule.

string rule_id = 5;

Returns
TypeDescription
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
TypeDescription
AutomationRunEvent.Builder

This builder for chaining.

clone()

public AutomationRunEvent.Builder clone()
Returns
TypeDescription
AutomationRunEvent.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutomationRunEvent other)

public AutomationRunEvent.Builder mergeFrom(AutomationRunEvent other)
Parameter
NameDescription
otherAutomationRunEvent
Returns
TypeDescription
AutomationRunEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutomationRunEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationRunEvent.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutomationRunEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutomationRunEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRunEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutomationRunEvent.Builder
Overrides

setAutomationId(String value)

public AutomationRunEvent.Builder setAutomationId(String value)

Identifier of the Automation.

string automation_id = 4;

Parameter
NameDescription
valueString

The automationId to set.

Returns
TypeDescription
AutomationRunEvent.Builder

This builder for chaining.

setAutomationIdBytes(ByteString value)

public AutomationRunEvent.Builder setAutomationIdBytes(ByteString value)

Identifier of the Automation.

string automation_id = 4;

Parameter
NameDescription
valueByteString

The bytes for automationId to set.

Returns
TypeDescription
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
NameDescription
valueString

The automationRun to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for automationRun to set.

Returns
TypeDescription
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
NameDescription
valueString

The destinationTargetId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for destinationTargetId to set.

Returns
TypeDescription
AutomationRunEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutomationRunEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The message to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
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
NameDescription
valueString

The pipelineUid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pipelineUid to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutomationRunEvent.Builder
Overrides

setRuleId(String value)

public AutomationRunEvent.Builder setRuleId(String value)

Identifier of the Automation rule.

string rule_id = 5;

Parameter
NameDescription
valueString

The ruleId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for ruleId to set.

Returns
TypeDescription
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
NameDescription
valueType

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
AutomationRunEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRunEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutomationRunEvent.Builder
Overrides