- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
public interface PublishEventsRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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;
Type | Description |
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;
Type | Description |
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.
If this field is set, then the text_events
fields must not be set.
repeated .google.protobuf.Any events = 2;
Name | Description |
index | int |
Type | Description |
Any |
getEventsCount()
public abstract int getEventsCount()
The CloudEvents v1.0 events to publish. No other types are allowed.
If this field is set, then the text_events
fields must not be set.
repeated .google.protobuf.Any events = 2;
Type | Description |
int |
getEventsList()
public abstract List<Any> getEventsList()
The CloudEvents v1.0 events to publish. No other types are allowed.
If this field is set, then the text_events
fields must not be set.
repeated .google.protobuf.Any events = 2;
Type | Description |
List<Any> |
getEventsOrBuilder(int index)
public abstract AnyOrBuilder getEventsOrBuilder(int index)
The CloudEvents v1.0 events to publish. No other types are allowed.
If this field is set, then the text_events
fields must not be set.
repeated .google.protobuf.Any events = 2;
Name | Description |
index | int |
Type | Description |
AnyOrBuilder |
getEventsOrBuilderList()
public abstract List<? extends AnyOrBuilder> getEventsOrBuilderList()
The CloudEvents v1.0 events to publish. No other types are allowed.
If this field is set, then the text_events
fields must not be set.
repeated .google.protobuf.Any events = 2;
Type | Description |
List<? extends com.google.protobuf.AnyOrBuilder> |
getTextEvents(int index)
public abstract String getTextEvents(int index)
The text representation of events to publish.
CloudEvent v1.0 in JSON format is the only allowed type. Refer to
https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
for specification.
If this field is set, then the events
fields must not be set.
repeated string text_events = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The textEvents at the given index. |
getTextEventsBytes(int index)
public abstract ByteString getTextEventsBytes(int index)
The text representation of events to publish.
CloudEvent v1.0 in JSON format is the only allowed type. Refer to
https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
for specification.
If this field is set, then the events
fields must not be set.
repeated string text_events = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the textEvents at the given index. |
getTextEventsCount()
public abstract int getTextEventsCount()
The text representation of events to publish.
CloudEvent v1.0 in JSON format is the only allowed type. Refer to
https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
for specification.
If this field is set, then the events
fields must not be set.
repeated string text_events = 3;
Type | Description |
int | The count of textEvents. |
getTextEventsList()
public abstract List<String> getTextEventsList()
The text representation of events to publish.
CloudEvent v1.0 in JSON format is the only allowed type. Refer to
https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
for specification.
If this field is set, then the events
fields must not be set.
repeated string text_events = 3;
Type | Description |
List<String> | A list containing the textEvents. |