Interface UpdateSnapshotRequestOrBuilder (1.133.1)

public interface UpdateSnapshotRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSnapshot()

public abstract Snapshot getSnapshot()

Required. The updated snapshot object.

.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Snapshot

The snapshot.

getSnapshotOrBuilder()

public abstract SnapshotOrBuilder getSnapshotOrBuilder()

Required. The updated snapshot object.

.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SnapshotOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.

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

Returns
Type Description
FieldMaskOrBuilder

hasSnapshot()

public abstract boolean hasSnapshot()

Required. The updated snapshot object.

.google.pubsub.v1.Snapshot snapshot = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the snapshot field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.

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

Returns
Type Description
boolean

Whether the updateMask field is set.