public final class TargetNotificationEvent extends GeneratedMessageV3 implements TargetNotificationEventOrBuilder
Payload proto for "clouddeploy.googleapis.com/target_notification"
Platform Log event that describes the failure to send target status change
Pub/Sub notification.
Protobuf type google.cloud.deploy.v1.TargetNotificationEvent
Static Fields
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TargetNotificationEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TargetNotificationEvent.Builder newBuilder()
Returns
newBuilder(TargetNotificationEvent prototype)
public static TargetNotificationEvent.Builder newBuilder(TargetNotificationEvent prototype)
Parameter
Returns
public static TargetNotificationEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TargetNotificationEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TargetNotificationEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TargetNotificationEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TargetNotificationEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TargetNotificationEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetNotificationEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TargetNotificationEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TargetNotificationEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TargetNotificationEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TargetNotificationEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TargetNotificationEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TargetNotificationEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TargetNotificationEvent getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<TargetNotificationEvent> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTarget()
public String getTarget()
The name of the Target
.
string target = 2;
Returns
Type | Description |
String | The target.
|
getTargetBytes()
public ByteString getTargetBytes()
The name of the Target
.
string target = 2;
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TargetNotificationEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TargetNotificationEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TargetNotificationEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions