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.GeneratedMessageV3.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.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 typegoogle.cloud.deploy.v1.RolloutNotificationEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RolloutNotificationEvent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RolloutNotificationEvent
build()
RolloutNotificationEvent
buildPartial()
RolloutNotificationEvent.Builder
clear()
RolloutNotificationEvent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RolloutNotificationEvent.Builder
clearMessage()
Debug message for when a notification fails to send.RolloutNotificationEvent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RolloutNotificationEvent.Builder
clearPipelineUid()
Unique identifier of the `DeliveryPipeline`.RolloutNotificationEvent.Builder
clearReleaseUid()
Unique identifier of the `Release`.RolloutNotificationEvent.Builder
clearRollout()
The name of the `Rollout`.RolloutNotificationEvent.Builder
clearTargetId()
ID of the `Target` that the rollout is deployed to.RolloutNotificationEvent.Builder
clearType()
Type of this notification, e.g.RolloutNotificationEvent.Builder
clone()
RolloutNotificationEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getMessage()
Debug message for when a notification fails to send.com.google.protobuf.ByteString
getMessageBytes()
Debug message for when a notification fails to send.String
getPipelineUid()
Unique identifier of the `DeliveryPipeline`.com.google.protobuf.ByteString
getPipelineUidBytes()
Unique identifier of the `DeliveryPipeline`.String
getReleaseUid()
Unique identifier of the `Release`.com.google.protobuf.ByteString
getReleaseUidBytes()
Unique identifier of the `Release`.String
getRollout()
The name of the `Rollout`.com.google.protobuf.ByteString
getRolloutBytes()
The name of the `Rollout`.String
getTargetId()
ID of the `Target` that the rollout is deployed to.com.google.protobuf.ByteString
getTargetIdBytes()
ID of the `Target` that the rollout is deployed to.Type
getType()
Type of this notification, e.g.int
getTypeValue()
Type of this notification, e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RolloutNotificationEvent.Builder
mergeFrom(RolloutNotificationEvent other)
RolloutNotificationEvent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RolloutNotificationEvent.Builder
mergeFrom(com.google.protobuf.Message other)
RolloutNotificationEvent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RolloutNotificationEvent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RolloutNotificationEvent.Builder
setMessage(String value)
Debug message for when a notification fails to send.RolloutNotificationEvent.Builder
setMessageBytes(com.google.protobuf.ByteString value)
Debug message for when a notification fails to send.RolloutNotificationEvent.Builder
setPipelineUid(String value)
Unique identifier of the `DeliveryPipeline`.RolloutNotificationEvent.Builder
setPipelineUidBytes(com.google.protobuf.ByteString value)
Unique identifier of the `DeliveryPipeline`.RolloutNotificationEvent.Builder
setReleaseUid(String value)
Unique identifier of the `Release`.RolloutNotificationEvent.Builder
setReleaseUidBytes(com.google.protobuf.ByteString value)
Unique identifier of the `Release`.RolloutNotificationEvent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RolloutNotificationEvent.Builder
setRollout(String value)
The name of the `Rollout`.RolloutNotificationEvent.Builder
setRolloutBytes(com.google.protobuf.ByteString value)
The name of the `Rollout`.RolloutNotificationEvent.Builder
setTargetId(String value)
ID of the `Target` that the rollout is deployed to.RolloutNotificationEvent.Builder
setTargetIdBytes(com.google.protobuf.ByteString value)
ID of the `Target` that the rollout is deployed to.RolloutNotificationEvent.Builder
setType(Type value)
Type of this notification, e.g.RolloutNotificationEvent.Builder
setTypeValue(int value)
Type of this notification, e.g.RolloutNotificationEvent.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
clear
public RolloutNotificationEvent.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
getDefaultInstanceForType
public RolloutNotificationEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RolloutNotificationEvent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RolloutNotificationEvent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RolloutNotificationEvent.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
setField
public RolloutNotificationEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
clearField
public RolloutNotificationEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
clearOneof
public RolloutNotificationEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
setRepeatedField
public RolloutNotificationEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
addRepeatedField
public RolloutNotificationEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
mergeFrom
public RolloutNotificationEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RolloutNotificationEvent.Builder>
-
mergeFrom
public RolloutNotificationEvent.Builder mergeFrom(RolloutNotificationEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
mergeFrom
public RolloutNotificationEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RolloutNotificationEvent.Builder>
- Throws:
IOException
-
getMessage
public String getMessage()
Debug message for when a notification fails to send.
string message = 1;
- Specified by:
getMessage
in 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:
getMessageBytes
in interfaceRolloutNotificationEventOrBuilder
- Returns:
- The bytes for message.
-
setMessage
public RolloutNotificationEvent.Builder setMessage(String value)
Debug message for when a notification fails to send.
string message = 1;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
public RolloutNotificationEvent.Builder clearMessage()
Debug message for when a notification fails to send.
string message = 1;
- Returns:
- This builder for chaining.
-
setMessageBytes
public RolloutNotificationEvent.Builder setMessageBytes(com.google.protobuf.ByteString value)
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
public String getPipelineUid()
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 2;
- Specified by:
getPipelineUid
in interfaceRolloutNotificationEventOrBuilder
- Returns:
- The pipelineUid.
-
getPipelineUidBytes
public com.google.protobuf.ByteString getPipelineUidBytes()
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 2;
- Specified by:
getPipelineUidBytes
in interfaceRolloutNotificationEventOrBuilder
- Returns:
- The bytes for pipelineUid.
-
setPipelineUid
public RolloutNotificationEvent.Builder setPipelineUid(String value)
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 2;
- Parameters:
value
- The pipelineUid to set.- Returns:
- This builder for chaining.
-
clearPipelineUid
public RolloutNotificationEvent.Builder clearPipelineUid()
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 2;
- Returns:
- This builder for chaining.
-
setPipelineUidBytes
public RolloutNotificationEvent.Builder setPipelineUidBytes(com.google.protobuf.ByteString value)
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 2;
- Parameters:
value
- The bytes for pipelineUid to set.- Returns:
- This builder for chaining.
-
getReleaseUid
public String getReleaseUid()
Unique identifier of the `Release`.
string release_uid = 3;
- Specified by:
getReleaseUid
in interfaceRolloutNotificationEventOrBuilder
- Returns:
- The releaseUid.
-
getReleaseUidBytes
public com.google.protobuf.ByteString getReleaseUidBytes()
Unique identifier of the `Release`.
string release_uid = 3;
- Specified by:
getReleaseUidBytes
in interfaceRolloutNotificationEventOrBuilder
- Returns:
- The bytes for releaseUid.
-
setReleaseUid
public RolloutNotificationEvent.Builder setReleaseUid(String value)
Unique identifier of the `Release`.
string release_uid = 3;
- Parameters:
value
- The releaseUid to set.- Returns:
- This builder for chaining.
-
clearReleaseUid
public RolloutNotificationEvent.Builder clearReleaseUid()
Unique identifier of the `Release`.
string release_uid = 3;
- Returns:
- This builder for chaining.
-
setReleaseUidBytes
public RolloutNotificationEvent.Builder setReleaseUidBytes(com.google.protobuf.ByteString value)
Unique identifier of the `Release`.
string release_uid = 3;
- Parameters:
value
- The bytes for releaseUid to set.- Returns:
- This builder for chaining.
-
getRollout
public String getRollout()
The name of the `Rollout`.
string rollout = 4;
- Specified by:
getRollout
in interfaceRolloutNotificationEventOrBuilder
- Returns:
- The rollout.
-
getRolloutBytes
public com.google.protobuf.ByteString getRolloutBytes()
The name of the `Rollout`.
string rollout = 4;
- Specified by:
getRolloutBytes
in interfaceRolloutNotificationEventOrBuilder
- Returns:
- The bytes for rollout.
-
setRollout
public RolloutNotificationEvent.Builder setRollout(String value)
The name of the `Rollout`.
string rollout = 4;
- Parameters:
value
- The rollout to set.- Returns:
- This builder for chaining.
-
clearRollout
public RolloutNotificationEvent.Builder clearRollout()
The name of the `Rollout`.
string rollout = 4;
- Returns:
- This builder for chaining.
-
setRolloutBytes
public RolloutNotificationEvent.Builder setRolloutBytes(com.google.protobuf.ByteString value)
The name of the `Rollout`.
string rollout = 4;
- Parameters:
value
- The bytes for rollout 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:
getTypeValue
in interfaceRolloutNotificationEventOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public RolloutNotificationEvent.Builder setTypeValue(int value)
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
public Type getType()
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 5;
- Specified by:
getType
in interfaceRolloutNotificationEventOrBuilder
- Returns:
- The type.
-
setType
public RolloutNotificationEvent.Builder setType(Type value)
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
public RolloutNotificationEvent.Builder clearType()
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 5;
- Returns:
- This builder for chaining.
-
getTargetId
public String getTargetId()
ID of the `Target` that the rollout is deployed to.
string target_id = 6;
- Specified by:
getTargetId
in 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:
getTargetIdBytes
in interfaceRolloutNotificationEventOrBuilder
- Returns:
- The bytes for targetId.
-
setTargetId
public RolloutNotificationEvent.Builder setTargetId(String value)
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
public RolloutNotificationEvent.Builder clearTargetId()
ID of the `Target` that the rollout is deployed to.
string target_id = 6;
- Returns:
- This builder for chaining.
-
setTargetIdBytes
public RolloutNotificationEvent.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final RolloutNotificationEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
mergeUnknownFields
public final RolloutNotificationEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RolloutNotificationEvent.Builder>
-
-