/** * * * <pre> * The name of the snapshot to get. * Format is `projects/{project}/snapshots/{snap}`. * </pre> * * <code>string snapshot = 1;</code> */ public Builder setSnapshot(java.lang.String value) { if (value == null) { throw new NullPointerException(); } snapshot_ = value; onChanged(); return this; } /**
/** * * * <pre> * The name of the snapshot to get. * Format is `projects/{project}/snapshots/{snap}`. * </pre> * * <code>string snapshot = 1;</code> */ public Builder setSnapshotBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); snapshot_ = value; onChanged(); return this; }
public Builder mergeFrom(com.google.pubsub.v1.GetSnapshotRequest other) { if (other == com.google.pubsub.v1.GetSnapshotRequest.getDefaultInstance()) return this; if (!other.getSnapshot().isEmpty()) { snapshot_ = other.snapshot_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The name of the snapshot to get. * Format is `projects/{project}/snapshots/{snap}`. * </pre> * * <code>string snapshot = 1;</code> */ public Builder setSnapshot(java.lang.String value) { if (value == null) { throw new NullPointerException(); } snapshot_ = value; onChanged(); return this; } /**
/** * * * <pre> * The name of the snapshot to get. * Format is `projects/{project}/snapshots/{snap}`. * </pre> * * <code>string snapshot = 1;</code> */ public Builder setSnapshotBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); snapshot_ = value; onChanged(); return this; }
/** * * * <pre> * The name of the snapshot to get. * Format is `projects/{project}/snapshots/{snap}`. * </pre> * * <code>string snapshot = 1;</code> */ public Builder clearSnapshot() { snapshot_ = getDefaultInstance().getSnapshot(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.pubsub.v1.GetSnapshotRequest other) { if (other == com.google.pubsub.v1.GetSnapshotRequest.getDefaultInstance()) return this; if (!other.getSnapshot().isEmpty()) { snapshot_ = other.snapshot_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The name of the snapshot to get. * Format is `projects/{project}/snapshots/{snap}`. * </pre> * * <code>string snapshot = 1;</code> */ public Builder clearSnapshot() { snapshot_ = getDefaultInstance().getSnapshot(); onChanged(); return this; } /**