Interface TopicOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Topic, Topic.Builder

    public interface TopicOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         The name of the topic.
         Structured like:
         projects/{project_number}/locations/{location}/topics/{topic_id}
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the topic.
         Structured like:
         projects/{project_number}/locations/{location}/topics/{topic_id}
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasPartitionConfig

        boolean hasPartitionConfig()
         The settings for this topic's partitions.
         
        .google.cloud.pubsublite.v1.Topic.PartitionConfig partition_config = 2;
        Returns:
        Whether the partitionConfig field is set.
      • getPartitionConfig

        Topic.PartitionConfig getPartitionConfig()
         The settings for this topic's partitions.
         
        .google.cloud.pubsublite.v1.Topic.PartitionConfig partition_config = 2;
        Returns:
        The partitionConfig.
      • getPartitionConfigOrBuilder

        Topic.PartitionConfigOrBuilder getPartitionConfigOrBuilder()
         The settings for this topic's partitions.
         
        .google.cloud.pubsublite.v1.Topic.PartitionConfig partition_config = 2;
      • hasRetentionConfig

        boolean hasRetentionConfig()
         The settings for this topic's message retention.
         
        .google.cloud.pubsublite.v1.Topic.RetentionConfig retention_config = 3;
        Returns:
        Whether the retentionConfig field is set.
      • getRetentionConfig

        Topic.RetentionConfig getRetentionConfig()
         The settings for this topic's message retention.
         
        .google.cloud.pubsublite.v1.Topic.RetentionConfig retention_config = 3;
        Returns:
        The retentionConfig.
      • getRetentionConfigOrBuilder

        Topic.RetentionConfigOrBuilder getRetentionConfigOrBuilder()
         The settings for this topic's message retention.
         
        .google.cloud.pubsublite.v1.Topic.RetentionConfig retention_config = 3;
      • hasReservationConfig

        boolean hasReservationConfig()
         The settings for this topic's Reservation usage.
         
        .google.cloud.pubsublite.v1.Topic.ReservationConfig reservation_config = 4;
        Returns:
        Whether the reservationConfig field is set.
      • getReservationConfig

        Topic.ReservationConfig getReservationConfig()
         The settings for this topic's Reservation usage.
         
        .google.cloud.pubsublite.v1.Topic.ReservationConfig reservation_config = 4;
        Returns:
        The reservationConfig.
      • getReservationConfigOrBuilder

        Topic.ReservationConfigOrBuilder getReservationConfigOrBuilder()
         The settings for this topic's Reservation usage.
         
        .google.cloud.pubsublite.v1.Topic.ReservationConfig reservation_config = 4;