Interface PublishEventsRequestOrBuilder (0.4.0)

public interface PublishEventsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChannel()

public abstract String getChannel()

The full name of the channel to publish to. For example: projects/{project}/locations/{location}/channels/{channel-id}.

string channel = 1;

Returns
TypeDescription
String

The channel.

getChannelBytes()

public abstract ByteString getChannelBytes()

The full name of the channel to publish to. For example: projects/{project}/locations/{location}/channels/{channel-id}.

string channel = 1;

Returns
TypeDescription
ByteString

The bytes for channel.

getEvents(int index)

public abstract Any getEvents(int index)

The CloudEvents v1.0 events to publish. No other types are allowed.

repeated .google.protobuf.Any events = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Any

getEventsCount()

public abstract int getEventsCount()

The CloudEvents v1.0 events to publish. No other types are allowed.

repeated .google.protobuf.Any events = 2;

Returns
TypeDescription
int

getEventsList()

public abstract List<Any> getEventsList()

The CloudEvents v1.0 events to publish. No other types are allowed.

repeated .google.protobuf.Any events = 2;

Returns
TypeDescription
List<Any>

getEventsOrBuilder(int index)

public abstract AnyOrBuilder getEventsOrBuilder(int index)

The CloudEvents v1.0 events to publish. No other types are allowed.

repeated .google.protobuf.Any events = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnyOrBuilder

getEventsOrBuilderList()

public abstract List<? extends AnyOrBuilder> getEventsOrBuilderList()

The CloudEvents v1.0 events to publish. No other types are allowed.

repeated .google.protobuf.Any events = 2;

Returns
TypeDescription
List<? extends com.google.protobuf.AnyOrBuilder>