Package com.google.cloud.deploy.v1
Class ReleaseNotificationEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReleaseNotificationEvent.Builder>
com.google.cloud.deploy.v1.ReleaseNotificationEvent.Builder
- All Implemented Interfaces:
ReleaseNotificationEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReleaseNotificationEvent
public static final class ReleaseNotificationEvent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReleaseNotificationEvent.Builder>
implements ReleaseNotificationEventOrBuilder
Payload proto for "clouddeploy.googleapis.com/release_notification" Platform Log event that describes the failure to send release status change Pub/Sub notification.Protobuf type
google.cloud.deploy.v1.ReleaseNotificationEvent-
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`.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`.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`.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<ReleaseNotificationEvent.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<ReleaseNotificationEvent.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<ReleaseNotificationEvent.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<ReleaseNotificationEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReleaseNotificationEvent.Builder>
-
mergeFrom
public ReleaseNotificationEvent.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<ReleaseNotificationEvent.Builder>- Throws:
IOException
-
getMessage
Debug message for when a notification fails to send.
string message = 1;- Specified by:
getMessagein interfaceReleaseNotificationEventOrBuilder- 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 interfaceReleaseNotificationEventOrBuilder- 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 = 4;- Specified by:
getPipelineUidin interfaceReleaseNotificationEventOrBuilder- Returns:
- The pipelineUid.
-
getPipelineUidBytes
public com.google.protobuf.ByteString getPipelineUidBytes()Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 4;- Specified by:
getPipelineUidBytesin interfaceReleaseNotificationEventOrBuilder- Returns:
- The bytes for pipelineUid.
-
setPipelineUid
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 4;- Parameters:
value- The pipelineUid to set.- Returns:
- This builder for chaining.
-
clearPipelineUid
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 4;- Returns:
- This builder for chaining.
-
setPipelineUidBytes
Unique identifier of the `DeliveryPipeline`.
string pipeline_uid = 4;- Parameters:
value- The bytes for pipelineUid to set.- Returns:
- This builder for chaining.
-
getReleaseUid
Unique identifier of the `Release`.
string release_uid = 5;- Specified by:
getReleaseUidin interfaceReleaseNotificationEventOrBuilder- Returns:
- The releaseUid.
-
getReleaseUidBytes
public com.google.protobuf.ByteString getReleaseUidBytes()Unique identifier of the `Release`.
string release_uid = 5;- Specified by:
getReleaseUidBytesin interfaceReleaseNotificationEventOrBuilder- Returns:
- The bytes for releaseUid.
-
setReleaseUid
Unique identifier of the `Release`.
string release_uid = 5;- Parameters:
value- The releaseUid to set.- Returns:
- This builder for chaining.
-
clearReleaseUid
Unique identifier of the `Release`.
string release_uid = 5;- Returns:
- This builder for chaining.
-
setReleaseUidBytes
Unique identifier of the `Release`.
string release_uid = 5;- Parameters:
value- The bytes for releaseUid to set.- Returns:
- This builder for chaining.
-
getRelease
The name of the `Release`.
string release = 2;- Specified by:
getReleasein interfaceReleaseNotificationEventOrBuilder- Returns:
- The release.
-
getReleaseBytes
public com.google.protobuf.ByteString getReleaseBytes()The name of the `Release`.
string release = 2;- Specified by:
getReleaseBytesin interfaceReleaseNotificationEventOrBuilder- Returns:
- The bytes for release.
-
setRelease
The name of the `Release`.
string release = 2;- Parameters:
value- The release to set.- Returns:
- This builder for chaining.
-
clearRelease
The name of the `Release`.
string release = 2;- Returns:
- This builder for chaining.
-
setReleaseBytes
The name of the `Release`.
string release = 2;- Parameters:
value- The bytes for release 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 = 3;- Specified by:
getTypeValuein interfaceReleaseNotificationEventOrBuilder- 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 = 3;- 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 = 3;- Specified by:
getTypein interfaceReleaseNotificationEventOrBuilder- Returns:
- The type.
-
setType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;- 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 = 3;- Returns:
- This builder for chaining.
-