Class ChannelEventData (0.15.0)

public final class ChannelEventData extends GeneratedMessageV3 implements ChannelEventDataOrBuilder

The data within all Channel events.

Protobuf type google.events.cloud.eventarc.v1.ChannelEventData

Static Fields

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ChannelEventData getDefaultInstance()
Returns
Type Description
ChannelEventData

getDescriptor()

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

newBuilder()

public static ChannelEventData.Builder newBuilder()
Returns
Type Description
ChannelEventData.Builder

newBuilder(ChannelEventData prototype)

public static ChannelEventData.Builder newBuilder(ChannelEventData prototype)
Parameter
Name Description
prototype ChannelEventData
Returns
Type Description
ChannelEventData.Builder

parseDelimitedFrom(InputStream input)

public static ChannelEventData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChannelEventData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelEventData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ChannelEventData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ChannelEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ChannelEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ChannelEventData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ChannelEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ChannelEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ChannelEventData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ChannelEventData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ChannelEventData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChannelEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelEventData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ChannelEventData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ChannelEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ChannelEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelEventData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ChannelEventData> parser()
Returns
Type Description
Parser<ChannelEventData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ChannelEventData getDefaultInstanceForType()
Returns
Type Description
ChannelEventData

getParserForType()

public Parser<ChannelEventData> getParserForType()
Returns
Type Description
Parser<ChannelEventData>
Overrides

getPayload()

public Channel getPayload()

The Channel event payload.

.google.events.cloud.eventarc.v1.Channel payload = 1;

Returns
Type Description
Channel

The payload.

getPayloadOrBuilder()

public ChannelOrBuilder getPayloadOrBuilder()

The Channel event payload.

.google.events.cloud.eventarc.v1.Channel payload = 1;

Returns
Type Description
ChannelOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasPayload()

public boolean hasPayload()

The Channel event payload.

.google.events.cloud.eventarc.v1.Channel payload = 1;

Returns
Type Description
boolean

Whether the payload field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ChannelEventData.Builder newBuilderForType()
Returns
Type Description
ChannelEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ChannelEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ChannelEventData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ChannelEventData.Builder toBuilder()
Returns
Type Description
ChannelEventData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException