com.google.cloud.eventarc.publishing.v1.PublishRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-eventarc-publishing-v1 Show documentation
Show all versions of proto-google-cloud-eventarc-publishing-v1 Show documentation
Proto library for google-cloud-eventarc-publishing
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 PublishRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.eventarc.publishing.v1.PublishRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The full name of the message bus to publish events to. Format:
* `projects/{project}/locations/{location}/messageBuses/{messageBus}`.
*
*
* string message_bus = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The messageBus.
*/
java.lang.String getMessageBus();
/**
*
*
*
* Required. The full name of the message bus to publish events to. Format:
* `projects/{project}/locations/{location}/messageBuses/{messageBus}`.
*
*
* string message_bus = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for messageBus.
*/
com.google.protobuf.ByteString getMessageBusBytes();
/**
*
*
*
* The Protobuf format of the CloudEvent being published. Specification can
* be found here:
* https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/protobuf-format.md
*
*
* .google.cloud.eventarc.publishing.v1.CloudEvent proto_message = 2;
*
* @return Whether the protoMessage field is set.
*/
boolean hasProtoMessage();
/**
*
*
*
* The Protobuf format of the CloudEvent being published. Specification can
* be found here:
* https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/protobuf-format.md
*
*
* .google.cloud.eventarc.publishing.v1.CloudEvent proto_message = 2;
*
* @return The protoMessage.
*/
com.google.cloud.eventarc.publishing.v1.CloudEvent getProtoMessage();
/**
*
*
*
* The Protobuf format of the CloudEvent being published. Specification can
* be found here:
* https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/protobuf-format.md
*
*
* .google.cloud.eventarc.publishing.v1.CloudEvent proto_message = 2;
*/
com.google.cloud.eventarc.publishing.v1.CloudEventOrBuilder getProtoMessageOrBuilder();
/**
*
*
*
* The JSON format of the CloudEvent being published. Specification can be
* found here:
* https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
*
*
* string json_message = 3;
*
* @return Whether the jsonMessage field is set.
*/
boolean hasJsonMessage();
/**
*
*
*
* The JSON format of the CloudEvent being published. Specification can be
* found here:
* https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
*
*
* string json_message = 3;
*
* @return The jsonMessage.
*/
java.lang.String getJsonMessage();
/**
*
*
*
* The JSON format of the CloudEvent being published. Specification can be
* found here:
* https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
*
*
* string json_message = 3;
*
* @return The bytes for jsonMessage.
*/
com.google.protobuf.ByteString getJsonMessageBytes();
/**
*
*
*
* The Avro format of the CloudEvent being published. Specification can
* be found here:
* https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md
*
*
* bytes avro_message = 4;
*
* @return Whether the avroMessage field is set.
*/
boolean hasAvroMessage();
/**
*
*
*
* The Avro format of the CloudEvent being published. Specification can
* be found here:
* https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md
*
*
* bytes avro_message = 4;
*
* @return The avroMessage.
*/
com.google.protobuf.ByteString getAvroMessage();
com.google.cloud.eventarc.publishing.v1.PublishRequest.FormatCase getFormatCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy