Class RolloutNotificationEvent.Builder (1.25.0)

public static final class RolloutNotificationEvent.Builder extends GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder> implements RolloutNotificationEventOrBuilder

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

Protobuf type google.cloud.deploy.v1.RolloutNotificationEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RolloutNotificationEvent build()
Returns
TypeDescription
RolloutNotificationEvent

buildPartial()

public RolloutNotificationEvent buildPartial()
Returns
TypeDescription
RolloutNotificationEvent

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

public RolloutNotificationEvent.Builder clearMessage()

Debug message for when a notification fails to send.

string message = 1;

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPipelineUid()

public RolloutNotificationEvent.Builder clearPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 2;

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

clearReleaseUid()

public RolloutNotificationEvent.Builder clearReleaseUid()

Unique identifier of the Release.

string release_uid = 3;

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

clearRollout()

public RolloutNotificationEvent.Builder clearRollout()

The name of the Rollout.

string rollout = 4;

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

clearTargetId()

public RolloutNotificationEvent.Builder clearTargetId()

ID of the Target that the rollout is deployed to.

string target_id = 6;

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

clearType()

public RolloutNotificationEvent.Builder clearType()

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

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

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

clone()

public RolloutNotificationEvent.Builder clone()
Returns
TypeDescription
RolloutNotificationEvent.Builder
Overrides

getDefaultInstanceForType()

public RolloutNotificationEvent getDefaultInstanceForType()
Returns
TypeDescription
RolloutNotificationEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMessage()

public String getMessage()

Debug message for when a notification fails to send.

string message = 1;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Debug message for when a notification fails to send.

string message = 1;

Returns
TypeDescription
ByteString

The bytes for message.

getPipelineUid()

public String getPipelineUid()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 2;

Returns
TypeDescription
String

The pipelineUid.

getPipelineUidBytes()

public ByteString getPipelineUidBytes()

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 2;

Returns
TypeDescription
ByteString

The bytes for pipelineUid.

getReleaseUid()

public String getReleaseUid()

Unique identifier of the Release.

string release_uid = 3;

Returns
TypeDescription
String

The releaseUid.

getReleaseUidBytes()

public ByteString getReleaseUidBytes()

Unique identifier of the Release.

string release_uid = 3;

Returns
TypeDescription
ByteString

The bytes for releaseUid.

getRollout()

public String getRollout()

The name of the Rollout.

string rollout = 4;

Returns
TypeDescription
String

The rollout.

getRolloutBytes()

public ByteString getRolloutBytes()

The name of the Rollout.

string rollout = 4;

Returns
TypeDescription
ByteString

The bytes for rollout.

getTargetId()

public String getTargetId()

ID of the Target that the rollout is deployed to.

string target_id = 6;

Returns
TypeDescription
String

The targetId.

getTargetIdBytes()

public ByteString getTargetIdBytes()

ID of the Target that the rollout is deployed to.

string target_id = 6;

Returns
TypeDescription
ByteString

The bytes for targetId.

getType()

public Type getType()

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

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

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

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

public RolloutNotificationEvent.Builder mergeFrom(RolloutNotificationEvent other)
Parameter
NameDescription
otherRolloutNotificationEvent
Returns
TypeDescription
RolloutNotificationEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public RolloutNotificationEvent.Builder setMessage(String value)

Debug message for when a notification fails to send.

string message = 1;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public RolloutNotificationEvent.Builder setMessageBytes(ByteString value)

Debug message for when a notification fails to send.

string message = 1;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setPipelineUid(String value)

public RolloutNotificationEvent.Builder setPipelineUid(String value)

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 2;

Parameter
NameDescription
valueString

The pipelineUid to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setPipelineUidBytes(ByteString value)

public RolloutNotificationEvent.Builder setPipelineUidBytes(ByteString value)

Unique identifier of the DeliveryPipeline.

string pipeline_uid = 2;

Parameter
NameDescription
valueByteString

The bytes for pipelineUid to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setReleaseUid(String value)

public RolloutNotificationEvent.Builder setReleaseUid(String value)

Unique identifier of the Release.

string release_uid = 3;

Parameter
NameDescription
valueString

The releaseUid to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setReleaseUidBytes(ByteString value)

public RolloutNotificationEvent.Builder setReleaseUidBytes(ByteString value)

Unique identifier of the Release.

string release_uid = 3;

Parameter
NameDescription
valueByteString

The bytes for releaseUid to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

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

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

setRollout(String value)

public RolloutNotificationEvent.Builder setRollout(String value)

The name of the Rollout.

string rollout = 4;

Parameter
NameDescription
valueString

The rollout to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setRolloutBytes(ByteString value)

public RolloutNotificationEvent.Builder setRolloutBytes(ByteString value)

The name of the Rollout.

string rollout = 4;

Parameter
NameDescription
valueByteString

The bytes for rollout to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setTargetId(String value)

public RolloutNotificationEvent.Builder setTargetId(String value)

ID of the Target that the rollout is deployed to.

string target_id = 6;

Parameter
NameDescription
valueString

The targetId to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setTargetIdBytes(ByteString value)

public RolloutNotificationEvent.Builder setTargetIdBytes(ByteString value)

ID of the Target that the rollout is deployed to.

string target_id = 6;

Parameter
NameDescription
valueByteString

The bytes for targetId to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setType(Type value)

public RolloutNotificationEvent.Builder setType(Type value)

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

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

Parameter
NameDescription
valueType

The type to set.

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setTypeValue(int value)

public RolloutNotificationEvent.Builder setTypeValue(int value)

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

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
RolloutNotificationEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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