Interface UpdateTopicRequestOrBuilder (1.115.5)

public interface UpdateTopicRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTopic()

public abstract Topic getTopic()

Required. The updated topic object.

.google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Topic

The topic.

getTopicOrBuilder()

public abstract TopicOrBuilder getTopicOrBuilder()

Required. The updated topic object.

.google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TopicOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. Indicates which fields in the provided topic to update. Must be specified and non-empty. Note that if update_mask contains "message_storage_policy" but the message_storage_policy is not set in the topic provided above, then the updated value is determined by the policy configured at the project or organization level.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Indicates which fields in the provided topic to update. Must be specified and non-empty. Note that if update_mask contains "message_storage_policy" but the message_storage_policy is not set in the topic provided above, then the updated value is determined by the policy configured at the project or organization level.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasTopic()

public abstract boolean hasTopic()

Required. The updated topic object.

.google.pubsub.v1.Topic topic = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the topic field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. Indicates which fields in the provided topic to update. Must be specified and non-empty. Note that if update_mask contains "message_storage_policy" but the message_storage_policy is not set in the topic provided above, then the updated value is determined by the policy configured at the project or organization level.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.