Interface PublishChannelConnectionEventsRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getChannelConnection()
      The channel_connection that the events are published from.
      com.google.protobuf.ByteString getChannelConnectionBytes()
      The channel_connection that the events are published from.
      com.google.protobuf.Any getEvents​(int index)
      The CloudEvents v1.0 events to publish.
      int getEventsCount()
      The CloudEvents v1.0 events to publish.
      List<com.google.protobuf.Any> getEventsList()
      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> getEventsOrBuilderList()
      The CloudEvents v1.0 events to publish.
      String 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 getTextEventsCount()
      The text representation of events to publish.
      List<String> getTextEventsList()
      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 Detail

      • 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.