hash = (53 * hash) + getOwner().hashCode();
/** * Check if the user is this table snapshot's owner * @param snapshot the table snapshot description * @param user the user * @return true if the user is the owner of the snapshot, * false otherwise or the snapshot owner field is not present. */ public static boolean isSnapshotOwner(final SnapshotDescription snapshot, final User user) { if (user == null) return false; if (!snapshot.hasOwner()) return false; return snapshot.getOwner().equals(user.getShortName()); } }
hash = (53 * hash) + getOwner().hashCode();
hash = (53 * hash) + getOwner().hashCode();
hash = (53 * hash) + getOwner().hashCode();
/** * <code>optional string owner = 6;</code> */ public Builder clearOwner() { bitField0_ = (bitField0_ & ~0x00000020); owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /**
/** * <code>optional string owner = 6;</code> */ public Builder clearOwner() { bitField0_ = (bitField0_ & ~0x00000020); owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /**
/** * <code>optional string owner = 6;</code> */ public Builder clearOwner() { bitField0_ = (bitField0_ & ~0x00000020); owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /**
/** * <code>optional string owner = 6;</code> */ public Builder clearOwner() { bitField0_ = (bitField0_ & ~0x00000020); owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /**