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

com.google.pubsub.v1.PubsubMessageOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.114.2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto

package com.google.pubsub.v1;

public interface PubsubMessageOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.pubsub.v1.PubsubMessage)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * The message payload. For JSON requests, the value of this field must be
   * [base64-encoded](https://tools.ietf.org/html/rfc4648).
   * 
* * optional bytes data = 1; */ com.google.protobuf.ByteString getData(); /** *
   * Optional attributes for this message.
   * 
* * map<string, string> attributes = 2; */ int getAttributesCount(); /** *
   * Optional attributes for this message.
   * 
* * map<string, string> attributes = 2; */ boolean containsAttributes( java.lang.String key); /** * Use {@link #getAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map getAttributes(); /** *
   * Optional attributes for this message.
   * 
* * map<string, string> attributes = 2; */ java.util.Map getAttributesMap(); /** *
   * Optional attributes for this message.
   * 
* * map<string, string> attributes = 2; */ java.lang.String getAttributesOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
   * Optional attributes for this message.
   * 
* * map<string, string> attributes = 2; */ java.lang.String getAttributesOrThrow( java.lang.String key); /** *
   * ID of this message, assigned by the server when the message is published.
   * Guaranteed to be unique within the topic. This value may be read by a
   * subscriber that receives a `PubsubMessage` via a `Pull` call or a push
   * delivery. It must not be populated by the publisher in a `Publish` call.
   * 
* * optional string message_id = 3; */ java.lang.String getMessageId(); /** *
   * ID of this message, assigned by the server when the message is published.
   * Guaranteed to be unique within the topic. This value may be read by a
   * subscriber that receives a `PubsubMessage` via a `Pull` call or a push
   * delivery. It must not be populated by the publisher in a `Publish` call.
   * 
* * optional string message_id = 3; */ com.google.protobuf.ByteString getMessageIdBytes(); /** *
   * The time at which the message was published, populated by the server when
   * it receives the `Publish` call. It must not be populated by the
   * publisher in a `Publish` call.
   * 
* * optional .google.protobuf.Timestamp publish_time = 4; */ boolean hasPublishTime(); /** *
   * The time at which the message was published, populated by the server when
   * it receives the `Publish` call. It must not be populated by the
   * publisher in a `Publish` call.
   * 
* * optional .google.protobuf.Timestamp publish_time = 4; */ com.google.protobuf.Timestamp getPublishTime(); /** *
   * The time at which the message was published, populated by the server when
   * it receives the `Publish` call. It must not be populated by the
   * publisher in a `Publish` call.
   * 
* * optional .google.protobuf.Timestamp publish_time = 4; */ com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy