Interface PublishChannelConnectionEventsRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PublishChannelConnectionEventsRequest, PublishChannelConnectionEventsRequest.Builder

@Generated public interface PublishChannelConnectionEventsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The channel_connection that the events are published from.
    com.google.protobuf.ByteString
    The channel_connection that the events are published from.
    com.google.protobuf.Any
    getEvents(int index)
    The CloudEvents v1.0 events to publish.
    int
    The CloudEvents v1.0 events to publish.
    List<com.google.protobuf.Any>
    The CloudEvents v1.0 events to publish.
    com.google.protobuf.AnyOrBuilder
    getEventsOrBuilder(int index)
    The CloudEvents v1.0 events to publish.
    List<? extends com.google.protobuf.AnyOrBuilder>
    The CloudEvents v1.0 events to publish.
    getTextEvents(int index)
    The text representation of events to publish.
    com.google.protobuf.ByteString
    getTextEventsBytes(int index)
    The text representation of events to publish.
    int
    The text representation of events to publish.
    The text representation of events to publish.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getChannelConnection

      String getChannelConnection()
       The channel_connection that the events are published from. For example:
       `projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}`.
       
      string channel_connection = 1;
      Returns:
      The channelConnection.
    • getChannelConnectionBytes

      com.google.protobuf.ByteString getChannelConnectionBytes()
       The channel_connection that the events are published from. For example:
       `projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}`.
       
      string channel_connection = 1;
      Returns:
      The bytes for channelConnection.
    • getEventsList

      List<com.google.protobuf.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;
    • getEvents

      com.google.protobuf.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;
    • getEventsCount

      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;
    • getEventsOrBuilderList

      List<? extends com.google.protobuf.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;
    • getEventsOrBuilder

      com.google.protobuf.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;
    • getTextEventsList

      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;
      Returns:
      A list containing the textEvents.
    • getTextEventsCount

      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;
      Returns:
      The count of textEvents.
    • getTextEvents

      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;
      Parameters:
      index - The index of the element to return.
      Returns:
      The textEvents at the given index.
    • getTextEventsBytes

      com.google.protobuf.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;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the textEvents at the given index.