- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class DeployPolicyNotificationEvent.Builder extends GeneratedMessageV3.Builder<DeployPolicyNotificationEvent.Builder> implements DeployPolicyNotificationEventOrBuilder
Payload 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
Type The 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 |
int The 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 |