public static final class ReleaseNotificationEvent.Builder extends GeneratedMessage.Builder<ReleaseNotificationEvent.Builder> implements ReleaseNotificationEventOrBuilderPayload 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReleaseNotificationEvent.BuilderImplements
ReleaseNotificationEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReleaseNotificationEvent build()| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent |
|
buildPartial()
public ReleaseNotificationEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent |
|
clear()
public ReleaseNotificationEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
|
clearMessage()
public ReleaseNotificationEvent.Builder clearMessage()Debug message for when a notification fails to send.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
This builder for chaining. |
clearPipelineUid()
public ReleaseNotificationEvent.Builder clearPipelineUid() Unique identifier of the DeliveryPipeline.
string pipeline_uid = 4;
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
This builder for chaining. |
clearRelease()
public ReleaseNotificationEvent.Builder clearRelease() The name of the Release.
string release = 2;
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
This builder for chaining. |
clearReleaseUid()
public ReleaseNotificationEvent.Builder clearReleaseUid() Unique identifier of the Release.
string release_uid = 5;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ReleaseNotificationEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public String getMessage()Debug message for when a notification fails to send.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()Debug message for when a notification fails to send.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
getPipelineUid()
public String getPipelineUid() Unique identifier of the DeliveryPipeline.
string pipeline_uid = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The pipelineUid. |
getPipelineUidBytes()
public ByteString getPipelineUidBytes() Unique identifier of the DeliveryPipeline.
string pipeline_uid = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pipelineUid. |
getRelease()
public String getRelease() The name of the Release.
string release = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The release. |
getReleaseBytes()
public ByteString getReleaseBytes() The name of the Release.
string release = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for release. |
getReleaseUid()
public String getReleaseUid() Unique identifier of the Release.
string release_uid = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The releaseUid. |
getReleaseUidBytes()
public ByteString getReleaseUidBytes() Unique identifier of the Release.
string release_uid = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for releaseUid. |
getType()
public Type getType()Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReleaseNotificationEvent other)
public ReleaseNotificationEvent.Builder mergeFrom(ReleaseNotificationEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
ReleaseNotificationEvent |
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReleaseNotificationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReleaseNotificationEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
This builder for chaining. |
setPipelineUid(String value)
public ReleaseNotificationEvent.Builder setPipelineUid(String value) Unique identifier of the DeliveryPipeline.
string pipeline_uid = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pipelineUid to set. |
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
This builder for chaining. |
setPipelineUidBytes(ByteString value)
public ReleaseNotificationEvent.Builder setPipelineUidBytes(ByteString value) Unique identifier of the DeliveryPipeline.
string pipeline_uid = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pipelineUid to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe release to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for release to set. |
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
This builder for chaining. |
setReleaseUid(String value)
public ReleaseNotificationEvent.Builder setReleaseUid(String value) Unique identifier of the Release.
string release_uid = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe releaseUid to set. |
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
This builder for chaining. |
setReleaseUidBytes(ByteString value)
public ReleaseNotificationEvent.Builder setReleaseUidBytes(ByteString value) Unique identifier of the Release.
string release_uid = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for releaseUid to set. |
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
This builder for chaining. |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
TypeThe type to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
ReleaseNotificationEvent.Builder |
This builder for chaining. |