Package com.google.cloud.deploy.v1
Class JobRunNotificationEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
- com.google.cloud.deploy.v1.JobRunNotificationEvent.Builder
-
- All Implemented Interfaces:
JobRunNotificationEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- JobRunNotificationEvent
public static final class JobRunNotificationEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder> implements JobRunNotificationEventOrBuilder
Payload proto for "clouddeploy.googleapis.com/jobrun_notification" Platform Log event that describes the failure to send JobRun resource update Pub/Sub notification.
Protobuf typegoogle.cloud.deploy.v1.JobRunNotificationEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JobRunNotificationEvent.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)JobRunNotificationEventbuild()JobRunNotificationEventbuildPartial()JobRunNotificationEvent.Builderclear()JobRunNotificationEvent.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)JobRunNotificationEvent.BuilderclearJobRun()The name of the `JobRun`.JobRunNotificationEvent.BuilderclearMessage()Debug message for when a notification fails to send.JobRunNotificationEvent.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)JobRunNotificationEvent.BuilderclearPipelineUid()Unique identifier of the `DeliveryPipeline`.JobRunNotificationEvent.BuilderclearReleaseUid()Unique identifier of the `Release`.JobRunNotificationEvent.BuilderclearRolloutUid()Unique identifier of the `Rollout`.JobRunNotificationEvent.BuilderclearTargetId()ID of the `Target`.JobRunNotificationEvent.BuilderclearType()Type of this notification, e.g.JobRunNotificationEvent.Builderclone()JobRunNotificationEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetJobRun()The name of the `JobRun`.com.google.protobuf.ByteStringgetJobRunBytes()The name of the `JobRun`.StringgetMessage()Debug message for when a notification fails to send.com.google.protobuf.ByteStringgetMessageBytes()Debug message for when a notification fails to send.StringgetPipelineUid()Unique identifier of the `DeliveryPipeline`.com.google.protobuf.ByteStringgetPipelineUidBytes()Unique identifier of the `DeliveryPipeline`.StringgetReleaseUid()Unique identifier of the `Release`.com.google.protobuf.ByteStringgetReleaseUidBytes()Unique identifier of the `Release`.StringgetRolloutUid()Unique identifier of the `Rollout`.com.google.protobuf.ByteStringgetRolloutUidBytes()Unique identifier of the `Rollout`.StringgetTargetId()ID of the `Target`.com.google.protobuf.ByteStringgetTargetIdBytes()ID of the `Target`.TypegetType()Type of this notification, e.g.intgetTypeValue()Type of this notification, e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()JobRunNotificationEvent.BuildermergeFrom(JobRunNotificationEvent other)JobRunNotificationEvent.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)JobRunNotificationEvent.BuildermergeFrom(com.google.protobuf.Message other)JobRunNotificationEvent.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)JobRunNotificationEvent.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)JobRunNotificationEvent.BuildersetJobRun(String value)The name of the `JobRun`.JobRunNotificationEvent.BuildersetJobRunBytes(com.google.protobuf.ByteString value)The name of the `JobRun`.JobRunNotificationEvent.BuildersetMessage(String value)Debug message for when a notification fails to send.JobRunNotificationEvent.BuildersetMessageBytes(com.google.protobuf.ByteString value)Debug message for when a notification fails to send.JobRunNotificationEvent.BuildersetPipelineUid(String value)Unique identifier of the `DeliveryPipeline`.JobRunNotificationEvent.BuildersetPipelineUidBytes(com.google.protobuf.ByteString value)Unique identifier of the `DeliveryPipeline`.JobRunNotificationEvent.BuildersetReleaseUid(String value)Unique identifier of the `Release`.JobRunNotificationEvent.BuildersetReleaseUidBytes(com.google.protobuf.ByteString value)Unique identifier of the `Release`.JobRunNotificationEvent.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)JobRunNotificationEvent.BuildersetRolloutUid(String value)Unique identifier of the `Rollout`.JobRunNotificationEvent.BuildersetRolloutUidBytes(com.google.protobuf.ByteString value)Unique identifier of the `Rollout`.JobRunNotificationEvent.BuildersetTargetId(String value)ID of the `Target`.JobRunNotificationEvent.BuildersetTargetIdBytes(com.google.protobuf.ByteString value)ID of the `Target`.JobRunNotificationEvent.BuildersetType(Type value)Type of this notification, e.g.JobRunNotificationEvent.BuildersetTypeValue(int value)Type of this notification, e.g.JobRunNotificationEvent.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
clear
public JobRunNotificationEvent.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.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.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
getDefaultInstanceForType
public JobRunNotificationEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public JobRunNotificationEvent build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public JobRunNotificationEvent buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public JobRunNotificationEvent.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
setField
public JobRunNotificationEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
clearField
public JobRunNotificationEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
clearOneof
public JobRunNotificationEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
setRepeatedField
public JobRunNotificationEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
addRepeatedField
public JobRunNotificationEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
mergeFrom
public JobRunNotificationEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<JobRunNotificationEvent.Builder>
-
mergeFrom
public JobRunNotificationEvent.Builder mergeFrom(JobRunNotificationEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
mergeFrom
public JobRunNotificationEvent.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<JobRunNotificationEvent.Builder>- Throws:
IOException
-
getMessage
public String getMessage()
Debug message for when a notification fails to send.
string message = 1;- Specified by:
getMessagein interfaceJobRunNotificationEventOrBuilder- 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 interfaceJobRunNotificationEventOrBuilder- Returns:
- The bytes for message.
-
setMessage
public JobRunNotificationEvent.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 JobRunNotificationEvent.Builder clearMessage()
Debug message for when a notification fails to send.
string message = 1;- Returns:
- This builder for chaining.
-
setMessageBytes
public JobRunNotificationEvent.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.
-
getJobRun
public String getJobRun()
The name of the `JobRun`.
string job_run = 2;- Specified by:
getJobRunin interfaceJobRunNotificationEventOrBuilder- Returns:
- The jobRun.
-
getJobRunBytes
public com.google.protobuf.ByteString getJobRunBytes()
The name of the `JobRun`.
string job_run = 2;- Specified by:
getJobRunBytesin interfaceJobRunNotificationEventOrBuilder- Returns:
- The bytes for jobRun.
-
setJobRun
public JobRunNotificationEvent.Builder setJobRun(String value)
The name of the `JobRun`.
string job_run = 2;- Parameters:
value- The jobRun to set.- Returns:
- This builder for chaining.
-
clearJobRun
public JobRunNotificationEvent.Builder clearJobRun()
The name of the `JobRun`.
string job_run = 2;- Returns:
- This builder for chaining.
-
setJobRunBytes
public JobRunNotificationEvent.Builder setJobRunBytes(com.google.protobuf.ByteString value)
The name of the `JobRun`.
string job_run = 2;- Parameters:
value- The bytes for jobRun to set.- Returns:
- This builder for chaining.
-
getPipelineUid
public String getPipelineUid()
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Specified by:
getPipelineUidin interfaceJobRunNotificationEventOrBuilder- Returns:
- The pipelineUid.
-
getPipelineUidBytes
public com.google.protobuf.ByteString getPipelineUidBytes()
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Specified by:
getPipelineUidBytesin interfaceJobRunNotificationEventOrBuilder- Returns:
- The bytes for pipelineUid.
-
setPipelineUid
public JobRunNotificationEvent.Builder setPipelineUid(String value)
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Parameters:
value- The pipelineUid to set.- Returns:
- This builder for chaining.
-
clearPipelineUid
public JobRunNotificationEvent.Builder clearPipelineUid()
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Returns:
- This builder for chaining.
-
setPipelineUidBytes
public JobRunNotificationEvent.Builder setPipelineUidBytes(com.google.protobuf.ByteString value)
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- 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 = 4;- Specified by:
getReleaseUidin interfaceJobRunNotificationEventOrBuilder- Returns:
- The releaseUid.
-
getReleaseUidBytes
public com.google.protobuf.ByteString getReleaseUidBytes()
Unique identifier of the `Release`.
string release_uid = 4;- Specified by:
getReleaseUidBytesin interfaceJobRunNotificationEventOrBuilder- Returns:
- The bytes for releaseUid.
-
setReleaseUid
public JobRunNotificationEvent.Builder setReleaseUid(String value)
Unique identifier of the `Release`.
string release_uid = 4;- Parameters:
value- The releaseUid to set.- Returns:
- This builder for chaining.
-
clearReleaseUid
public JobRunNotificationEvent.Builder clearReleaseUid()
Unique identifier of the `Release`.
string release_uid = 4;- Returns:
- This builder for chaining.
-
setReleaseUidBytes
public JobRunNotificationEvent.Builder setReleaseUidBytes(com.google.protobuf.ByteString value)
Unique identifier of the `Release`.
string release_uid = 4;- Parameters:
value- The bytes for releaseUid to set.- Returns:
- This builder for chaining.
-
getRolloutUid
public String getRolloutUid()
Unique identifier of the `Rollout`.
string rollout_uid = 5;- Specified by:
getRolloutUidin interfaceJobRunNotificationEventOrBuilder- Returns:
- The rolloutUid.
-
getRolloutUidBytes
public com.google.protobuf.ByteString getRolloutUidBytes()
Unique identifier of the `Rollout`.
string rollout_uid = 5;- Specified by:
getRolloutUidBytesin interfaceJobRunNotificationEventOrBuilder- Returns:
- The bytes for rolloutUid.
-
setRolloutUid
public JobRunNotificationEvent.Builder setRolloutUid(String value)
Unique identifier of the `Rollout`.
string rollout_uid = 5;- Parameters:
value- The rolloutUid to set.- Returns:
- This builder for chaining.
-
clearRolloutUid
public JobRunNotificationEvent.Builder clearRolloutUid()
Unique identifier of the `Rollout`.
string rollout_uid = 5;- Returns:
- This builder for chaining.
-
setRolloutUidBytes
public JobRunNotificationEvent.Builder setRolloutUidBytes(com.google.protobuf.ByteString value)
Unique identifier of the `Rollout`.
string rollout_uid = 5;- Parameters:
value- The bytes for rolloutUid to set.- Returns:
- This builder for chaining.
-
getTargetId
public String getTargetId()
ID of the `Target`.
string target_id = 6;- Specified by:
getTargetIdin interfaceJobRunNotificationEventOrBuilder- Returns:
- The targetId.
-
getTargetIdBytes
public com.google.protobuf.ByteString getTargetIdBytes()
ID of the `Target`.
string target_id = 6;- Specified by:
getTargetIdBytesin interfaceJobRunNotificationEventOrBuilder- Returns:
- The bytes for targetId.
-
setTargetId
public JobRunNotificationEvent.Builder setTargetId(String value)
ID of the `Target`.
string target_id = 6;- Parameters:
value- The targetId to set.- Returns:
- This builder for chaining.
-
clearTargetId
public JobRunNotificationEvent.Builder clearTargetId()
ID of the `Target`.
string target_id = 6;- Returns:
- This builder for chaining.
-
setTargetIdBytes
public JobRunNotificationEvent.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
ID of the `Target`.
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 = 7;- Specified by:
getTypeValuein interfaceJobRunNotificationEventOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public JobRunNotificationEvent.Builder setTypeValue(int value)
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 7;- 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 = 7;- Specified by:
getTypein interfaceJobRunNotificationEventOrBuilder- Returns:
- The type.
-
setType
public JobRunNotificationEvent.Builder setType(Type value)
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 7;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public JobRunNotificationEvent.Builder clearType()
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final JobRunNotificationEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
mergeUnknownFields
public final JobRunNotificationEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<JobRunNotificationEvent.Builder>
-
-