Package com.google.cloud.deploy.v1
Class DeployPolicyNotificationEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployPolicyNotificationEvent.Builder>
com.google.cloud.deploy.v1.DeployPolicyNotificationEvent.Builder
- All Implemented Interfaces:
DeployPolicyNotificationEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeployPolicyNotificationEvent
public static final class DeployPolicyNotificationEvent.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The name of the `DeployPolicy`.Unique identifier of the deploy policy.Debug message for when a deploy policy fails to send a pub/sub notification.Type of this notification, e.g. for a Pub/Sub failure.The name of the `DeployPolicy`.com.google.protobuf.ByteStringThe name of the `DeployPolicy`.Unique identifier of the deploy policy.com.google.protobuf.ByteStringUnique identifier of the deploy policy.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDebug message for when a deploy policy fails to send a pub/sub notification.com.google.protobuf.ByteStringDebug message for when a deploy policy fails to send a pub/sub notification.getType()Type of this notification, e.g. for a Pub/Sub failure.intType of this notification, e.g. for a Pub/Sub failure.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDeployPolicy(String value) The name of the `DeployPolicy`.setDeployPolicyBytes(com.google.protobuf.ByteString value) The name of the `DeployPolicy`.setDeployPolicyUid(String value) Unique identifier of the deploy policy.setDeployPolicyUidBytes(com.google.protobuf.ByteString value) Unique identifier of the deploy policy.setMessage(String value) Debug message for when a deploy policy fails to send a pub/sub notification.setMessageBytes(com.google.protobuf.ByteString value) Debug message for when a deploy policy fails to send a pub/sub notification.Type of this notification, e.g. for a Pub/Sub failure.setTypeValue(int value) Type of this notification, e.g. for a Pub/Sub failure.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeployPolicyNotificationEvent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DeployPolicyNotificationEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DeployPolicyNotificationEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeployPolicyNotificationEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DeployPolicyNotificationEvent.Builder>
-
mergeFrom
public DeployPolicyNotificationEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeployPolicyNotificationEvent.Builder>- Throws:
IOException
-
getMessage
Debug message for when a deploy policy fails to send a pub/sub notification.
string message = 1;- Specified by:
getMessagein interfaceDeployPolicyNotificationEventOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Debug message for when a deploy policy fails to send a pub/sub notification.
string message = 1;- Specified by:
getMessageBytesin interfaceDeployPolicyNotificationEventOrBuilder- Returns:
- The bytes for message.
-
setMessage
Debug message for when a deploy policy fails to send a pub/sub notification.
string message = 1;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
Debug message for when a deploy policy fails to send a pub/sub notification.
string message = 1;- Returns:
- This builder for chaining.
-
setMessageBytes
Debug message for when a deploy policy fails to send a pub/sub notification.
string message = 1;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
getDeployPolicy
The name of the `DeployPolicy`.
string deploy_policy = 2;- Specified by:
getDeployPolicyin interfaceDeployPolicyNotificationEventOrBuilder- Returns:
- The deployPolicy.
-
getDeployPolicyBytes
public com.google.protobuf.ByteString getDeployPolicyBytes()The name of the `DeployPolicy`.
string deploy_policy = 2;- Specified by:
getDeployPolicyBytesin interfaceDeployPolicyNotificationEventOrBuilder- Returns:
- The bytes for deployPolicy.
-
setDeployPolicy
The name of the `DeployPolicy`.
string deploy_policy = 2;- Parameters:
value- The deployPolicy to set.- Returns:
- This builder for chaining.
-
clearDeployPolicy
The name of the `DeployPolicy`.
string deploy_policy = 2;- Returns:
- This builder for chaining.
-
setDeployPolicyBytes
public DeployPolicyNotificationEvent.Builder setDeployPolicyBytes(com.google.protobuf.ByteString value) The name of the `DeployPolicy`.
string deploy_policy = 2;- Parameters:
value- The bytes for deployPolicy to set.- Returns:
- This builder for chaining.
-
getDeployPolicyUid
Unique identifier of the deploy policy.
string deploy_policy_uid = 3;- Specified by:
getDeployPolicyUidin interfaceDeployPolicyNotificationEventOrBuilder- Returns:
- The deployPolicyUid.
-
getDeployPolicyUidBytes
public com.google.protobuf.ByteString getDeployPolicyUidBytes()Unique identifier of the deploy policy.
string deploy_policy_uid = 3;- Specified by:
getDeployPolicyUidBytesin interfaceDeployPolicyNotificationEventOrBuilder- Returns:
- The bytes for deployPolicyUid.
-
setDeployPolicyUid
Unique identifier of the deploy policy.
string deploy_policy_uid = 3;- Parameters:
value- The deployPolicyUid to set.- Returns:
- This builder for chaining.
-
clearDeployPolicyUid
Unique identifier of the deploy policy.
string deploy_policy_uid = 3;- Returns:
- This builder for chaining.
-
setDeployPolicyUidBytes
public DeployPolicyNotificationEvent.Builder setDeployPolicyUidBytes(com.google.protobuf.ByteString value) Unique identifier of the deploy policy.
string deploy_policy_uid = 3;- Parameters:
value- The bytes for deployPolicyUid to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;- Specified by:
getTypeValuein interfaceDeployPolicyNotificationEventOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;- Specified by:
getTypein interfaceDeployPolicyNotificationEventOrBuilder- Returns:
- The type.
-
setType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 4;- Returns:
- This builder for chaining.
-