public static final class CustomTargetTypeNotificationEvent.Builder extends GeneratedMessage.Builder<CustomTargetTypeNotificationEvent.Builder> implements CustomTargetTypeNotificationEventOrBuilderPayload 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CustomTargetTypeNotificationEvent.BuilderImplements
CustomTargetTypeNotificationEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CustomTargetTypeNotificationEvent build()| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent |
|
buildPartial()
public CustomTargetTypeNotificationEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent |
|
clear()
public CustomTargetTypeNotificationEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
|
clearCustomTargetType()
public CustomTargetTypeNotificationEvent.Builder clearCustomTargetType() The name of the CustomTargetType.
string custom_target_type = 2;
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
clearCustomTargetTypeUid()
public CustomTargetTypeNotificationEvent.Builder clearCustomTargetTypeUid() Unique identifier of the CustomTargetType.
string custom_target_type_uid = 4;
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
clearMessage()
public CustomTargetTypeNotificationEvent.Builder clearMessage()Debug message for when a notification fails to send.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
clearType()
public CustomTargetTypeNotificationEvent.Builder clearType()Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
getCustomTargetType()
public String getCustomTargetType() The name of the CustomTargetType.
string custom_target_type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The customTargetType. |
getCustomTargetTypeBytes()
public ByteString getCustomTargetTypeBytes() The name of the CustomTargetType.
string custom_target_type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customTargetType. |
getCustomTargetTypeUid()
public String getCustomTargetTypeUid() Unique identifier of the CustomTargetType.
string custom_target_type_uid = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The customTargetTypeUid. |
getCustomTargetTypeUidBytes()
public ByteString getCustomTargetTypeUidBytes() Unique identifier of the CustomTargetType.
string custom_target_type_uid = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customTargetTypeUid. |
getDefaultInstanceForType()
public CustomTargetTypeNotificationEvent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public String getMessage()Debug message for when a notification fails to send.
string message = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()Debug message for when a notification fails to send.
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 = 3;
| 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 = 3;
| 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(CustomTargetTypeNotificationEvent other)
public CustomTargetTypeNotificationEvent.Builder mergeFrom(CustomTargetTypeNotificationEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
CustomTargetTypeNotificationEvent |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomTargetTypeNotificationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CustomTargetTypeNotificationEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
|
setCustomTargetType(String value)
public CustomTargetTypeNotificationEvent.Builder setCustomTargetType(String value) The name of the CustomTargetType.
string custom_target_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe customTargetType to set. |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
setCustomTargetTypeBytes(ByteString value)
public CustomTargetTypeNotificationEvent.Builder setCustomTargetTypeBytes(ByteString value) The name of the CustomTargetType.
string custom_target_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for customTargetType to set. |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
setCustomTargetTypeUid(String value)
public CustomTargetTypeNotificationEvent.Builder setCustomTargetTypeUid(String value) Unique identifier of the CustomTargetType.
string custom_target_type_uid = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe customTargetTypeUid to set. |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
setCustomTargetTypeUidBytes(ByteString value)
public CustomTargetTypeNotificationEvent.Builder setCustomTargetTypeUidBytes(ByteString value) Unique identifier of the CustomTargetType.
string custom_target_type_uid = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for customTargetTypeUid to set. |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
setMessage(String value)
public CustomTargetTypeNotificationEvent.Builder setMessage(String value)Debug message for when a notification fails to send.
string message = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public CustomTargetTypeNotificationEvent.Builder setMessageBytes(ByteString value)Debug message for when a notification fails to send.
string message = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
setType(Type value)
public CustomTargetTypeNotificationEvent.Builder setType(Type value)Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |
setTypeValue(int value)
public CustomTargetTypeNotificationEvent.Builder setTypeValue(int value)Type of this notification, e.g. for a Pub/Sub failure.
.google.cloud.deploy.v1.Type type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
CustomTargetTypeNotificationEvent.Builder |
This builder for chaining. |