Package com.google.cloud.deploy.v1
Class CustomTargetTypeNotificationEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CustomTargetTypeNotificationEvent.Builder>
com.google.cloud.deploy.v1.CustomTargetTypeNotificationEvent.Builder
- All Implemented Interfaces:
CustomTargetTypeNotificationEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CustomTargetTypeNotificationEvent
public static final class CustomTargetTypeNotificationEvent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CustomTargetTypeNotificationEvent.Builder>
implements CustomTargetTypeNotificationEventOrBuilder
Payload proto for "clouddeploy.googleapis.com/customtargettype_notification" Platform Log event that describes the failure to send a custom target type status change Pub/Sub notification.Protobuf type
google.cloud.deploy.v1.CustomTargetTypeNotificationEvent-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The name of the `CustomTargetType`.Unique identifier of the `CustomTargetType`.Debug message for when a notification fails to send.Type of this notification, e.g. for a Pub/Sub failure.The name of the `CustomTargetType`.com.google.protobuf.ByteStringThe name of the `CustomTargetType`.Unique identifier of the `CustomTargetType`.com.google.protobuf.ByteStringUnique identifier of the `CustomTargetType`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDebug message for when a notification fails to send.com.google.protobuf.ByteStringDebug message for when a notification fails to send.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) setCustomTargetType(String value) The name of the `CustomTargetType`.setCustomTargetTypeBytes(com.google.protobuf.ByteString value) The name of the `CustomTargetType`.setCustomTargetTypeUid(String value) Unique identifier of the `CustomTargetType`.setCustomTargetTypeUidBytes(com.google.protobuf.ByteString value) Unique identifier of the `CustomTargetType`.setMessage(String value) Debug message for when a notification fails to send.setMessageBytes(com.google.protobuf.ByteString value) Debug message for when a notification fails to send.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<CustomTargetTypeNotificationEvent.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<CustomTargetTypeNotificationEvent.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<CustomTargetTypeNotificationEvent.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<CustomTargetTypeNotificationEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CustomTargetTypeNotificationEvent.Builder>
-
mergeFrom
public CustomTargetTypeNotificationEvent.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<CustomTargetTypeNotificationEvent.Builder>- Throws:
IOException
-
getMessage
Debug message for when a notification fails to send.
string message = 1;- Specified by:
getMessagein interfaceCustomTargetTypeNotificationEventOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Debug message for when a notification fails to send.
string message = 1;- Specified by:
getMessageBytesin interfaceCustomTargetTypeNotificationEventOrBuilder- Returns:
- The bytes for message.
-
setMessage
Debug message for when a notification fails to send.
string message = 1;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
Debug message for when a notification fails to send.
string message = 1;- Returns:
- This builder for chaining.
-
setMessageBytes
public CustomTargetTypeNotificationEvent.Builder setMessageBytes(com.google.protobuf.ByteString value) Debug message for when a notification fails to send.
string message = 1;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
getCustomTargetTypeUid
Unique identifier of the `CustomTargetType`.
string custom_target_type_uid = 4;- Specified by:
getCustomTargetTypeUidin interfaceCustomTargetTypeNotificationEventOrBuilder- Returns:
- The customTargetTypeUid.
-
getCustomTargetTypeUidBytes
public com.google.protobuf.ByteString getCustomTargetTypeUidBytes()Unique identifier of the `CustomTargetType`.
string custom_target_type_uid = 4;- Specified by:
getCustomTargetTypeUidBytesin interfaceCustomTargetTypeNotificationEventOrBuilder- Returns:
- The bytes for customTargetTypeUid.
-
setCustomTargetTypeUid
Unique identifier of the `CustomTargetType`.
string custom_target_type_uid = 4;- Parameters:
value- The customTargetTypeUid to set.- Returns:
- This builder for chaining.
-
clearCustomTargetTypeUid
Unique identifier of the `CustomTargetType`.
string custom_target_type_uid = 4;- Returns:
- This builder for chaining.
-
setCustomTargetTypeUidBytes
public CustomTargetTypeNotificationEvent.Builder setCustomTargetTypeUidBytes(com.google.protobuf.ByteString value) Unique identifier of the `CustomTargetType`.
string custom_target_type_uid = 4;- Parameters:
value- The bytes for customTargetTypeUid to set.- Returns:
- This builder for chaining.
-
getCustomTargetType
The name of the `CustomTargetType`.
string custom_target_type = 2;- Specified by:
getCustomTargetTypein interfaceCustomTargetTypeNotificationEventOrBuilder- Returns:
- The customTargetType.
-
getCustomTargetTypeBytes
public com.google.protobuf.ByteString getCustomTargetTypeBytes()The name of the `CustomTargetType`.
string custom_target_type = 2;- Specified by:
getCustomTargetTypeBytesin interfaceCustomTargetTypeNotificationEventOrBuilder- Returns:
- The bytes for customTargetType.
-
setCustomTargetType
The name of the `CustomTargetType`.
string custom_target_type = 2;- Parameters:
value- The customTargetType to set.- Returns:
- This builder for chaining.
-
clearCustomTargetType
The name of the `CustomTargetType`.
string custom_target_type = 2;- Returns:
- This builder for chaining.
-
setCustomTargetTypeBytes
public CustomTargetTypeNotificationEvent.Builder setCustomTargetTypeBytes(com.google.protobuf.ByteString value) The name of the `CustomTargetType`.
string custom_target_type = 2;- Parameters:
value- The bytes for customTargetType 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 = 3;- Specified by:
getTypeValuein interfaceCustomTargetTypeNotificationEventOrBuilder- 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 = 3;- 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 = 3;- Specified by:
getTypein interfaceCustomTargetTypeNotificationEventOrBuilder- Returns:
- The type.
-
setType
Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;- 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 = 3;- Returns:
- This builder for chaining.
-