public static final class DeployPolicyNotificationEvent.Builder extends GeneratedMessageV3.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
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeployPolicyNotificationEvent.BuilderImplements
DeployPolicyNotificationEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployPolicyNotificationEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|
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. |
clearField(Descriptors.FieldDescriptor field)
public DeployPolicyNotificationEvent.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployPolicyNotificationEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|
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. |
clone()
public DeployPolicyNotificationEvent.Builder clone()| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|
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 GeneratedMessageV3.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 |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployPolicyNotificationEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| 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. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeployPolicyNotificationEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployPolicyNotificationEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|
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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployPolicyNotificationEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DeployPolicyNotificationEvent.Builder |
|