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

com.google.pubsub.v1.TopicOrBuilder 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 TopicOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.pubsub.v1.Topic)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * The name of the topic. It must have the format
   * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
   * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
   * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
   * signs (`%`). It must be between 3 and 255 characters in length, and it
   * must not start with `"goog"`.
   * 
* * string name = 1; */ java.lang.String getName(); /** *
   * The name of the topic. It must have the format
   * `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter,
   * and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
   * underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
   * signs (`%`). It must be between 3 and 255 characters in length, and it
   * must not start with `"goog"`.
   * 
* * string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** *
   * User labels.
   * 
* * map<string, string> labels = 2; */ int getLabelsCount(); /** *
   * User labels.
   * 
* * map<string, string> labels = 2; */ boolean containsLabels( java.lang.String key); /** * Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** *
   * User labels.
   * 
* * map<string, string> labels = 2; */ java.util.Map getLabelsMap(); /** *
   * User labels.
   * 
* * map<string, string> labels = 2; */ java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
   * User labels.
   * 
* * map<string, string> labels = 2; */ java.lang.String getLabelsOrThrow( java.lang.String key); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy