Class AutomationEvent.Builder (1.39.0)

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

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutomationEvent build()
Returns
TypeDescription
AutomationEvent

buildPartial()

public AutomationEvent buildPartial()
Returns
TypeDescription
AutomationEvent

clear()

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

clearAutomation()

public AutomationEvent.Builder clearAutomation()

The name of the AutomationRun.

string automation = 2;

Returns
TypeDescription
AutomationEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutomationEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutomationEvent.Builder
Overrides

clearMessage()

public AutomationEvent.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
AutomationEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPipelineUid()

public AutomationEvent.Builder clearPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Returns
TypeDescription
AutomationEvent.Builder

This builder for chaining.

clearType()

public AutomationEvent.Builder clearType()

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

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

Returns
TypeDescription
AutomationEvent.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutomationEvent other)

public AutomationEvent.Builder mergeFrom(AutomationEvent other)
Parameter
NameDescription
otherAutomationEvent
Returns
TypeDescription
AutomationEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAutomation(String value)

public AutomationEvent.Builder setAutomation(String value)

The name of the AutomationRun.

string automation = 2;

Parameter
NameDescription
valueString

The automation to set.

Returns
TypeDescription
AutomationEvent.Builder

This builder for chaining.

setAutomationBytes(ByteString value)

public AutomationEvent.Builder setAutomationBytes(ByteString value)

The name of the AutomationRun.

string automation = 2;

Parameter
NameDescription
valueByteString

The bytes for automation to set.

Returns
TypeDescription
AutomationEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public AutomationEvent.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
AutomationEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public AutomationEvent.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
AutomationEvent.Builder

This builder for chaining.

setPipelineUid(String value)

public AutomationEvent.Builder setPipelineUid(String value)

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Parameter
NameDescription
valueString

The pipelineUid to set.

Returns
TypeDescription
AutomationEvent.Builder

This builder for chaining.

setPipelineUidBytes(ByteString value)

public AutomationEvent.Builder setPipelineUidBytes(ByteString value)

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 3;

Parameter
NameDescription
valueByteString

The bytes for pipelineUid to set.

Returns
TypeDescription
AutomationEvent.Builder

This builder for chaining.

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

public AutomationEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutomationEvent.Builder
Overrides

setType(Type value)

public AutomationEvent.Builder setType(Type value)

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

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

Parameter
NameDescription
valueType

The type to set.

Returns
TypeDescription
AutomationEvent.Builder

This builder for chaining.

setTypeValue(int value)

public AutomationEvent.Builder setTypeValue(int value)

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

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
AutomationEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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