Interface UpdateSnapshotRequestOrBuilder (1.121.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasSnapshot()

public abstract boolean hasSnapshot()

Required. The updated snapshot object.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.