public static final class DeployPolicyNotificationEvent.Builder extends GeneratedMessage.Builder<DeployPolicyNotificationEvent.Builder> implements DeployPolicyNotificationEventOrBuilderPayload proto for "clouddeploy.googleapis.com/deploypolicy_notification". Platform Log event that describes the failure to send a pub/sub notification when there is a DeployPolicy status change.
Protobuf type google.cloud.deploy.v1.DeployPolicyNotificationEvent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeployPolicyNotificationEvent.BuilderImplements
DeployPolicyNotificationEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeployPolicyNotificationEvent build()| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent |
|
buildPartial()
public DeployPolicyNotificationEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent |
|
clear()
public DeployPolicyNotificationEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|
clearDeployPolicy()
public DeployPolicyNotificationEvent.Builder clearDeployPolicy() The name of the DeployPolicy.
string deploy_policy = 2;
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
clearDeployPolicyUid()
public DeployPolicyNotificationEvent.Builder clearDeployPolicyUid()Unique identifier of the deploy policy.
string deploy_policy_uid = 3;
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
clearMessage()
public DeployPolicyNotificationEvent.Builder clearMessage()Debug message for when a deploy policy fails to send a pub/sub notification.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
clearType()
public DeployPolicyNotificationEvent.Builder clearType()Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeployPolicyNotificationEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent |
|
getDeployPolicy()
public String getDeployPolicy() The name of the DeployPolicy.
string deploy_policy = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The deployPolicy. |
getDeployPolicyBytes()
public ByteString getDeployPolicyBytes() The name of the DeployPolicy.
string deploy_policy = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deployPolicy. |
getDeployPolicyUid()
public String getDeployPolicyUid()Unique identifier of the deploy policy.
string deploy_policy_uid = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The deployPolicyUid. |
getDeployPolicyUidBytes()
public ByteString getDeployPolicyUidBytes()Unique identifier of the deploy policy.
string deploy_policy_uid = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deployPolicyUid. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public String getMessage()Debug message for when a deploy policy fails to send a pub/sub notification.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()Debug message for when a deploy policy fails to send a pub/sub notification.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
getType()
public Type getType()Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;
| 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 = 4;
| 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(DeployPolicyNotificationEvent other)
public DeployPolicyNotificationEvent.Builder mergeFrom(DeployPolicyNotificationEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
DeployPolicyNotificationEvent |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployPolicyNotificationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeployPolicyNotificationEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|
setDeployPolicy(String value)
public DeployPolicyNotificationEvent.Builder setDeployPolicy(String value) The name of the DeployPolicy.
string deploy_policy = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deployPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
setDeployPolicyBytes(ByteString value)
public DeployPolicyNotificationEvent.Builder setDeployPolicyBytes(ByteString value) The name of the DeployPolicy.
string deploy_policy = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deployPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
setDeployPolicyUid(String value)
public DeployPolicyNotificationEvent.Builder setDeployPolicyUid(String value)Unique identifier of the deploy policy.
string deploy_policy_uid = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deployPolicyUid to set. |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
setDeployPolicyUidBytes(ByteString value)
public DeployPolicyNotificationEvent.Builder setDeployPolicyUidBytes(ByteString value)Unique identifier of the deploy policy.
string deploy_policy_uid = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deployPolicyUid to set. |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
setMessage(String value)
public DeployPolicyNotificationEvent.Builder setMessage(String value)Debug message for when a deploy policy fails to send a pub/sub notification.
string message = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public DeployPolicyNotificationEvent.Builder setMessageBytes(ByteString value)Debug message for when a deploy policy fails to send a pub/sub notification.
string message = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
setType(Type value)
public DeployPolicyNotificationEvent.Builder setType(Type value)Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |
setTypeValue(int value)
public DeployPolicyNotificationEvent.Builder setTypeValue(int value)Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
This builder for chaining. |