public interface TopicOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getName()
public abstract String getName()
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getPartitionConfig()
public abstract Topic.PartitionConfig getPartitionConfig()
The settings for this topic's partitions.
.google.cloud.pubsublite.v1.Topic.PartitionConfig partition_config = 2;
Type | Description |
Topic.PartitionConfig | The partitionConfig. |
getPartitionConfigOrBuilder()
public abstract Topic.PartitionConfigOrBuilder getPartitionConfigOrBuilder()
The settings for this topic's partitions.
.google.cloud.pubsublite.v1.Topic.PartitionConfig partition_config = 2;
Type | Description |
Topic.PartitionConfigOrBuilder |
getReservationConfig()
public abstract Topic.ReservationConfig getReservationConfig()
The settings for this topic's Reservation usage.
.google.cloud.pubsublite.v1.Topic.ReservationConfig reservation_config = 4;
Type | Description |
Topic.ReservationConfig | The reservationConfig. |
getReservationConfigOrBuilder()
public abstract Topic.ReservationConfigOrBuilder getReservationConfigOrBuilder()
The settings for this topic's Reservation usage.
.google.cloud.pubsublite.v1.Topic.ReservationConfig reservation_config = 4;
Type | Description |
Topic.ReservationConfigOrBuilder |
getRetentionConfig()
public abstract Topic.RetentionConfig getRetentionConfig()
The settings for this topic's message retention.
.google.cloud.pubsublite.v1.Topic.RetentionConfig retention_config = 3;
Type | Description |
Topic.RetentionConfig | The retentionConfig. |
getRetentionConfigOrBuilder()
public abstract Topic.RetentionConfigOrBuilder getRetentionConfigOrBuilder()
The settings for this topic's message retention.
.google.cloud.pubsublite.v1.Topic.RetentionConfig retention_config = 3;
Type | Description |
Topic.RetentionConfigOrBuilder |
hasPartitionConfig()
public abstract boolean hasPartitionConfig()
The settings for this topic's partitions.
.google.cloud.pubsublite.v1.Topic.PartitionConfig partition_config = 2;
Type | Description |
boolean | Whether the partitionConfig field is set. |
hasReservationConfig()
public abstract boolean hasReservationConfig()
The settings for this topic's Reservation usage.
.google.cloud.pubsublite.v1.Topic.ReservationConfig reservation_config = 4;
Type | Description |
boolean | Whether the reservationConfig field is set. |
hasRetentionConfig()
public abstract boolean hasRetentionConfig()
The settings for this topic's message retention.
.google.cloud.pubsublite.v1.Topic.RetentionConfig retention_config = 3;
Type | Description |
boolean | Whether the retentionConfig field is set. |