public static final class ReleaseNotificationEvent.Builder extends 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 type google.cloud.deploy.v1.ReleaseNotificationEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReleaseNotificationEvent.BuilderImplements
ReleaseNotificationEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReleaseNotificationEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReleaseNotificationEvent.Builder |
build()
public ReleaseNotificationEvent build()
Type | Description |
ReleaseNotificationEvent |
buildPartial()
public ReleaseNotificationEvent buildPartial()
Type | Description |
ReleaseNotificationEvent |
clear()
public ReleaseNotificationEvent.Builder clear()
Type | Description |
ReleaseNotificationEvent.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReleaseNotificationEvent.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ReleaseNotificationEvent.Builder |
clearMessage()
public ReleaseNotificationEvent.Builder clearMessage()
Debug message for when a notification fails to send.
string message = 1;
Type | Description |
ReleaseNotificationEvent.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReleaseNotificationEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ReleaseNotificationEvent.Builder |
clearRelease()
public ReleaseNotificationEvent.Builder clearRelease()
The name of the Release
.
string release = 2;
Type | Description |
ReleaseNotificationEvent.Builder | 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;
Type | Description |
ReleaseNotificationEvent.Builder | This builder for chaining. |
clone()
public ReleaseNotificationEvent.Builder clone()
Type | Description |
ReleaseNotificationEvent.Builder |
getDefaultInstanceForType()
public ReleaseNotificationEvent getDefaultInstanceForType()
Type | Description |
ReleaseNotificationEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMessage()
public String getMessage()
Debug message for when a notification fails to send.
string message = 1;
Type | Description |
String | The message. |
getMessageBytes()
public ByteString getMessageBytes()
Debug message for when a notification fails to send.
string message = 1;
Type | Description |
ByteString | The bytes for message. |
getRelease()
public String getRelease()
The name of the Release
.
string release = 2;
Type | Description |
String | The release. |
getReleaseBytes()
public ByteString getReleaseBytes()
The name of the Release
.
string release = 2;
Type | Description |
ByteString | The bytes for release. |
getType()
public Type getType()
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;
Type | Description |
Type | The type. |
getTypeValue()
public int getTypeValue()
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;
Type | Description |
int | The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ReleaseNotificationEvent other)
public ReleaseNotificationEvent.Builder mergeFrom(ReleaseNotificationEvent other)
Name | Description |
other | ReleaseNotificationEvent |
Type | Description |
ReleaseNotificationEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReleaseNotificationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReleaseNotificationEvent.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ReleaseNotificationEvent.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ReleaseNotificationEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReleaseNotificationEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReleaseNotificationEvent.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReleaseNotificationEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReleaseNotificationEvent.Builder |
setMessage(String value)
public ReleaseNotificationEvent.Builder setMessage(String value)
Debug message for when a notification fails to send.
string message = 1;
Name | Description |
value | String The message to set. |
Type | Description |
ReleaseNotificationEvent.Builder | This builder for chaining. |
setMessageBytes(ByteString value)
public ReleaseNotificationEvent.Builder setMessageBytes(ByteString value)
Debug message for when a notification fails to send.
string message = 1;
Name | Description |
value | ByteString The bytes for message to set. |
Type | Description |
ReleaseNotificationEvent.Builder | This builder for chaining. |
setRelease(String value)
public ReleaseNotificationEvent.Builder setRelease(String value)
The name of the Release
.
string release = 2;
Name | Description |
value | String The release to set. |
Type | Description |
ReleaseNotificationEvent.Builder | This builder for chaining. |
setReleaseBytes(ByteString value)
public ReleaseNotificationEvent.Builder setReleaseBytes(ByteString value)
The name of the Release
.
string release = 2;
Name | Description |
value | ByteString The bytes for release to set. |
Type | Description |
ReleaseNotificationEvent.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReleaseNotificationEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ReleaseNotificationEvent.Builder |
setType(Type value)
public ReleaseNotificationEvent.Builder setType(Type value)
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;
Name | Description |
value | Type The type to set. |
Type | Description |
ReleaseNotificationEvent.Builder | This builder for chaining. |
setTypeValue(int value)
public ReleaseNotificationEvent.Builder setTypeValue(int value)
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
ReleaseNotificationEvent.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReleaseNotificationEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReleaseNotificationEvent.Builder |