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.GeneratedMessageV3.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.GeneratedMessageV3.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 typegoogle.cloud.deploy.v1.ReleaseNotificationEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReleaseNotificationEvent.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ReleaseNotificationEventbuild()ReleaseNotificationEventbuildPartial()ReleaseNotificationEvent.Builderclear()ReleaseNotificationEvent.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ReleaseNotificationEvent.BuilderclearMessage()Debug message for when a notification fails to send.ReleaseNotificationEvent.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ReleaseNotificationEvent.BuilderclearRelease()The name of the `Release`.ReleaseNotificationEvent.BuilderclearType()Type of this notification, e.g.ReleaseNotificationEvent.Builderclone()ReleaseNotificationEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMessage()Debug message for when a notification fails to send.com.google.protobuf.ByteStringgetMessageBytes()Debug message for when a notification fails to send.StringgetRelease()The name of the `Release`.com.google.protobuf.ByteStringgetReleaseBytes()The name of the `Release`.TypegetType()Type of this notification, e.g.intgetTypeValue()Type of this notification, e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ReleaseNotificationEvent.BuildermergeFrom(ReleaseNotificationEvent other)ReleaseNotificationEvent.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ReleaseNotificationEvent.BuildermergeFrom(com.google.protobuf.Message other)ReleaseNotificationEvent.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ReleaseNotificationEvent.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ReleaseNotificationEvent.BuildersetMessage(String value)Debug message for when a notification fails to send.ReleaseNotificationEvent.BuildersetMessageBytes(com.google.protobuf.ByteString value)Debug message for when a notification fails to send.ReleaseNotificationEvent.BuildersetRelease(String value)The name of the `Release`.ReleaseNotificationEvent.BuildersetReleaseBytes(com.google.protobuf.ByteString value)The name of the `Release`.ReleaseNotificationEvent.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ReleaseNotificationEvent.BuildersetType(Type value)Type of this notification, e.g.ReleaseNotificationEvent.BuildersetTypeValue(int value)Type of this notification, e.g.ReleaseNotificationEvent.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<ReleaseNotificationEvent.Builder>
-
clear
public ReleaseNotificationEvent.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<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.GeneratedMessageV3.Builder<ReleaseNotificationEvent.Builder>
-
getDefaultInstanceForType
public ReleaseNotificationEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReleaseNotificationEvent build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReleaseNotificationEvent buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReleaseNotificationEvent.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<ReleaseNotificationEvent.Builder>
-
setField
public ReleaseNotificationEvent.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<ReleaseNotificationEvent.Builder>
-
clearField
public ReleaseNotificationEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleaseNotificationEvent.Builder>
-
clearOneof
public ReleaseNotificationEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleaseNotificationEvent.Builder>
-
setRepeatedField
public ReleaseNotificationEvent.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<ReleaseNotificationEvent.Builder>
-
addRepeatedField
public ReleaseNotificationEvent.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<ReleaseNotificationEvent.Builder>
-
mergeFrom
public ReleaseNotificationEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReleaseNotificationEvent.Builder>
-
mergeFrom
public ReleaseNotificationEvent.Builder mergeFrom(ReleaseNotificationEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public ReleaseNotificationEvent.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 ReleaseNotificationEvent.Builder clearMessage()
Debug message for when a notification fails to send.
string message = 1;- Returns:
- This builder for chaining.
-
setMessageBytes
public ReleaseNotificationEvent.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.
-
getRelease
public String 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
public ReleaseNotificationEvent.Builder setRelease(String value)
The name of the `Release`.
string release = 2;- Parameters:
value- The release to set.- Returns:
- This builder for chaining.
-
clearRelease
public ReleaseNotificationEvent.Builder clearRelease()
The name of the `Release`.
string release = 2;- Returns:
- This builder for chaining.
-
setReleaseBytes
public ReleaseNotificationEvent.Builder setReleaseBytes(com.google.protobuf.ByteString value)
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
public ReleaseNotificationEvent.Builder setTypeValue(int value)
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
public Type 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
public ReleaseNotificationEvent.Builder setType(Type value)
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
public ReleaseNotificationEvent.Builder clearType()
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReleaseNotificationEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleaseNotificationEvent.Builder>
-
mergeUnknownFields
public final ReleaseNotificationEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleaseNotificationEvent.Builder>
-
-