Package com.google.cloud.deploy.v1
Class RolloutNotificationEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RolloutNotificationEvent.Builder>
com.google.cloud.deploy.v1.RolloutNotificationEvent.Builder
- All Implemented Interfaces:
RolloutNotificationEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RolloutNotificationEvent
public static final class RolloutNotificationEvent.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Debug message for when a notification fails to send.Unique identifier of the `DeliveryPipeline`.The name of the `Release`.Unique identifier of the `Release`.The name of the `Rollout`.Unique identifier of the `Rollout`.ID of the `Target` that the rollout is deployed to.Type of this notification, e.g. for a Pub/Sub failure.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDebug message for when a notification fails to send.com.google.protobuf.ByteStringDebug message for when a notification fails to send.Unique identifier of the `DeliveryPipeline`.com.google.protobuf.ByteStringUnique identifier of the `DeliveryPipeline`.The name of the `Release`.com.google.protobuf.ByteStringThe name of the `Release`.Unique identifier of the `Release`.com.google.protobuf.ByteStringUnique identifier of the `Release`.The name of the `Rollout`.com.google.protobuf.ByteStringThe name of the `Rollout`.Unique identifier of the `Rollout`.com.google.protobuf.ByteStringUnique identifier of the `Rollout`.ID of the `Target` that the rollout is deployed to.com.google.protobuf.ByteStringID of the `Target` that the rollout is deployed to.getType()Type of this notification, e.g. for a Pub/Sub failure.intType of this notification, e.g. for a Pub/Sub failure.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setMessage(String value) Debug message for when a notification fails to send.setMessageBytes(com.google.protobuf.ByteString value) Debug message for when a notification fails to send.setPipelineUid(String value) Unique identifier of the `DeliveryPipeline`.setPipelineUidBytes(com.google.protobuf.ByteString value) Unique identifier of the `DeliveryPipeline`.setRelease(String value) The name of the `Release`.setReleaseBytes(com.google.protobuf.ByteString value) The name of the `Release`.setReleaseUid(String value) Unique identifier of the `Release`.setReleaseUidBytes(com.google.protobuf.ByteString value) Unique identifier of the `Release`.setRollout(String value) The name of the `Rollout`.setRolloutBytes(com.google.protobuf.ByteString value) The name of the `Rollout`.setRolloutUid(String value) Unique identifier of the `Rollout`.setRolloutUidBytes(com.google.protobuf.ByteString value) Unique identifier of the `Rollout`.setTargetId(String value) ID of the `Target` that the rollout is deployed to.setTargetIdBytes(com.google.protobuf.ByteString value) ID of the `Target` that the rollout is deployed to.Type of this notification, e.g. for a Pub/Sub failure.setTypeValue(int value) Type of this notification, e.g. for a Pub/Sub failure.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RolloutNotificationEvent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RolloutNotificationEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RolloutNotificationEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RolloutNotificationEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RolloutNotificationEvent.Builder>
-
mergeFrom
public RolloutNotificationEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RolloutNotificationEvent.Builder>- Throws:
IOException
-
getMessage
Debug message for when a notification fails to send.
string message = 1;- Specified by:
getMessagein interfaceRolloutNotificationEventOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Debug message for when a notification fails to send.
string message = 1;- Specified by:
getMessageBytesin interfaceRolloutNotificationEventOrBuilder- Returns:
- The bytes for message.
-
setMessage
Debug message for when a notification fails to send.
string message = 1;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
Debug message for when a notification fails to send.
string message = 1;- Returns:
- This builder for chaining.
-
setMessageBytes
Debug message for when a notification fails to send.
string message = 1;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
getPipelineUid
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 2;- Specified by:
getPipelineUidin interfaceRolloutNotificationEventOrBuilder- Returns:
- The pipelineUid.
-
getPipelineUidBytes
public com.google.protobuf.ByteString getPipelineUidBytes()Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 2;- Specified by:
getPipelineUidBytesin interfaceRolloutNotificationEventOrBuilder- Returns:
- The bytes for pipelineUid.
-
setPipelineUid
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 2;- Parameters:
value- The pipelineUid to set.- Returns:
- This builder for chaining.
-
clearPipelineUid
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 2;- Returns:
- This builder for chaining.
-
setPipelineUidBytes
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 2;- Parameters:
value- The bytes for pipelineUid to set.- Returns:
- This builder for chaining.
-
getReleaseUid
Unique identifier of the `Release`.
string release_uid = 3;- Specified by:
getReleaseUidin interfaceRolloutNotificationEventOrBuilder- Returns:
- The releaseUid.
-
getReleaseUidBytes
public com.google.protobuf.ByteString getReleaseUidBytes()Unique identifier of the `Release`.
string release_uid = 3;- Specified by:
getReleaseUidBytesin interfaceRolloutNotificationEventOrBuilder- Returns:
- The bytes for releaseUid.
-
setReleaseUid
Unique identifier of the `Release`.
string release_uid = 3;- Parameters:
value- The releaseUid to set.- Returns:
- This builder for chaining.
-
clearReleaseUid
Unique identifier of the `Release`.
string release_uid = 3;- Returns:
- This builder for chaining.
-
setReleaseUidBytes
Unique identifier of the `Release`.
string release_uid = 3;- Parameters:
value- The bytes for releaseUid to set.- Returns:
- This builder for chaining.
-
getRelease
The name of the `Release`.
string release = 7;- Specified by:
getReleasein interfaceRolloutNotificationEventOrBuilder- Returns:
- The release.
-
getReleaseBytes
public com.google.protobuf.ByteString getReleaseBytes()The name of the `Release`.
string release = 7;- Specified by:
getReleaseBytesin interfaceRolloutNotificationEventOrBuilder- Returns:
- The bytes for release.
-
setRelease
The name of the `Release`.
string release = 7;- Parameters:
value- The release to set.- Returns:
- This builder for chaining.
-
clearRelease
The name of the `Release`.
string release = 7;- Returns:
- This builder for chaining.
-
setReleaseBytes
The name of the `Release`.
string release = 7;- Parameters:
value- The bytes for release to set.- Returns:
- This builder for chaining.
-
getRolloutUid
Unique identifier of the `Rollout`.
string rollout_uid = 8;- Specified by:
getRolloutUidin interfaceRolloutNotificationEventOrBuilder- Returns:
- The rolloutUid.
-
getRolloutUidBytes
public com.google.protobuf.ByteString getRolloutUidBytes()Unique identifier of the `Rollout`.
string rollout_uid = 8;- Specified by:
getRolloutUidBytesin interfaceRolloutNotificationEventOrBuilder- Returns:
- The bytes for rolloutUid.
-
setRolloutUid
Unique identifier of the `Rollout`.
string rollout_uid = 8;- Parameters:
value- The rolloutUid to set.- Returns:
- This builder for chaining.
-
clearRolloutUid
Unique identifier of the `Rollout`.
string rollout_uid = 8;- Returns:
- This builder for chaining.
-
setRolloutUidBytes
Unique identifier of the `Rollout`.
string rollout_uid = 8;- Parameters:
value- The bytes for rolloutUid to set.- Returns:
- This builder for chaining.
-
getRollout
The name of the `Rollout`.
string rollout = 4;- Specified by:
getRolloutin interfaceRolloutNotificationEventOrBuilder- Returns:
- The rollout.
-
getRolloutBytes
public com.google.protobuf.ByteString getRolloutBytes()The name of the `Rollout`.
string rollout = 4;- Specified by:
getRolloutBytesin interfaceRolloutNotificationEventOrBuilder- Returns:
- The bytes for rollout.
-
setRollout
The name of the `Rollout`.
string rollout = 4;- Parameters:
value- The rollout to set.- Returns:
- This builder for chaining.
-
clearRollout
The name of the `Rollout`.
string rollout = 4;- Returns:
- This builder for chaining.
-
setRolloutBytes
The name of the `Rollout`.
string rollout = 4;- Parameters:
value- The bytes for rollout to set.- Returns:
- This builder for chaining.
-
getTargetId
ID of the `Target` that the rollout is deployed to.
string target_id = 6;- Specified by:
getTargetIdin interfaceRolloutNotificationEventOrBuilder- Returns:
- The targetId.
-
getTargetIdBytes
public com.google.protobuf.ByteString getTargetIdBytes()ID of the `Target` that the rollout is deployed to.
string target_id = 6;- Specified by:
getTargetIdBytesin interfaceRolloutNotificationEventOrBuilder- Returns:
- The bytes for targetId.
-
setTargetId
ID of the `Target` that the rollout is deployed to.
string target_id = 6;- Parameters:
value- The targetId to set.- Returns:
- This builder for chaining.
-
clearTargetId
ID of the `Target` that the rollout is deployed to.
string target_id = 6;- Returns:
- This builder for chaining.
-
setTargetIdBytes
ID of the `Target` that the rollout is deployed to.
string target_id = 6;- Parameters:
value- The bytes for targetId to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 5;- Specified by:
getTypeValuein interfaceRolloutNotificationEventOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 5;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 5;- Specified by:
getTypein interfaceRolloutNotificationEventOrBuilder- Returns:
- The type.
-
setType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 5;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 5;- Returns:
- This builder for chaining.
-