Class DeliveryPipelineNotificationEvent.Builder (1.52.0)

public static final class DeliveryPipelineNotificationEvent.Builder extends GeneratedMessageV3.Builder<DeliveryPipelineNotificationEvent.Builder> implements DeliveryPipelineNotificationEventOrBuilder

Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification" Platform Log event that describes the failure to send delivery pipeline status change Pub/Sub notification.

Protobuf type google.cloud.deploy.v1.DeliveryPipelineNotificationEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeliveryPipelineNotificationEvent build()
Returns
Type Description
DeliveryPipelineNotificationEvent

buildPartial()

public DeliveryPipelineNotificationEvent buildPartial()
Returns
Type Description
DeliveryPipelineNotificationEvent

clear()

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

clearDeliveryPipeline()

public DeliveryPipelineNotificationEvent.Builder clearDeliveryPipeline()

The name of the Delivery Pipeline.

string delivery_pipeline = 2;

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

public DeliveryPipelineNotificationEvent.Builder clearMessage()

Debug message for when a notification fails to send.

string message = 1;

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPipelineUid()

public DeliveryPipelineNotificationEvent.Builder clearPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 4;

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

clearType()

public DeliveryPipelineNotificationEvent.Builder clearType()

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

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

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DeliveryPipelineNotificationEvent getDefaultInstanceForType()
Returns
Type Description
DeliveryPipelineNotificationEvent

getDeliveryPipeline()

public String getDeliveryPipeline()

The name of the Delivery Pipeline.

string delivery_pipeline = 2;

Returns
Type Description
String

The deliveryPipeline.

getDeliveryPipelineBytes()

public ByteString getDeliveryPipelineBytes()

The name of the Delivery Pipeline.

string delivery_pipeline = 2;

Returns
Type Description
ByteString

The bytes for deliveryPipeline.

getDescriptorForType()

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

getMessage()

public String getMessage()

Debug message for when a notification fails to send.

string message = 1;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Debug message for when a notification fails to send.

string message = 1;

Returns
Type Description
ByteString

The bytes for message.

getPipelineUid()

public String getPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 4;

Returns
Type Description
String

The pipelineUid.

getPipelineUidBytes()

public ByteString getPipelineUidBytes()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 4;

Returns
Type Description
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 = 3;

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

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(DeliveryPipelineNotificationEvent other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeliveryPipeline(String value)

public DeliveryPipelineNotificationEvent.Builder setDeliveryPipeline(String value)

The name of the Delivery Pipeline.

string delivery_pipeline = 2;

Parameter
Name Description
value String

The deliveryPipeline to set.

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

setDeliveryPipelineBytes(ByteString value)

public DeliveryPipelineNotificationEvent.Builder setDeliveryPipelineBytes(ByteString value)

The name of the Delivery Pipeline.

string delivery_pipeline = 2;

Parameter
Name Description
value ByteString

The bytes for deliveryPipeline to set.

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public DeliveryPipelineNotificationEvent.Builder setMessage(String value)

Debug message for when a notification fails to send.

string message = 1;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public DeliveryPipelineNotificationEvent.Builder setMessageBytes(ByteString value)

Debug message for when a notification fails to send.

string message = 1;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

setPipelineUid(String value)

public DeliveryPipelineNotificationEvent.Builder setPipelineUid(String value)

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 4;

Parameter
Name Description
value String

The pipelineUid to set.

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

setPipelineUidBytes(ByteString value)

public DeliveryPipelineNotificationEvent.Builder setPipelineUidBytes(ByteString value)

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 4;

Parameter
Name Description
value ByteString

The bytes for pipelineUid to set.

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

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

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

setType(Type value)

public DeliveryPipelineNotificationEvent.Builder setType(Type value)

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

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

Parameter
Name Description
value Type

The type to set.

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

setTypeValue(int value)

public DeliveryPipelineNotificationEvent.Builder setTypeValue(int value)

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

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

Parameter
Name Description
value int

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

Returns
Type Description
DeliveryPipelineNotificationEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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