Class CustomTargetTypeNotificationEvent.Builder (1.46.0)

public static final class CustomTargetTypeNotificationEvent.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomTargetTypeNotificationEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomTargetTypeNotificationEvent.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public CustomTargetTypeNotificationEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CustomTargetTypeNotificationEvent.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomTargetTypeNotificationEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CustomTargetTypeNotificationEvent.Builder
Overrides

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.

clone()

public CustomTargetTypeNotificationEvent.Builder clone()
Returns
Type Description
CustomTargetTypeNotificationEvent.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CustomTargetTypeNotificationEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CustomTargetTypeNotificationEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomTargetTypeNotificationEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomTargetTypeNotificationEvent.Builder
Overrides

setCustomTargetType(String value)

public CustomTargetTypeNotificationEvent.Builder setCustomTargetType(String value)

The name of the CustomTargetType.

string custom_target_type = 2;

Parameter
Name Description
value String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for customTargetTypeUid to set.

Returns
Type Description
CustomTargetTypeNotificationEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CustomTargetTypeNotificationEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomTargetTypeNotificationEvent.Builder
Overrides

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 String

The 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 ByteString

The bytes for message to set.

Returns
Type Description
CustomTargetTypeNotificationEvent.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CustomTargetTypeNotificationEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CustomTargetTypeNotificationEvent.Builder
Overrides

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 Type

The 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 int

The enum numeric value on the wire for type to set.

Returns
Type Description
CustomTargetTypeNotificationEvent.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomTargetTypeNotificationEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomTargetTypeNotificationEvent.Builder
Overrides