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.GeneratedMessage.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.GeneratedMessage.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 type
google.cloud.deploy.v1.JobRunNotificationEvent-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The name of the `JobRun`.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`.Type of this notification, e.g. for a Pub/Sub failure.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the `JobRun`.com.google.protobuf.ByteStringThe name of the `JobRun`.Debug 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`.com.google.protobuf.ByteStringID of the `Target`.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(JobRunNotificationEvent other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The name of the `JobRun`.setJobRunBytes(com.google.protobuf.ByteString value) The name of the `JobRun`.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`.setTargetIdBytes(com.google.protobuf.ByteString value) ID of the `Target`.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<JobRunNotificationEvent.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<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.GeneratedMessage.Builder<JobRunNotificationEvent.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<JobRunNotificationEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
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.
-
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
The name of the `JobRun`.
string job_run = 2;- Parameters:
value- The jobRun to set.- Returns:
- This builder for chaining.
-
clearJobRun
The name of the `JobRun`.
string job_run = 2;- Returns:
- This builder for chaining.
-
setJobRunBytes
The name of the `JobRun`.
string job_run = 2;- Parameters:
value- The bytes for jobRun to set.- Returns:
- This builder for chaining.
-
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
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Parameters:
value- The pipelineUid to set.- Returns:
- This builder for chaining.
-
clearPipelineUid
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Returns:
- This builder for chaining.
-
setPipelineUidBytes
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 3;- Parameters:
value- The bytes for pipelineUid to set.- Returns:
- This builder for chaining.
-
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
Unique identifier of the `Release`.
string release_uid = 4;- Parameters:
value- The releaseUid to set.- Returns:
- This builder for chaining.
-
clearReleaseUid
Unique identifier of the `Release`.
string release_uid = 4;- Returns:
- This builder for chaining.
-
setReleaseUidBytes
Unique identifier of the `Release`.
string release_uid = 4;- Parameters:
value- The bytes for releaseUid to set.- Returns:
- This builder for chaining.
-
getRelease
The name of the `Release`.
string release = 8;- Specified by:
getReleasein interfaceJobRunNotificationEventOrBuilder- Returns:
- The release.
-
getReleaseBytes
public com.google.protobuf.ByteString getReleaseBytes()The name of the `Release`.
string release = 8;- Specified by:
getReleaseBytesin interfaceJobRunNotificationEventOrBuilder- Returns:
- The bytes for release.
-
setRelease
The name of the `Release`.
string release = 8;- Parameters:
value- The release to set.- Returns:
- This builder for chaining.
-
clearRelease
The name of the `Release`.
string release = 8;- Returns:
- This builder for chaining.
-
setReleaseBytes
The name of the `Release`.
string release = 8;- Parameters:
value- The bytes for release to set.- Returns:
- This builder for chaining.
-
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
Unique identifier of the `Rollout`.
string rollout_uid = 5;- Parameters:
value- The rolloutUid to set.- Returns:
- This builder for chaining.
-
clearRolloutUid
Unique identifier of the `Rollout`.
string rollout_uid = 5;- Returns:
- This builder for chaining.
-
setRolloutUidBytes
Unique identifier of the `Rollout`.
string rollout_uid = 5;- Parameters:
value- The bytes for rolloutUid to set.- Returns:
- This builder for chaining.
-
getRollout
The name of the `Rollout`.
string rollout = 9;- Specified by:
getRolloutin interfaceJobRunNotificationEventOrBuilder- Returns:
- The rollout.
-
getRolloutBytes
public com.google.protobuf.ByteString getRolloutBytes()The name of the `Rollout`.
string rollout = 9;- Specified by:
getRolloutBytesin interfaceJobRunNotificationEventOrBuilder- Returns:
- The bytes for rollout.
-
setRollout
The name of the `Rollout`.
string rollout = 9;- Parameters:
value- The rollout to set.- Returns:
- This builder for chaining.
-
clearRollout
The name of the `Rollout`.
string rollout = 9;- Returns:
- This builder for chaining.
-
setRolloutBytes
The name of the `Rollout`.
string rollout = 9;- Parameters:
value- The bytes for rollout to set.- Returns:
- This builder for chaining.
-
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
ID of the `Target`.
string target_id = 6;- Parameters:
value- The targetId to set.- Returns:
- This builder for chaining.
-
clearTargetId
ID of the `Target`.
string target_id = 6;- Returns:
- This builder for chaining.
-
setTargetIdBytes
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
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
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
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
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 7;- Returns:
- This builder for chaining.
-