Class RolloutUpdateEvent.Builder (1.33.0)

public static final class RolloutUpdateEvent.Builder extends GeneratedMessageV3.Builder<RolloutUpdateEvent.Builder> implements RolloutUpdateEventOrBuilder

Payload proto for "clouddeploy.googleapis.com/rollout_update" Platform Log event that describes the rollout update event.

Protobuf type google.cloud.deploy.v1.RolloutUpdateEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RolloutUpdateEvent build()
Returns
TypeDescription
RolloutUpdateEvent

buildPartial()

public RolloutUpdateEvent buildPartial()
Returns
TypeDescription
RolloutUpdateEvent

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

public RolloutUpdateEvent.Builder clearMessage()

Debug message for when a rollout update event occurs.

string message = 6;

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPipelineUid()

public RolloutUpdateEvent.Builder clearPipelineUid()

Unique identifier of the pipeline.

string pipeline_uid = 1;

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

clearRelease()

public RolloutUpdateEvent.Builder clearRelease()

The name of the Release.

string release = 8;

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

clearReleaseUid()

public RolloutUpdateEvent.Builder clearReleaseUid()

Unique identifier of the release.

string release_uid = 2;

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

clearRollout()

public RolloutUpdateEvent.Builder clearRollout()

The name of the rollout. rollout_uid is not in this log message because we write some of these log messages at rollout creation time, before we've generated the uid.

string rollout = 3;

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

clearRolloutUpdateType()

public RolloutUpdateEvent.Builder clearRolloutUpdateType()

The type of the rollout update.

.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5;

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

clearTargetId()

public RolloutUpdateEvent.Builder clearTargetId()

ID of the target.

string target_id = 4;

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

clearType()

public RolloutUpdateEvent.Builder clearType()

Type of this notification, e.g. for a rollout update event.

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

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RolloutUpdateEvent getDefaultInstanceForType()
Returns
TypeDescription
RolloutUpdateEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMessage()

public String getMessage()

Debug message for when a rollout update event occurs.

string message = 6;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Debug message for when a rollout update event occurs.

string message = 6;

Returns
TypeDescription
ByteString

The bytes for message.

getPipelineUid()

public String getPipelineUid()

Unique identifier of the pipeline.

string pipeline_uid = 1;

Returns
TypeDescription
String

The pipelineUid.

getPipelineUidBytes()

public ByteString getPipelineUidBytes()

Unique identifier of the pipeline.

string pipeline_uid = 1;

Returns
TypeDescription
ByteString

The bytes for pipelineUid.

getRelease()

public String getRelease()

The name of the Release.

string release = 8;

Returns
TypeDescription
String

The release.

getReleaseBytes()

public ByteString getReleaseBytes()

The name of the Release.

string release = 8;

Returns
TypeDescription
ByteString

The bytes for release.

getReleaseUid()

public String getReleaseUid()

Unique identifier of the release.

string release_uid = 2;

Returns
TypeDescription
String

The releaseUid.

getReleaseUidBytes()

public ByteString getReleaseUidBytes()

Unique identifier of the release.

string release_uid = 2;

Returns
TypeDescription
ByteString

The bytes for releaseUid.

getRollout()

public String getRollout()

The name of the rollout. rollout_uid is not in this log message because we write some of these log messages at rollout creation time, before we've generated the uid.

string rollout = 3;

Returns
TypeDescription
String

The rollout.

getRolloutBytes()

public ByteString getRolloutBytes()

The name of the rollout. rollout_uid is not in this log message because we write some of these log messages at rollout creation time, before we've generated the uid.

string rollout = 3;

Returns
TypeDescription
ByteString

The bytes for rollout.

getRolloutUpdateType()

public RolloutUpdateEvent.RolloutUpdateType getRolloutUpdateType()

The type of the rollout update.

.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5;

Returns
TypeDescription
RolloutUpdateEvent.RolloutUpdateType

The rolloutUpdateType.

getRolloutUpdateTypeValue()

public int getRolloutUpdateTypeValue()

The type of the rollout update.

.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for rolloutUpdateType.

getTargetId()

public String getTargetId()

ID of the target.

string target_id = 4;

Returns
TypeDescription
String

The targetId.

getTargetIdBytes()

public ByteString getTargetIdBytes()

ID of the target.

string target_id = 4;

Returns
TypeDescription
ByteString

The bytes for targetId.

getType()

public Type getType()

Type of this notification, e.g. for a rollout update event.

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

Returns
TypeDescription
Type

The type.

getTypeValue()

public int getTypeValue()

Type of this notification, e.g. for a rollout update event.

.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(RolloutUpdateEvent other)

public RolloutUpdateEvent.Builder mergeFrom(RolloutUpdateEvent other)
Parameter
NameDescription
otherRolloutUpdateEvent
Returns
TypeDescription
RolloutUpdateEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public RolloutUpdateEvent.Builder setMessage(String value)

Debug message for when a rollout update event occurs.

string message = 6;

Parameter
NameDescription
valueString

The message to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public RolloutUpdateEvent.Builder setMessageBytes(ByteString value)

Debug message for when a rollout update event occurs.

string message = 6;

Parameter
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setPipelineUid(String value)

public RolloutUpdateEvent.Builder setPipelineUid(String value)

Unique identifier of the pipeline.

string pipeline_uid = 1;

Parameter
NameDescription
valueString

The pipelineUid to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setPipelineUidBytes(ByteString value)

public RolloutUpdateEvent.Builder setPipelineUidBytes(ByteString value)

Unique identifier of the pipeline.

string pipeline_uid = 1;

Parameter
NameDescription
valueByteString

The bytes for pipelineUid to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setRelease(String value)

public RolloutUpdateEvent.Builder setRelease(String value)

The name of the Release.

string release = 8;

Parameter
NameDescription
valueString

The release to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setReleaseBytes(ByteString value)

public RolloutUpdateEvent.Builder setReleaseBytes(ByteString value)

The name of the Release.

string release = 8;

Parameter
NameDescription
valueByteString

The bytes for release to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setReleaseUid(String value)

public RolloutUpdateEvent.Builder setReleaseUid(String value)

Unique identifier of the release.

string release_uid = 2;

Parameter
NameDescription
valueString

The releaseUid to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setReleaseUidBytes(ByteString value)

public RolloutUpdateEvent.Builder setReleaseUidBytes(ByteString value)

Unique identifier of the release.

string release_uid = 2;

Parameter
NameDescription
valueByteString

The bytes for releaseUid to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

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

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

setRollout(String value)

public RolloutUpdateEvent.Builder setRollout(String value)

The name of the rollout. rollout_uid is not in this log message because we write some of these log messages at rollout creation time, before we've generated the uid.

string rollout = 3;

Parameter
NameDescription
valueString

The rollout to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setRolloutBytes(ByteString value)

public RolloutUpdateEvent.Builder setRolloutBytes(ByteString value)

The name of the rollout. rollout_uid is not in this log message because we write some of these log messages at rollout creation time, before we've generated the uid.

string rollout = 3;

Parameter
NameDescription
valueByteString

The bytes for rollout to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setRolloutUpdateType(RolloutUpdateEvent.RolloutUpdateType value)

public RolloutUpdateEvent.Builder setRolloutUpdateType(RolloutUpdateEvent.RolloutUpdateType value)

The type of the rollout update.

.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5;

Parameter
NameDescription
valueRolloutUpdateEvent.RolloutUpdateType

The rolloutUpdateType to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setRolloutUpdateTypeValue(int value)

public RolloutUpdateEvent.Builder setRolloutUpdateTypeValue(int value)

The type of the rollout update.

.google.cloud.deploy.v1.RolloutUpdateEvent.RolloutUpdateType rollout_update_type = 5;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setTargetId(String value)

public RolloutUpdateEvent.Builder setTargetId(String value)

ID of the target.

string target_id = 4;

Parameter
NameDescription
valueString

The targetId to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setTargetIdBytes(ByteString value)

public RolloutUpdateEvent.Builder setTargetIdBytes(ByteString value)

ID of the target.

string target_id = 4;

Parameter
NameDescription
valueByteString

The bytes for targetId to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setType(Type value)

public RolloutUpdateEvent.Builder setType(Type value)

Type of this notification, e.g. for a rollout update event.

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

Parameter
NameDescription
valueType

The type to set.

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setTypeValue(int value)

public RolloutUpdateEvent.Builder setTypeValue(int value)

Type of this notification, e.g. for a rollout update event.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
RolloutUpdateEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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