All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.eventarc.publishing.v1.PublishEventsRequestOrBuilder Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/eventarc/publishing/v1/publisher.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.eventarc.publishing.v1;

public interface PublishEventsRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.eventarc.publishing.v1.PublishEventsRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The full name of the channel to publish to. For example:
   * `projects/{project}/locations/{location}/channels/{channel-id}`.
   * 
* * string channel = 1; * * @return The channel. */ java.lang.String getChannel(); /** * * *
   * The full name of the channel to publish to. For example:
   * `projects/{project}/locations/{location}/channels/{channel-id}`.
   * 
* * string channel = 1; * * @return The bytes for channel. */ com.google.protobuf.ByteString getChannelBytes(); /** * * *
   * 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; */ java.util.List 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; */ 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; */ 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; */ java.util.List 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; */ com.google.protobuf.AnyOrBuilder getEventsOrBuilder(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; * * @return A list containing the textEvents. */ java.util.List 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; * * @return The count of textEvents. */ 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; * * @param index The index of the element to return. * @return The textEvents at the given index. */ java.lang.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; * * @param index The index of the value to return. * @return The bytes of the textEvents at the given index. */ com.google.protobuf.ByteString getTextEventsBytes(int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy